如何在Firebase事件分析中查看捆绑包参数

EdgeDev

我在4个不同的片段中有一个独特的按钮。这些独特的按钮在所有这些片段中都执行相似的操作,但稍有调整。

由于所有这些事情都是相似的,因此我将它们以事件名称“ unique_btn_click_event”记录在一起

val eventName = "unique_btn_click_event"
val eventBundle = Bundle()

eventBundle.putString("fragment_name", fragmentName)
eventBundle.putString("unique_stuff_1", uniqueStuff1)
eventBundle.putString("unique_stuff_2", uniqueStuff2)
eventBundle.putString("qty_selected", quantity)

FirebaseAnalytics.getInstance(context).logEvent(eventName, eventBundle)

我的目标是衡量哪个片段使用唯一按钮的次数最多,以便我可以对此进行优化并可能弃用其他按钮。

虽然该事件已unique_btn_click_event记录,但我看不到已记录的bundle参数的历史记录。我单击fab_actions事件:

在此处输入图片说明

在出现的下一页中,没有地方可以查看这些捆绑包,即使按计数也是如此。

我得到的最接近的是:StreamView:旨在仅显示实时包数据。实时很酷,但是不能用来做出质量决定。

我单击流视图。

在此处输入图片说明

我点击趋势,然后点击事件

在此处输入图片说明

我看到了实时捆绑包日志数据的列表。

在此处输入图片说明

我如何查看日志历史记录的操作计数。

我如何嵌套事件。

AJ7

为了在Firebase Analytics仪表板上查看事件参数,您需要在事件中添加这些参数。此链接将为您提供添加事件参数所需的步骤:在Firebase Analytics报表中添加客户事件参数

总结步骤:

  1. Go to Events menu under Analytics section on the Firebase Analytics dashboard
  2. Select your event from the Existing events table (in your case, it will be unique_btn_click_event
  3. Once you're on the event page, you will have to scroll down where you will see a button that says Add event parameters
  4. Click on this button and select the parameters you wish to add to the event. In case your parameters are not visible, you need to add them manually and then see if they are getting tracked properly from your Android App
  5. Once Done, click on Save and your parameter reporting should be up and running

In order to see the list of parameters used in your events, you need to select the Parameter Reporting tab next to the Events tab on the Analytics Dashboard.

Once you have enough tracked data, you will see the values of the event parameters on the Events page itself.

As for getting real-time event-tracking, you need to use Debug View to track your events in real-time. In order to enable debugging in Firebase Analytics for Android, you need to run the following commands using ADB:

Enable Debugging in IDE

adb shell setprop log.tag.FA VERBOSE

Enable Debugging in Debug View of Firebase Analytics

adb shell setprop debug.firebase.analytics.app <your_app_package_name>

NOTE: Substitute <your_app_package_name> (without the <>) with the package name of your application. Example: com.example.uniquepackagename

You will get the log of your event action count in the Existing events table in the Events section as mentioned above.


Lastly, for nesting events, I don't think Firebase Analytics currently supports that directly. However, you can use Custom User properties in your application to group the events by a User Property. User properties can be used as filters to filter events by a user property. Here is a link to get you started on User Property: Work with User Properties in Firebase

After setting the user properties in your Android app, you need to add them in the Firebase Analytics dashboard as well. You need to go to User Properties section and then select New User Property to add the user properties. The name of the user property needs to be exactly the same as the name you are using in your app.

注意:设置用户属性后,即使未明确设置,该属性也会在发送的其他事件中保留。因此,在设置用户属性时要小心,因为在某些事件中可能不需要它们。

希望这对您解决Firebase Analytics中的事件有帮助。

问候,

j

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

如何在IntelliJ中查看类包的类型和参数?

如何在Facebook Analytics App Events中查看事件参数?

如何在捆绑包中传递list <>

如何在单页应用程序中的Google Analytics(分析)中触发页面查看事件?

如何在React Native中查看javascript捆绑代码?

使用Firebase Analytics记录自定义事件时,如何在Firebase控制台上查看参数?

如何从Firebase控制台查看事件参数

如何为Firebase事件参数重用Google Analytics(分析)

如何在Firebase中的分析中将事件发送到行动

如何在OSGi捆绑包中查找带注释的类

如何在Flutter中获取捆绑包ID

如何在Addons中包含资源和捆绑包?

如何在Qt的Mac应用程序捆绑包中捆绑dylib?

如何在C ++中传递参数包?

如何更新捆绑中的参数

事件参数如何在javascript中工作?

如何在R中查看bayesmeta包的源代码

如何在R会话中查看R包的内部变量?

如何在Android中自动收集按钮单击的分析事件?

SSRS如何在订阅中查看多值参数

如何将自定义参数以及保留事件发送到Firebase分析

如何在Firebase Analytics中查看所有设备列表?

在Firebase Analytics中查看事件的设备模型

如何在Eclipse包浏览器中查看分层包的结构

如何在“测试”环境中启用“开发”捆绑包,以便它们在测试期间可用?

如何在Django模板中加载在``ng build --prod''中创建的webpack捆绑包?

如何在Maven中结合WAR打包和OSGi捆绑包创建?

iOS:如何在Interface Builder中的自定义捆绑包中使用图片?

如何在iTunes Connect中更改捆绑包标识符