我已经在我的 ionic v1 应用程序中成功安装了 cordova-plugin-firebase 插件。
https://github.com/arnesson/cordova-plugin-firebase
我试图弄清楚如何分析在我的 ionic v1 应用程序中触发的特定事件。
例如,我在下面尝试了此操作,但在应用程序的 Firebase 仪表板中没有看到任何这些信息:
window.FirebasePlugin.logEvent("select_content", {content_type: "page_view", item_id: "home"});
window.FirebasePlugin.setScreenName("Advertisement 1");
以下是分析跟踪的屏幕截图。没有显示特定事件:
问题是如何使用 cordova-plugin-firebase 插件在 ionic v1 上使用 Firebase Analytics 跟踪特定事件?