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
我正在尝试使用VIEW_ITEM跟踪Firebase Analytics的活动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)
(仅供参考:我的帐户与大查询相关联)
2 个解决方案
#1
1
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
Firebase目前不支持view_item的参数报告,可以在此处阅读:https://groups.google.com/forum/#!topic / firebase-tot / W9w-YKkW4fc
They are planning a support...
他们正计划提供支持......
#2
2
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
.
在使用VIEW_ITEM解决了同样的问题超过一周并找不到有关它的文档后,我决定继续使用SELECT_CONTENT。
Apparently only SELECT_CONTENT
displays parameters (content_type
and content_id
) information on the dashboard.
显然,只有SELECT_CONTENT在仪表板上显示参数(content_type和content_id)信息。
#1
1
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
Firebase目前不支持view_item的参数报告,可以在此处阅读:https://groups.google.com/forum/#!topic / firebase-tot / W9w-YKkW4fc
They are planning a support...
他们正计划提供支持......
#2
2
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
.
在使用VIEW_ITEM解决了同样的问题超过一周并找不到有关它的文档后,我决定继续使用SELECT_CONTENT。
Apparently only SELECT_CONTENT
displays parameters (content_type
and content_id
) information on the dashboard.
显然,只有SELECT_CONTENT在仪表板上显示参数(content_type和content_id)信息。