Android Firebase Analytics Custom Events Reporting in Console

风格不统一 提交于 2019-11-27 14:34:34

I believe any params attached to a custom event are considered custom params (even if you use those from FirebaseAnalytics.Param class) and therefore the values are not represented directly in your reports as per the docs here:

Custom parameters: Custom parameters are not represented directly in your Analytics reports, but they can be used as filters in audience definitions that can be applied to every report. Custom parameters are also included in data exported to BigQuery if your app is linked to a BigQuery project.

ez4nick

First, credit to AdamK for adding this:

Custom parameters: Custom parameters are not represented directly in your Analytics reports, but they can be used as filters in audience definitions that can be applied to every report. Custom parameters are also included in data exported to BigQuery if your app is linked to a BigQuery project.

But, something I discovered is:

which would explain why my custom parameters do not appear as I am the only tester.

Your data may not be displayed because you have assigned a String value to FirebaseAnalytics.Param.VALUE in the bundle.

According to the FirebaseAnalytics docs on Param.VALUE:

A context-specific numeric value which is accumulated automatically for each event type. Value should be specified with putLong(String, long) or putDouble(String, double). This is a general purpose parameter that is useful for accumulating a key metric that pertains to an event.

To log a String, you may consider using Param.CONTENT_TYPE or your own custom parameter.

As of May 2017, custom parameter reporting is now supported in Google Analytics for Firebase. Please refer to this help center article for more details.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!