docs.json and Mintlify injects the tracking script on every page automatically.
Supported providers
- Product analytics
- Web analytics
- Session recording
- PostHog
- Mixpanel
- Amplitude
- Heap
- Segment (as a source for any downstream destination)
Configuration
All providers are configured inside theintegrations object in docs.json. Each entry uses the provider’s name as the key:
You can configure multiple providers simultaneously. Mintlify loads all of them on every page.
Provider-specific fields
What Mintlify sends to your provider
Mintlify fires these events to connected providers:- Page view — Triggered on every page load, with the current URL.
- Search — Triggered when a reader uses the search bar, including the query string.
- Feedback — Triggered when a reader clicks the thumbs up/down on a page.
- API playground request — Triggered when a reader sends a request from an API playground page.