docs.json file to send analytics to Mixpanel.
Analytics options in docs.json
YOUR_MIXPANEL_PROJECT_TOKEN with your Mixpanel project token. You can find this in your Mixpanel project settings.
Data residency
If your Mixpanel project uses EU or India data residency, setregion so Mintlify sends events directly to the matching Mixpanel ingestion host. Omit region to use the default US host.
Mixpanel with EU data residency
us(default):api.mixpanel.comeu:api-eu.mixpanel.comin:api-in.mixpanel.com
Session replays and heatmaps
Useoptions to pass configuration options to the Mixpanel JavaScript SDK when Mintlify initializes it. For example, to record session replays and collect heatmap data:
Mixpanel with session replays and heatmaps
record_sessions_percent sets the percentage of sessions that Mixpanel records, from 0 to 100. See Mixpanel’s Session Replay documentation for the other recording options.
Tracked events
Mintlify automatically tracks the following user interactions:- Page views
- Search queries
- Feedback submissions
- Context menu interactions
- Navigation clicks