Privacy controls in Google Analytics

Site and/or app owners using Google Analytics and Google Analytics for Firebase (aka “customers”) may find this a useful resource, particularly if they are businesses affected by the European Economic Area’s General Data Protection Regulation (GDPR). 

For additional information, refer to Safeguarding your data.

  In this article:

Disable Analytics data collection (app)

You can programmatically disable data collection from Android and iOS apps that use the

Learn more about the data that Google Analytics and Google Analytics for Firebase collect.

Disable Analytics data collection (web)

You can programmatically disable data collection from 

Users of your website can also opt out from data collection using the Google Analytics opt-out browser add-on.

IP Anonymization

IP anonymization is available in Google Analytics for both web and app. Learn how IP anonymization works.

Web properties

You can anonymize IP addresses for Web properties using

App+Web properties

IP anonymization is automatically enabled for App+Web properties when you

Automatically enabled IP anonymization cannot be disabled. 

Set the retention period for the Analytics data that you collect

You can set the retention period for data you collect from 

14-month event-data retention is still under development for App + Web (beta) properties. At this time, event data may only be retained for 2 months. If you select 14-months event-data retention, this setting will take effect for event data active in the system when the feature becomes available.

User-level Data Access and Portability

For Web properties, you can pull event information for any given user identifier via the User Explorer report or the User Activity API. These features allow you to analyze and export event level data for a single user identifier. In addition, 360 customers can integrate with BigQuery to create a full export of all event data associated with their users in a single queryable repository.

For App + Web properties, the same functionality exists within Analysis. You can pull event information for any given user identifier via the User Explorer report or the User Activity report. These features allow you to analyze and export event level data for a single user identifier. You can also use the User Activity report to delete individual user records. In addition, you can integrate with BigQuery to create a full export of all event data associated with users in a single queryable repository.

Delete end user data stored on a mobile device

The Google Analytics for Firebase SDK lets you add controls to your app so that users can delete Analytics data stored locally on their mobile devices, and reset the app-instance ID in the process. Learn more about using resetAnalyticsData on Android and iOS.

The SDK also lets you control whether or not any Analytics data is collected from the app on a specific device. Learn more about using setAnalyticsCollectionEnabled on Android and iOS.

Delete end user data stored on Analytics servers

You can use the Google Analytics API to honor requests from users to delete data about them from Analytics servers on a per-app, per-device basis. Learn more about the User Deletion API.

Was this helpful?
How can we improve it?