# Mixpanel (/integrations/analytics/mixpanel)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 352 · updated: 2026-07-30 -->
Related: [Analytics integrations](/integrations/analytics/overview.md), [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)

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

```json title="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 [#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 title="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 [#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.
