Mixpanel DSR integration
Automate privacy request handling by integrating MineOS with Mixpanel.
Missing an action you need, or an integration we don't support yet? Contact your Customer Success Manager.
This integration automates privacy requests for Mixpanel. MineOS looks up the Mixpanel user profile that matches the requester's email address or distinct ID, then lets you preview, delete or copy it.
To scan Mixpanel for personal data, see Mixpanel data classification integration.
How It Works
- Preview: before MineOS deletes or copies anything, you can preview the profile it found for the requester.
- Delete: MineOS schedules a GDPR deletion task in Mixpanel for the requester. Mixpanel processes deletions in the background, and the task can take up to 30 days to complete.
- Get a copy: MineOS sends the requester a copy of their Mixpanel profile properties.
Choose the right integration type
| Integration type | What it does |
|---|---|
| Mixpanel | Finds the requester by email address. |
| Mixpanel (User ID) | Finds the requester by Mixpanel distinct ID instead of email. |
What MineOS Does in Mixpanel
The integration works with Mixpanel user profiles (Engage API) and Mixpanel's GDPR data deletion API for the project you connect.
-
Finds the requester by:
- Mixpanel: email address — MineOS queries user profiles with
properties["$email"] == "<email>". - Mixpanel (User ID): the requester's Mixpanel distinct ID — MineOS queries the user profile with that
distinct_id.
Both types query the US data center first and retry on the EU data center (
eu.mixpanel.com) if the request fails. - Mixpanel: email address — MineOS queries user profiles with
-
Preview shows: for each profile found,
$distinct_idand$email. -
Delete: MineOS creates a GDPR deletion task (
compliance_typeGDPR) for the distinct ID of the first profile found, then checks the task status until Mixpanel finishes it. The deletion itself is carried out by Mixpanel. -
Get a copy includes: for each profile found, an entry named after its distinct ID with the profile properties returned by the query. MineOS asks Mixpanel only for
$emailanddistinct_id, so other profile properties and events aren't included.
Before You Start
- You need an owner or admin account for the Mixpanel project you want to connect.
Setting Up
The steps below are the same for both types. In step 3 of Step 2, choose Mixpanel (User ID) instead of Mixpanel if your requests identify users by distinct ID.
Step 1: Get your Mixpanel keys
MineOS needs three keys:
- Log in to Mixpanel. Click Settings in the top right corner → your name → Data & Privacy.
- Under GDPR API, click Generate to create an API token, and copy the OAuth Token for GDPR APIs.
- In your personal settings, go to Projects and select the project you want to connect.
- Copy the project's Token and API Secret.
Step 2: Connect in MineOS
- Log in to MineOS. On the left sidebar, click Inventory → Add data source, search for Mixpanel and add it.
- Open the Mixpanel system and go to the DSR & integrations tab. If the system already has an instance, click Add instance.
- Under Action for fulfilling requests, select Integration. In the Integration Type dropdown, select Mixpanel, then click Set up integration.
- In the setup wizard, paste the keys into their fields:
- GDPR API OAuth Token
- Project's token
- Project's API secret
- Click Test your integration so MineOS can verify the keys.
Click Finish. You're done! MineOS has been connected to your Mixpanel project.
Using several integration types together
If some of your Mixpanel users are identified by email address and others only by distinct ID, add both types so MineOS finds the requester either way.
Each integration type is a separate instance of the Mixpanel data source, and you can add all of them to the same workflow:
- On the left sidebar, click Inventory and open the Mixpanel data source.
- Go to the DSR & integrations tab and click Add instance.
- Under Action for fulfilling requests, select Integration. In the Integration Type dropdown, choose the next type (Mixpanel or Mixpanel (User ID)), then click Set up integration and connect it as described in Setting Up.
- Repeat steps 2 and 3 for each integration type you want to use.
- Open the privacy right's Eligibility & workflows tab. Under Data sources to process, click + Add and add each Mixpanel instance. Add both to the workflows of the rights they should handle. The user ID type needs the requester's distinct ID on the request.
When a request comes in, MineOS runs every instance in the workflow and shows each one as a separate line in the request.
Using the Integration in Requests
To handle requests automatically, add the Mixpanel integration to the workflows of the privacy rights it should handle, such as deletion or get a copy.
Need Help?
If you need any help with this integration, please contact your Customer Success Manager. They will be happy to assist you!
Updated 1 minute ago
