Johny19 Johny19 -4 years ago 166
Android Question

Firebase analytics, custom events values

I'm trying to set some analytics in my app. The user can add 3 item to a list and I would like to know how much of valid item1, item2 and item the user has
moreover I also would like to know how many of expired item1, item2 and item3 it has. This is how I did it:

Bundle bundle = new Bundle();
bundle.putInt("valid_item1", validCount1);
bundle.putInt("valid_item2", validCount2);
bundle.putInt("valid_item3", validCount3);
bundle.putInt("expired_item1", expireCount1);
bundle.putInt("expired_item2", expireCount2);
bundle.putInt("expired_item3", expireCount3);
FirebaseAnalytics.getInstance(this).logEvent("", bundle);


I was expecting to see in my Firebase analytics dashboard a diagram that shows me how much users have a valid_item1, valid_item2 etc...

Is this possible to accomplish? Or will I have to create 6 different events ?

Answer Source

Unfortunately Firebase does not display custom parameters on your events. You can still log them though and they are attached to that event. To view them you have to export to BigQuery.

See this question's answer.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download