diff --git a/integrations/analytics/mixpanel.mdx b/integrations/analytics/mixpanel.mdx index e7b2d036a1..bf2779a00b 100644 --- a/integrations/analytics/mixpanel.mdx +++ b/integrations/analytics/mixpanel.mdx @@ -10,13 +10,20 @@ 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" + "projectToken": "YOUR_MIXPANEL_PROJECT_TOKEN", + "region": "eu" } } ``` 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 + +Use the optional `region` property to send analytics to Mixpanel's regional servers for data residency compliance. Accepted values are `us` (default), `eu`, and `in`. If you omit `region`, analytics are sent to Mixpanel's US servers. + +Set `region` to match the data residency you configured for your Mixpanel project. A mismatch between this value and your project's region prevents events from being recorded. + ## Tracked events Mintlify automatically tracks the following user interactions: