Reputation: 332
I have a native Android project that uses Google Analytics for Firebase for its event reporting. I have a couple events that share the same parameters, but some of these count towards the custom parameter limit while others don't. The events I am using are suggested common events and are using mostly suggested parameters with one or two custom parameters. I have a few questions regarding the way events & parameters are showing up on the Firebase console, using the examples below (you can assume the values provided are the correct datatypes).
BEGIN_CHECKOUT
Bundle bundle = new Bundle();
bundle.putString(FirebaseAnalytics.Param.ITEM_ID, itemId);
bundle.putString(FirebaseAnalytics.Param.ORIGIN, itemOrigin);
bundle.putString(FirebaseAnalytics.Param.DESTINATION, itemDestination);
bundle.putString(FirebaseAnalytics.Param.START_DATE, itemStartDate);
bundle.putString(FirebaseAnalytics.Param.END_DATE, itemEndDate);
bundle.putLong(FirebaseAnalytics.Param.NUMBER_OF_PASSENGERS, itemNumberOfPassengers);
bundle.putString(FirebaseAnalytics.Param.TRAVEL_CLASS, itemTravelClass);
bundle.putString(FirebaseAnalytics.Param.CURRENCY, itemCurrency);
bundle.putDouble(FirebaseAnalytics.Param.VALUE, itemValue);
bundle.putString("travel_type", itemTravelType);
mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.BEGIN_CHECKOUT, bundle);
In Firebase Analytics, on the events tab, this event shows up as follows:
Another example: ECOMMERCE_PURCHASE
Bundle bundle = new Bundle();
bundle.putString(FirebaseAnalytics.Param.ITEM_ID, itemId);
bundle.putString(FirebaseAnalytics.Param.ORIGIN, itemOrigin);
bundle.putString(FirebaseAnalytics.Param.DESTINATION, itemDestination);
bundle.putString(FirebaseAnalytics.Param.START_DATE, itemStartDate);
bundle.putString(FirebaseAnalytics.Param.END_DATE, itemEndDate);
bundle.putLong(FirebaseAnalytics.Param.NUMBER_OF_PASSENGERS, itemNumberOfPassengers);
bundle.putString(FirebaseAnalytics.Param.TRAVEL_CLASS, itemTravelClass);
bundle.putString(FirebaseAnalytics.Param.CURRENCY, itemCurrency);
bundle.putDouble(FirebaseAnalytics.Param.VALUE, itemValue);
bundle.putString("travel_type", itemTravelType);
mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.ECOMMERCE_PURCHASE, bundle);
Firebase console:
My questions are:
(Might be related, but my ecommerce_purchase event is marked as a conversion event automatically, and I cannot change this, while I have set begin_checkout as a conversion event manually).
For the record, the data of these events & parameters does show up nicely in the Stream -and DebugViews.
Upvotes: 4
Views: 2089
Reputation: 493
I'll try.
You will indeed need to add them manually, and it does count twice.
ecommerce_purchase is marked as conversion since it is predefined as a conversion event.
Upvotes: 0