Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parameters for the Firebase event VIEW_ITEM isn't displayed (iOS)

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)

screenshot1

like image 755
cmii Avatar asked Jun 30 '16 08:06

cmii


People also ask

How do I view parameters in Firebase events?

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.

How do you check event parameters?

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.

What are parameters in Firebase?

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.


2 Answers

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.

like image 64
vauxhall Avatar answered Sep 28 '22 05:09

vauxhall


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...

like image 45
Fahim Avatar answered Sep 28 '22 06:09

Fahim