mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
31 lines
992 B
Plaintext
31 lines
992 B
Plaintext
---
|
|
title: "Mixpanel"
|
|
description: "Integrate Mixpanel with your Mintlify documentation site to track product analytics, user behavior funnels, and content engagement events."
|
|
keywords: ["Mixpanel integration", "product analytics", "event tracking", "token"]
|
|
boost: 3
|
|
---
|
|
|
|
Add the following to your `docs.json` file to send analytics to Mixpanel.
|
|
|
|
```json Analytics options in docs.json
|
|
"integrations": {
|
|
"mixpanel": {
|
|
"projectToken": "YOUR_MIXPANEL_PROJECT_TOKEN"
|
|
}
|
|
}
|
|
```
|
|
|
|
Replace `YOUR_MIXPANEL_PROJECT_TOKEN` with your Mixpanel project token. You can find this in your [Mixpanel project settings](https://mixpanel.com/settings/project).
|
|
|
|
## Tracked events
|
|
|
|
Mintlify automatically tracks the following user interactions:
|
|
|
|
- Page views
|
|
- Search queries
|
|
- Feedback submissions
|
|
- Context menu interactions
|
|
- Navigation clicks
|
|
|
|
If you're not seeing events in Mixpanel, ensure your project token is correct and that no content security policies are blocking the Mixpanel script.
|