We use Firebase/Google analytics in our android app. Each event is saved with a lot of extra information (user-id, device-info, timestamps, user-properties, geographical location …). The extra info is there by default but we don’t want it to be collected.
We tried 2 things:
1) Update Big Query Schema
Delete the unwanted columns from Big Query. Unfortunately, Big Query creates a new export every day. So we would need to know where those fields are coming from. Something we don't know.
2) DefaultParameters within the app
Tried to use default parameters from inside the app, so the city will always be null. Here is an example with the user’s city
Bundle defaultValues = new Bundle();
defaultValues.putString("geo.city", null);
FirebaseAnalytics.getInstance(ctx).setDefaultEventParameters(defaultValues);
Unfortunately, we still see geo.city
in our BigQuery data filled in.
Is there a way of changing what is collected by default?
Under "Setup", click Linked accounts. Under "Your linked accounts and products," find “Google Analytics (GA4) and Firebase", then click Manage and link. Find the Google Analytics 4 property or the Firebase project in the table, then click Unlink. Click Unlink again to confirm.
This dashboard provides detailed insights about your data — from summary data such as active users and demographics, to more detailed data such as identifying your most purchased items. Analytics also integrates with a number of other Firebase features.
As of now, there is no such way where you can 'RESET' Firebase Analytics. I think that applies to Google Analytics as well. Like you mentioned you can filter your device but then you can't set it to zero. A workaround would be to adding new events and filters, having custom comparison et al.
Google analytics also supported mobile analytics though android and IOS sdk's which sent Screen hits to google analytics. There was a difference between Mobile and web google analytics accounts. Firebase is a platform developed by Google for creating mobile and web applications.
The type of information collected through the Google Analytics for Firebase default implementation includes: See a full list of the default events and user properties collected by Google Analytics for Firebase. The Firebase SDK library uses an app-instance identifier to identify a unique installation of the App.
To configure Analytics settings: Open your Firebase project. Click Dashboard, then click (Analytics Settings). Under Reporting, select the time zone, currency, and method of user identification you want to use for your reports. Changes to the time-zone setting can introduce data discontinuities.
Setting FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED to NO (Boolean) has no effect and results in the same behavior as not having FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED set in your Info.plist file.
Once the data is captured, it's available in a dashboard through the Firebase console. This dashboard provides detailed insights about your data — from summary data such as active users and demographics, to more detailed data such as identifying your most purchased items.
There is no way to disable the geography information. Analytics uses IP addresses to derive the geolocation of a visitor. Probably the solution about update Big Query Schema is a viable way. You have to create a system that carries out this update on a daily basis precisely because the export takes place every day.
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