I'm trying to track an event with Firebase Analytics using VIEW_ITEM https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event.html#constants
//EVENT select POST
FIRAnalytics.logEvent(withName: kFIREventViewItem, parameters: [
kFIRParameterItemID :"post",
kFIRParameterItemName :(self.post?.title)!,
kFIRParameterItemCategory :"post",
kFIRParameterQuantity : UserDefaults.standard().integer(forKey: "nbReadPost")
])
I can see the event displayed in the data, but when I click on it to see more details, all the data about the parameters (name, category, quantity...) aren't displayed. I have just the default data.
However I don't use custom parameters.
(FYI : my account is linked to big query)
In Analytics for Firebase, navigate to your app. Click Events. In the row for the event you want to modify, click More > Edit parameter reporting.
You can always click the Parameter reporting tab on top of the All events report to see a list of the events that have custom parameters enabled, and you can click the event name to edit the parameters. Once you see the parameter selector, you can search for the parameters name in the list.
Params supply information that contextualize Events. You can associate up to 25 unique Params with each Event type. Some Params are suggested below for certain common Events, but you are not limited to these. You may supply extra Params for suggested Events or custom Params for Custom events.
After struggling with this same problem for over a week using VIEW_ITEM
and finding no documentation about it I decided to move on to using SELECT_CONTENT
.
Apparently only SELECT_CONTENT
displays parameters (content_type
and content_id
) information on the dashboard.
Firebase does currently not support parameter reports for view_item, this can be read here: https://groups.google.com/forum/#!topic/firebase-talk/W9w-YKkW4fc
They are planning a support...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With