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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With