Docs
Generate beautiful, interactive documentation websites
Integrate Segment to collect analytics and route user data to your preferred analytics destinations.
In your Segment workspace, navigate to your Source, then go to Settings > API Keys and copy the Write Key.
Add Segment to docs.yml
docs.yml
In your docs.yml file, add the Segment writeKey:
1analytics:2 segment:3 write-key: ${SEGMENT_WRITE_KEY} # scans environment variable