【发布时间】:2018-10-15 06:25:22
【问题描述】:
我在 Angular 中对点击事件进行编码,如下所示:
onProductClicked() {
(<any>window).ga('send', 'event', {
eventCategory: 'Click',
eventLabel: this.item.provider,
eventAction: 'click-on-product',
eventValue: this.item.price + "~" + this.item.name
});
}
上述事件在我的 Chrome 控制台上触发以下请求:
我的问题是,为什么上述事件没有在我的 Google 分析仪表板的事件仪表板中捕获?
我有什么遗漏的吗?
【问题讨论】:
-
您创建谷歌分析帐户多久了?您还看到其他热门歌曲吗?
-
因为我还在 Google Analytic 中打开了 SITE SEARCH 功能...我可以看到这显示了一些上下折线图,以及搜索词列表...所以任何其他点击都是工作正常
标签: angularjs google-analytics measurement-protocol