[英]Firebase Analytics (Android): events seen in Logcat log but not in Firebase console
I added Firebase Analytics to my Android project. 我将Firebase Analytics添加到了我的Android项目。 Most of the stats are well recorded in the console : - the global dashboard is ok - the standard events appear in the events tab
大多数统计信息都记录在控制台中:-全局仪表板正常-标准事件显示在“事件”选项卡中
but...my custom events are not displayed in the console. 但是...我的自定义事件未显示在控制台中。
Moreover, I see my events in adb and seems that everything is ok. 此外,我在adb中看到了我的事件,似乎一切正常。 For example:
例如:
Logging event (FE): select_content, Bundle[{item_name=foldersactivity_oncreate, firebase_event_origin(_o)=app}]
Here is my code : 这是我的代码:
public static void trackWithFirebase(String name)
{
Bundle bundle = new Bundle();
bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, name);
MyApp.mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);
}
What is wrong ? 怎么了 ?
Ok, I understand my mistake. 好,我明白我的错误。 All the params are recorder under the SELECT_CONTENT root event (which is displayed as "select_content" in the console).
所有参数都记录在SELECT_CONTENT根事件(在控制台中显示为“ select_content”)下。 I don't see right now how to see the content of the bundles in the console.
我现在看不到如何在控制台中查看捆绑软件的内容。 But at least I understand what is going on.
但是至少我了解发生了什么。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.