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:

Here is the result:

source share