Firebase ITEM_NAME not showing in Google Analytics dashboard

I am trying to see which parts of my application are most used, for this I have added logEvent

as follows:

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);

      

Events are logged and I can see a view_item

record with a graph in my toolbar under Events , however when I enter it, I can see the count values, the values, but I do not see any values ​​such as "screen_a" or "screen_b "...

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

+5


source to share


2 answers


I had the same question with you. After requesting an email for the firebase command, they responded with an accurate way of looking at the item_name log. Below is an example, I registered the ITEM_NAME "action_getProVersion" with the ECOMMERCE_PURCHASE event:

  • log event in your codes: (you did 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);

  • On the firebase event screen, click on the right side for the "Edit Parameter Report" event, then add "item_name" and save. (it looks like you didn't) enter image description here

  • After a while, let it log from user events. You will see the events registered with the "ITEM_NAME" parameter as an attached screenshot


enter image description here

+4


source


To register event in firebase use the code below:

private FirebaseAnalytics mFirebaseAnalytics;
mFirebaseAnalytics = FirebaseAnalytics.getInstance(this);
        Bundle bundle = new Bundle();
        bundle.putString(FirebaseAnalytics.Param.ITEM_ID, getString(R.string.title_activity_quotes));
        bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, "ShareButton");
        bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, "image");
        mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);

      

Add item_name on Firebase events page



Then you can debug in Android Studio or wait for a while for the event to happen and then register the select_content event in firebase

firebase select-content streamview

0


source







All Articles