【发布时间】:2018-06-11 05:14:54
【问题描述】:
我已在我的 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 跟踪特定事件?
【问题讨论】:
标签: firebase ionic-framework firebase-analytics ionic-v1