mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
d9155577de
* fix formatting * explicitly mention what expanded: false does * update mixpanel integratio page * add note that integration IDs depend on provider * add troubleshooting for preview deployments * note page-specific metatags * explain how MCP servers work
30 lines
901 B
Plaintext
30 lines
901 B
Plaintext
---
|
|
title: "Mixpanel"
|
|
description: "Track product analytics and user behavior with Mixpanel."
|
|
keywords: ["Mixpanel integration", "product analytics", "event tracking", "token"]
|
|
---
|
|
|
|
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.
|