Firebase Analytics无法查看在事件中传递的值 [英] Firebase Analytics, unable to view the values that are passed in the event

查看:116
本文介绍了Firebase Analytics无法查看在事件中传递的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在应用程序中实施了Firebase Analytics。

一切正常,我在Firebase控制台中获取了记录的事件,但是我遇到了捆绑在事件日志中传递的数据(Params)。
$ b $ pre $ $ $ $ $ $ Bundle bundle = new Bundle();
bundle.putString(FirebaseAnalytics.Param.VALUE,event Value);
firebaseAnalytics.logEvent(FirebaseAnalyticsConstants.ON_VIEW_EVENT,bundle);

我想根据VALUE参数进行区分

解决方案

VALUE参数是数字。请参阅此处的文档

当然,您可以使用您的事件记录您想要的任何自定义参数,但参数报告目前仅在建议的活动。或者,如果您将应用链接到BigQuery,则可以查询您的原始事件,参数和用户属性。


I am implementing Firebase Analytics in my app.

Everything works fine, I am getting the logged events in my Firebase console, but I am having trouble with the bundle data (Params) that are passed during the logging of event.

Bundle bundle = new Bundle();
bundle.putString(FirebaseAnalytics.Param.VALUE, "event Value");
firebaseAnalytics.logEvent(FirebaseAnalyticsConstants.ON_VIEW_EVENT, bundle);

I want to differentiate based on the VALUE param.

解决方案

The VALUE parameter is meant to be numeric. See the documentation on it here.

Of course, you can log any custom parameter you want with your event, but parameter reporting is only currently offered on a subset of suggested events. Alternatively, you can query your raw events, parameters and user properties if you link your app to BigQuery.

这篇关于Firebase Analytics无法查看在事件中传递的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆