Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change default data collected by Firebase/Google analytics

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?

like image 616
Entreco Avatar asked Apr 01 '21 09:04

Entreco


People also ask

How do I unlink Firebase from Google Analytics?

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.

What data is collected by Firebase Analytics?

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.

How do I reset Firebase Analytics?

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.

What is the difference between Google Analytics and Firebase Analytics?

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.

What data is collected by Google Analytics for Firebase?

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.

How do I enable analytics in Firebase?

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.

What happens if I set Firebase_Analytics_collection_deactivated to no (Boolean)?

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.

What is a firebase dashboard?

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.


Video Answer


1 Answers

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.

like image 71
Michele Pisani Avatar answered Oct 16 '22 17:10

Michele Pisani