Marek Krupka
Marek Krupka

Reputation: 55

Firebase Analytics user properities

I have problem with Google Firebase

I use Firebase Analytics and I want to use user properities for sepatare group users on my app. Now I´m triing

FirebaseAnalytics analytics = FirebaseAnalytics.getInstance(this.getApplicationContext());
analytics.setUserProperty("myGroup",  "1");

and another user

FirebaseAnalytics analytics = FirebaseAnalytics.getInstance(this.getApplicationContext());
analytics.setUserProperty("myGroup",  "2");

I don´t see on console Firebase Analytics. How I set user properities correctly? And than where I will see on console Firebase?

Upvotes: 3

Views: 2920

Answers (2)

user4156995
user4156995

Reputation:

Actually, as from my experience using BigQuery as well with Firebase, I want to add some more depth information about it using the comment above:

Yes, as mentioned above, to see your User Properties you need to add them like mentioned above on your Firebase Console (for filtering, etc.).

However, not adding is doesn't mean that they are not collected. It's logging regardless, they are not available on Firebase Console until you add them. However, as raw data they're there. Not necessarily an information you needed but it's good to know the truth behind it. Firebase Console doesn't let you see the raw data so you won't see it but, mentioning that it's not logging wouldn't be true.

Upvotes: 1

Steve Ganem
Steve Ganem

Reputation: 10891

The Developer Guide mentions that you should first register the user property in the Analytics page of the Firebase console. You'll find a tab there entitled "User Properties". After you register "myGroup" there, start logging more events after setting "myGroup" in your app and you will be able to filter those event reports using "myGroup" after a few hours.

Upvotes: 3

Related Questions