Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Firebase Analytics persist User Properties

When you set a UserProperty with

mFirebaseAnalytics.setUserProperty("favorite_food", mFavoriteFood);

does it get saved for all the following Sessions until

mFirebaseAnalytics.setUserProperty("favorite_food", null); is called? Or do I have to set this UserProperty on every app start?

Can automatically tracked events like app_start even have a UserProperty then?

like image 614
Towlie288 Avatar asked May 31 '16 07:05

Towlie288


People also ask

What is user properties in Firebase Analytics?

User properties are attributes you define to describe segments of your user base, such as language preference or geographic location. Analytics automatically logs some user properties; you don't need to add any code to enable them.

Where are user properties in Firebase?

You can access this data from the Custom Definitions page of Analytics in the Firebase console. The page shows a list of user properties that you have defined for your app.

How do I see user properties in Google Analytics?

To find some user properties that you want to create, go to the data layer screen in your Tag Manager account to see what values you are tracking and find the ones you want to recreate in GA4. Or, on the User Properties page of your Analytics account, click Create first user property.

What are user properties in Google Analytics?

User properties are attributes that describe groups of your user base, such as their language preferences or geographic locations. Google Analytics automatically collects some user properties. You can also configure up to 25 additional user properties per project.


1 Answers

A call to setUserProperty() will be persistent for all future sessions. Once set, all future logged events will be tagged with that user property. You do not need to call it each time your app starts.

This help article has some additional info:

Properties are effectively sticky event parameters that are automatically logged with every subsequent call to logEvent. After you set a user property value, it will be associated with every event logged afterwards...

like image 141
AdamK Avatar answered Sep 24 '22 03:09

AdamK