Amplitude DSR integration
Automate privacy request handling by integrating MineOS with Amplitude.
Missing an action you need, or an integration we don't support yet? Contact your Customer Success Manager.
This integration automates privacy requests for Amplitude. MineOS uses the requester's Amplitude User ID to start a user deletion job or, for projects that use the Profile API, to preview and copy the user's data.
To scan Amplitude for personal data, see Amplitude data classification integration.
How It Works
- Preview: for the Amplitude US Server (Profile API) type, you can preview the user found for the requester, including the user ID and device ID.
- Delete: MineOS starts a user deletion job in Amplitude for the requester's User ID. Amplitude runs the job on its side and can take up to 30 days, so the task stays in progress until Amplitude finishes.
- Get a copy: for the Amplitude US Server (Profile API) type, MineOS sends the requester a copy of the user's profile data, including its properties and cohorts.
Choose the right integration type
Amplitude has three integration types, based on where your project's data lives. They don't share APIs, so pick the one that matches your project.
| Integration type | What it does |
|---|---|
| Amplitude US Server (Profile API) | Previews, deletes and copies user data. For US projects that use the Profile API. |
| Amplitude US Server | Deletes user data. For other US projects. |
| Amplitude EU Server | Deletes user data. For projects hosted in the EU. |
What MineOS Does in Amplitude
MineOS works with Amplitude users, identified by their user_id, through Amplitude's User Profile API and its user deletion API.
Amplitude US Server (Profile API)
- Finds the requester by: Amplitude User ID — MineOS looks up the
user_idin the User Profile API, including the user's Amplitude properties. If no user is returned, or the user has no Amplitude properties (for example, the user belongs to another project), the requester is treated as not found. - Preview shows:
userIdanddeviceId. - Delete: if the user is found, MineOS creates a user deletion job in Amplitude for that
user_id, with the handling agent's email as the requester. Amplitude deletes the user's data on its side; MineOS checks the job's status until Amplitude reports it asdone. - Get a copy includes: the user's profile from the User Profile API:
user_id,device_id, the Amplitude properties (amp_props) and the cohort IDs (cohort_ids).
Amplitude US Server
- Finds the requester by: Amplitude User ID — the
user_idis sent directly in the deletion request; there is no lookup first. - Delete: MineOS creates a user deletion job in Amplitude (US data center) for that
user_id, with the handling agent's email as the requester, and checks the job's status until Amplitude reports it asdone.
Amplitude EU Server
- Finds the requester by: Amplitude User ID — the
user_idis sent directly in the deletion request; there is no lookup first. - Delete: MineOS creates a user deletion job in Amplitude's EU data center for that
user_id, with the handling agent's email as the requester, and checks the job's status until Amplitude reports it asdone.
Before You Start
- Make sure you have permission to open your Amplitude Project Settings, so you can copy the API key and secret key.
Setting Up
-
Log in to MineOS. On the left sidebar, click Inventory, then click Add data source, search for Amplitude and add it.
-
Open the Amplitude data source and go to the DSR & integrations tab. If the data source already has an integration, click Add instance.
-
Under Action for fulfilling requests, select Integration. In the Integration Type dropdown, choose the type that matches your project, then click Set up integration.
-
In a new tab, log in to Amplitude and go to Settings → Projects, then select your project.
-
Copy the API Key and Secret Key into the matching fields in the Set up integration wizard.
-
Click Finish.
You're done! MineOS has been connected to your Amplitude project.
Using several integration types together
If you have Amplitude projects in more than one setup (for example, a US project that uses the Profile API and a project hosted in the EU), add one instance per project so a request covers all of them.
Each integration type is a separate instance of the Amplitude data source, and you can add all of them to the same workflow:
- On the left sidebar, click Inventory and open the Amplitude 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 (Amplitude US Server (Profile API), Amplitude US Server or Amplitude EU Server), 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 Amplitude instance. Add them to your deletion workflow, and add the Profile API instance to get a copy as well.
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 Amplitude integration to the workflows of the privacy rights it should handle, such as deletion or get a copy.
Amplitude can't look users up by email address, so the request needs the requester's Amplitude User ID. To find it, open the Users dashboard in Amplitude, use User Look-Up, enter email= followed by the requester's email address, and copy the User ID from the result.
Need Help?
If you need any help with this integration, please contact your Customer Success Manager. They will be happy to assist you!
Updated 5 minutes ago
