Google Analytics DSR integration
Automate privacy request handling by integrating MineOS with Google Analytics.
Missing an action you need, or an integration we don't support yet? Contact your Customer Success Manager.
This integration automates deletion requests for Google Analytics 4. MineOS submits a user deletion request to your GA4 property for the requester, identified by their email address or phone number.
How It Works
- Delete: MineOS asks Google Analytics to delete the data it holds for the requester's email address or phone number. Delete is the only action this integration supports.
Choose the right integration type
| Integration type | How the requester is identified |
|---|---|
| Google Analytics (email) | The requester's email address. |
| Google Analytics (phone) | The requester's phone number. |
If you handle both, connect one integration of each type to the same GA4 property. Google allows 500 user deletions per day per property, shared across both.
What MineOS Does in Google Analytics
MineOS works with your GA4 property through the Google Analytics Admin API's user deletion request. Google offers no way to look up a person by email address or phone number, so MineOS doesn't search, preview or copy anything first.
Google Analytics (email)
- Finds the requester by: email address, sent to Google as user-provided data. MineOS first normalizes it the way Google expects: all spaces removed, lowercased, and for
gmail.comandgooglemail.comaddresses the dots in the part before@removed. Google matches it against the user-provided data your property collected. - Delete: MineOS submits a user deletion request for the email address to your GA4 property. Google deletes the matching data on its side and returns only the time from which the deletion applies, which MineOS shows on the task. Google doesn't say whether it found any data, so the task is marked as completed once the request is accepted.
Google Analytics (phone)
- Finds the requester by: phone number, sent to Google as user-provided data. MineOS first normalizes it to digits only with a leading
+(for example,+1 (555) 010-1234becomes+15550101234). - Delete: MineOS submits a user deletion request for the phone number to your GA4 property. As with the email type, Google returns only the time from which the deletion applies, and the task is marked as completed once the request is accepted.
Before You Start
- Have the numeric ID of your GA4 property ready.
- Make sure you have Admin permissions in Google Analytics, so you can authorize the connection.
- MineOS asks Google for the
analytics.editandanalytics.readonlypermissions when you connect. - Make sure your GA4 property accepts user-provided data. Google can only match an email address or phone number that the property collected.
Setting Up
- Log in to MineOS. On the left sidebar, click Inventory → Data Sources. Click Add Data Source, search for Google Analytics and click Add.
- Open the Google Analytics data source → Integrations tab → Request Handling section → select Integration.
- In the Integration type dropdown, choose Google Analytics (email) or Google Analytics (phone).
- Enter your GA4 property ID in the GA4 property ID field.
- Click Connect and follow the Google prompts to approve the permissions. You return to MineOS when you finish.
- Confirm that the integration shows as connected, then click Save.
Using several integration types together
If you identify Google Analytics users by email address on some properties and by phone number on others, add both types so MineOS covers the requester either way.
Each integration type is a separate instance of the Google Analytics data source, and you can add all of them to the same workflow:
- On the left sidebar, click Inventory and open the Google Analytics 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 (Google Analytics (email) or Google Analytics (phone)), 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 Google Analytics instance. Add both to your deletion workflow. The phone type needs the request to include a phone number.
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 Google Analytics integration to the workflows of the deletion right. Use the email type for requests identified by email address and the phone type for requests identified by phone number.
Troubleshooting
| Message | What to do |
|---|---|
| Property does not accept user-provided data, so it holds nothing that can be matched by email or phone | Turn on user-provided data collection for the GA4 property in Google Analytics, then test again. |
Google refused the request, or the connection predates the analytics.edit permission | Reconnect the integration and approve the permissions, and make sure the Google account can edit the property. |
| Google Analytics property was not found | Check the GA4 property ID. |
| Daily quota for the property reached | Google allows 500 user deletions per day per property. Retry once the quota refills. |
Need Help?
If you need any help with this integration, please contact your Customer Success Manager. They will be happy to assist you!
Updated 4 minutes ago
