Skip to content

Commit f761490

Browse files
Add docs re Mixpanel EU Endpoint Support (#508)
* Add docs re Mixpanel EU Endpoint Support * Update src/connections/destinations/catalog/mixpanel/index.md Co-Authored-By: LRubin <[email protected]> Co-authored-by: LRubin <[email protected]>
1 parent b313263 commit f761490

File tree

1 file changed

+16
-0
lines changed
  • src/connections/destinations/catalog/mixpanel

1 file changed

+16
-0
lines changed

src/connections/destinations/catalog/mixpanel/index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,22 @@ analytics.track(user_id=user.id,
376376

377377
Please provide `context.ip` to all your [`identify`](/docs/connections/spec/identify/), [`track`](/docs/connections/spec/track/), and [`alias`](/docs/connections/spec/alias/) calls to make sure Mixpanel doesn't geo-locate your users.
378378

379+
### Sending data to Mixpanel's European Union Endpoint
380+
381+
If you'd like to implement Mixpanel in the European Union you will need to enable the setting "Enable European Union Enpoint" within the Mixpanel settings in the app. When this setting is enabled, Segment will automatically update the endpoint for any data sent from one of our server-side libraries or from a browser using Analytics.js or the iOS SDK.
382+
383+
If you are sending data using our Android SDK, you will need to specify the different endpoints using meta-data tags. On your app's `AndroidManifest.xml` file, you need to add the following tags under your `<application>` tags to override the track, engage, and group endpoints:
384+
```xml
385+
<meta-data android:name="com.mixpanel.android.MPConfig.EventsEndpoint"
386+
android:value="https://api-eu.mixpanel.com/track?ip=" />
387+
<meta-data android:name="com.mixpanel.android.MPConfig.PeopleEndpoint"
388+
android:value="https://api-eu.mixpanel.com/engage=" />
389+
<meta-data android:name="com.mixpanel.android.MPConfig.GroupsEndpoint"
390+
android:value="https://api-eu.mixpanel.com/groups" />
391+
```
392+
393+
For additional information regarding Mixpanel's European Union endpoint, please see the [Mixpanel documentation here](https://developer.mixpanel.com/docs/implement-mixpanel#section-implementing-mixpanel-in-the-european-union-eu).
394+
379395
## Troubleshooting
380396

381397
### When Will I See Data from my Mobile App?

0 commit comments

Comments
 (0)