Segment
Currently we only support Segment via a custom writeKey in the docs.yml file, however you can add other providers to your docs page through Custom Javascript. We are also working on adding support for additional analytics tools via the docs.yml file analytics block!
Add Segment to your Docs
To add Segment to your Docs, you need to add the Segment writeKey to your docs.yml
file.
Get your Segment writeKey
- Log in to your Segment account.
- Go to the workspace where you want to add the Docs integration.
- Click on the Source you want to track.‘
- Click on the
Settings
tab. - Copy the
Write Key
from theAPI Keys
section.
Add the Segment writeKey to your Docs
In your docs.yml
file, add the Segment writeKey:
docs.yml