How to identify an audience using Firebase Analytics?

I want to track my application audience by dividing them by user attribute. Each user has a list of permissions. I want to be able to share them with this attribute, and then enter my application.

Currently, all users fall into the "Alls Users" category instead of their individual categories ... I log in using CEO more than 10 times, and I waited several days ... However, I only see the audience name "All users "instead of my user audience" CEO ".

This is how I configure the attribute:

Note: In my example here, let's say the user role returned by getRole (), "CEO"

In my LoginActivity.java

for (EntityRole mRole : new ArrayList<>(profile.getRoles())) { mRole.setUser(profile); GenericDAO.getInstance(EntityRole.class).addOrUpdate(mRole); Bundle bundle = new Bundle(); bundle.putString(FirebaseAnalytics.Param.SIGN_UP_METHOD, mRole.getRole()); mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.LOGIN, bundle); } 

Here is my setup in Firebase:

Firebase

Here is the result:

enter image description here

+5
source share
2 answers

I get this from Firebase support:

Hello,

Thanks for contacting Firebase support. Sorry, we were not able to get back to you at any time when we experience a high influx.

I can see your question about stack overflow and conversion using an engineer. To continue the investigation, I would like to know if you tried to log events in debug mode?

Use verbose debug output to confirm successful event logging or to identify configuration issues. To enable verbose logging on each platform, follow these steps:

Android adb shell setprop log.tag.FA VERBOSE adb shell setprop log.tag.FA-SVC VERBOSE adb logcat -v time -s FA FA-SVC

iOS Pass this argument at startup in Xcode: -FIRAnalyticsDebugEnabled

In addition to this, you can check if you have applied any filter applied to the previous report. This can often lead to not showing data if it does not have users matching the criteria. Remember to clear all filters if you want to return to a high-level overview.

Regards, Animish

0
source

Keep in mind that the audience is only beginning to accumulate members after they are identified. So, after identifying this audience, at least 10 LOGIN events are logged using sign_up_method, which includes "CEO", you will see your results in Firebase Analytics. Learn more about audiences in the Firebase Help Center .

+4
source

All Articles