Overview
The Segment integration:- Loads the Segment Analytics.js snippet on pages where your TrackPlay video is embedded
- Fires
analytics.track()calls for all key player interactions - Works with every Segment destination. No extra configuration.
Setup Instructions
Step 1: Create a Segment Source
- Log into Segment
- Go to Connections → Sources → Add Source
- Select JavaScript (Browser)
- Copy the Write Key
Step 2: Connect in TrackPlay
- Go to Integrations in your TrackPlay dashboard
- Find Segment and click Connect
- Paste your Write Key
- Click Save. The integration is active immediately.
Events Sent to Segment
Troubleshooting
Events not appearing in Segment
- Verify the Write Key is correct and the source is active
- Check the browser console for Segment analytics.js errors
- Use the Segment Debugger (Connections → your source → Debugger) to monitor incoming events in real time
