mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
bfe3d48c65
* docs: document Mixpanel data residency region option * docs: wrap translated Data residency headings with anchor divs * docs: fix passive voice in Mixpanel data residency section Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
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).
|
|
|
|
## Data residency
|
|
|
|
If your Mixpanel project uses EU or India data residency, set `region` so Mintlify sends events directly to the matching Mixpanel ingestion host. Omit `region` to use the default US host.
|
|
|
|
```json Mixpanel with EU data residency
|
|
"integrations": {
|
|
"mixpanel": {
|
|
"projectToken": "YOUR_MIXPANEL_PROJECT_TOKEN",
|
|
"region": "eu"
|
|
}
|
|
}
|
|
```
|
|
|
|
Supported values:
|
|
|
|
- `us` (default): `api.mixpanel.com`
|
|
- `eu`: `api-eu.mixpanel.com`
|
|
- `in`: `api-in.mixpanel.com`
|
|
|
|
Set this to match your Mixpanel project's data residency region. If the host doesn't match your project's region, Mixpanel drops the events.
|
|
|
|
## 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.
|