Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to reset Google Analytics for Firebase?

I figured out how to let Firebase ignore my device from collecting Analytics data, because it distort it a lot. But how is it possible to reset the analytics?

like image 449
Johannes Avatar asked Oct 06 '17 14:10

Johannes


1 Answers

While you cannot reset data for the entire project, as of more recent SDK versions, GDPR functionality has provided a way to delete data for a specific device. So while you should still use a staging project separate from your prod data, if you do end up needing to delete test device data, this can be done with this process.

Call resetAnalyticsData to remove Analytics client data and reset the app id. Use the User Deletion API to remove data from the Analytics servers for a specific device.

like image 139
Kato Avatar answered Sep 20 '22 07:09

Kato