General Data Protection Regulation (GDPR) compliance options

To help app developers comply with General Data Protection Regulation (GDPR), Firebase provides options for you to:

  • Control the collection of Analytics data
  • Define the retention period for Analytics data that you collect
  • Delete Analytics data associated with one or more end users

Disable the collection of Analytics data

You can disable the collection of Analytics data on either a temporary or permanent basis as necessary.

Learn more about the Analytics data that Firebase collects

Learn more about disabling data collection

Set the retention period for the Analytics data that you collect

In Analytics settings, you can choose to retain user data for a maximum of 14 months or to retain data according to Analytics default data-retention policy (page 2).

Delete Analytics data associated with end users

The Google Analytics API lets you add controls to your app so that users can delete Analytics data collected for the app from a specific device, and reset the app-instance ID in the process. Learn more about using resetAnalyticsData on Android and iOS

The API also lets you add controls to your app so that users can determine whether or not any Analytics data is collected from the app on a specific device. Learn more about using setAnalyticsCollectionEnabled on Android and iOS

You can use the Google Analytics API to add controls to your app that 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 article helpful?
How can we improve it?