How to get Firebase automatically collected user properties? - firebase

I am hosting my web app on firebase and its clear that firebase knows where app is being browsed from, as i can see location data in firebase analytics. Fire-base automatically collects some user properties like country. Is there any method i can get this property value (country code or name) so i can curate app content accordingly?
I have found this line in firebase docs.
Analytics derives location data from users' IP addresses.
As google firebase doesn't disclose users IP addresses to developers. So its firebase duty to tell the users country to devs.

Google Analytics for Firebase derives information from the reported properties. This derived information is only available in the Firebase console (in the Analytics panel, and in other panels that build audiences based on analytics data).
There is no way to access the derived information in your own code, or to get it in the data exported to BigQuery. If you need similar information you will need to derive it yourself.
Also see:
How can I retrieve Firebase user properties?

Related

Where are the Firebase server locations?

I am afraid of some latency when calling Firebase API. So I would like to know where the Firebase API servers are located. Are there any documents? Please help. Thanks.
The official documentation regarding choosing locations for your project, doesn't include an option for the Firebase Authentication. So currently, there is no way to specify a particular location for storing the Firebase Authentication data.
However, when you are using Cloud Firestore, Cloud Storage, or Cloud Functions for Firebase, you're prompted to select your project's default location. On the other hand, when using the Realtime Database, you're prompted to select the location of the instance, and each instance can be in a different location.
If you are also using Analytics, you're also prompted to select an Analytics reporting location. You can select a country or region that represents the location of your organization.

Unable to enable google analytics for bigquery linking in firebase

I have an android app which has firebase analytics enabled. I am able to see events in firebase console. Now I want to connect it with big query. As I am using a team account for firebase, asked admin to give me owner access in firebase and editor access in connected google analytics account. After getting both access I tried to connect big query in firebase but it was not allowing me to select Google Analytics option while creating link. When I hover over that option it is showing message as "You need to be an Editor on the Google Analytics account linked to your project to modify BigQuery export". I am not sure what changes am I supposed to do to enable this and create a big query connection. Please help.
While you have the permissions in firebase you need to have Editor access to the Google Analytics Account as well in order to perform the connection. It is important that permission is given on the Account Level and not on the data view level.

Can we search for the user app version and device os by UID in firebase?

I am implementing firebase analytics in my android and iOS apps. Firebase analytics shows the device types, os version etc ... of all the users on its dashboard. I need to get the installed app version and the device os for a specific user. Can firebase can search for the info by filtering on the user uid?
By default Google Analytics for Firebase does not associate events with a specific Firebase user. Instead events are associated with a device token, which is unique to the device/app, but not associated with a specific user.
If you want to associate events with a specific user of your app, you can set a User ID. If you do this, the user ID will show up in BigQuery exports of the analytics data. Last I checked, it won't show up in the Firebase analytics dashboard.
I recommend studying the documentation linked carefully, to ensure you use a user ID that is both allowed, and useful for your needs.

Firebase/Google analytics share with Firebase features

The firebase console under Settings -> Integrations -> Google Analytics has a Data Sharing section with a bunch of check boxes, one of which is:
Share Analytics data with all Firebase features (Recommended):
Including Crashlytics, Predictions, A/B Testing, Remote Config, Cloud
Messaging, and In-App Messaging
The word "Share" is confusing to me. Does this mean there's an underlying set of data that is collected by default and unless I check this box, these other firebase features won't have access to that data?
If I don't select this option will data still be collected? Will data be available to any part of my system?
If you disable Share Analytics data with all Firebase features then the analytics data in your Firebase project is only available within the analytics panel, and won't be used in the other Firebase products.
So if you uncheck the box, you won't be able to (for example) send targeted notifications (using Cloud Messaging or In-App Messaging) based on analytics data, or run predictions of future user behavior. But you will be able to see the analytics data in the Firebase console, and you can allow the data to be exported to BigQuery.

Is it possible to change Firebase Analytics User Properties from a backend?

Overview: I would like to send targeted push notifications in my Native Mobile App by using the segmentation offered by Firebase. The way I would like to configure this segmentation is by leveraging on custom Firebase Analytics User Properties, like specific preferences or other business specific parameters.
I've seen that is possible to update User Properties by means of the Firebase SDK and through them I will update a "custom ID" user property which helps me identifying my users; on the other side I would like to update other user parameters, which should help me segmenting users, through a backend process.
The Problem: is that I've not found how to update User Properties from a backend side, like through APIs or something like that.
Have someone figured out to implement this scenario?
Thanks
There is no server-side or REST API for Google Analytics for Firebase at the moment.
The two options that I know of:
Send the properties from your server to the client, and use the Firebase SDK on the client to get those properties in to Analytics.
Hook your Firebase analytics up to BigQuery, store the additional information from your server into BigQuery too, and then join then in your own analysis.

Resources