# Mixpanel

> Integrate Mixpanel with your Mintlify documentation site to track product analytics, user behavior funnels, and content engagement events.

Add the following to your `docs.json` file to send analytics to Mixpanel.

```json Analytics options in docs.json theme={null}
"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 theme={null}
"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.

## Related topics

- [Integrations](/guides/manage-your-site-organize-settings-integrations)
- [Analytics integrations](/docs/integrations/analytics/overview.md)
- [How to structure documentation navigation](/docs/guides/navigation.md)

## Related pages

- [Adobe Analytics](./integrations-analytics-adobe.md)
- [Amplitude](./integrations-analytics-amplitude.md)
- [Clarity](./integrations-analytics-clarity.md)
- [Clearbit](./integrations-analytics-clearbit.md)
- [Fathom](./integrations-analytics-fathom.md)
- [Google Analytics 4](./integrations-analytics-google-analytics.md)
- [Google Tag Manager](./integrations-analytics-google-tag-manager.md)
- [Heap](./integrations-analytics-heap.md)
- [Hightouch](./integrations-analytics-hightouch.md)
- [Hotjar](./integrations-analytics-hotjar.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
