3
votes

we are using firebase to log our user events. some of the events are getting logged in the dashboard but most of the events are not getting logged . It is very hard to believe that "No user performed these events", because we have more than 500K users and these events are very basic.

We are also using google analytics, where all expected events are being logged.

Please suggest how to analyze it.

/**
 * This method will log the events in firebase console
 * @param itemId
 * @param itemName
 * @param screen
 */
public  void logFirebaseCustomEvent(String event,String itemId,String itemName,String screen){
    Bundle bundle = new Bundle();
    bundle.putString(FirebaseAnalytics.Param.ITEM_ID, itemId);
    bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, itemName);
    bundle.putString(FirebaseAnalytics.Param.ITEM_CATEGORY, screen);
    mFirebaseAnalytics.logEvent(event, bundle);
}

Thanks

2
please add your code for working & not working events - itzhar
This is single method being used for all the events. Thats the more painful thing :( - user369932

2 Answers

4
votes

I found the reason with the help of debug view(https://firebase.google.com/docs/analytics/debugview). I was sending invalid event name.

Now it is working fine. :) :)

0
votes

I think the OP comment answer refers to being wrong to enter the package name, and not the event name in ADB command:

adb shell setprop debug.firebase.analytics.app **package_name**