Firebase ITEM_NAME在Google Analytics(分析)信息中心中不可见 [英] Firebase ITEM_NAME not visible in Analytics dashboard

查看:86
本文介绍了Firebase ITEM_NAME在Google Analytics(分析)信息中心中不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试查看应用程序中最常使用的部分,为此,我添加了如下的 logEvent :

I am trying to see which parts of my app are most used, for this I have added a logEvent like this:

Bundle bundle= new Bundle();
bundle.putString(FirebaseAnalytics.Param.ITEM_CATEGORY, "action");
bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, "screen_a");
FirebaseAnalytics.getInstance(context).logEvent(FirebaseAnalytics.Event,VIEW_ITEM, bundle);

事件被记录下来,我可以在事件"部分的仪表板"中看到带有Count的 view_item 条目,但是,当我输入它时,我可以看到计数,即值,但是我可以看不到"screen_a"或"screen_b"之类的值...

The events get logged and I can see in my Dashboard under Events section a view_item entry with the Count, however, when I enter it, I can see the counts, meaning values, but I can't see any values like "screen_a" or "screen_b"...

由于这些不是自定义事件,因此这些值在仪表板中不可用吗?

Since these are not custom events, shouldn't the values be available in the dashboard?

推荐答案

我也遇到了同样的问题.通过向Firebase团队询问电子邮件,他们回答了查看item_name日志的确切方法.下面是示例,我用ECOMMERCE_PURCHASE事件记录了ITEM_NAME"action_getProVersion":

I got the same question with you. By asking email to firebase team, they replied the exact method to watch the log of item_name. Below are the example, I logged an ITEM_NAME "action_getProVersion" with ECOMMERCE_PURCHASE event:

  1. 在您的代码中记录事件:(您已完成此操作)

  1. log event in your codes: (You have done this)

Bundle bundle = new Bundle();

Bundle bundle = new Bundle();

//bundle.putString(FirebaseAnalytics.Param.ITEM_ID,itemId);bundle.putString(FirebaseAnalytics.Param.ITEM_NAME,"action_getProVersion");//bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE,"image");mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.ECOMMERCE_PURCHASE,包);

//bundle.putString(FirebaseAnalytics.Param.ITEM_ID, itemId); bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, "action_getProVersion"); //bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, "image"); mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.ECOMMERCE_PURCHASE, bundle);

在Firebase事件屏幕上,按右侧的事件编辑参数报告",然后添加"item_name"并保存.(看来您还没有这样做)

On the firebase event screen, press on the right side,for event "Edit parameter reporting", then add "item_name" and save. (it looks you haven't done this)

这篇关于Firebase ITEM_NAME在Google Analytics(分析)信息中心中不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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