Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase ITEM_NAME not visible in Analytics dashboard

I am trying to see which parts of my app are most used, for this I have added a logEvent like this:

Bundle bundle= new Bundle();
bundle.putString(FirebaseAnalytics.Param.ITEM_CATEGORY, "action");
bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, "screen_a");
FirebaseAnalytics.getInstance(context).logEvent(FirebaseAnalytics.Event,VIEW_ITEM, bundle);

The events get logged and I can see in my Dashboard under Events section a view_item entry with the Count, however, when I enter it, I can see the counts, meaning values, but I can't see any values like "screen_a" or "screen_b"...

Since these are not custom events, shouldn't the values be available in the dashboard?

like image 766
Alin Avatar asked May 23 '17 15:05

Alin


1 Answers

I got the same question with you. By asking email to firebase team, they replied the exact method to watch the log of item_name. Below are the example, I logged an ITEM_NAME "action_getProVersion" with ECOMMERCE_PURCHASE event:

  1. log event in your codes: (You have done this)

    Bundle bundle = new Bundle();

    //bundle.putString(FirebaseAnalytics.Param.ITEM_ID, itemId); bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, "action_getProVersion"); //bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, "image"); mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.ECOMMERCE_PURCHASE, bundle);

  2. On the firebase event screen, press on the right side,for event "Edit parameter reporting", then add "item_name" and save. (it looks you haven't done this) enter image description here

  3. After a while, let it log from users event. You will see the events logged with parameter "ITEM_NAME" as the attached screenshot

enter image description here

like image 171
Fisher Avatar answered Oct 25 '22 12:10

Fisher