![](/img/trans.png)
[英]Google Analytics Custom Events not firing when using Google Tag Manager
[英]Google analytics events not firing
我正在使用新的“通用分析”軟件包。 一切正常,除了事件,事件沒有觸發。
onClick: "ga('send', 'event', 'ajax_action', 'user_prompt', 'user_classification', 'yes', {'nonInteraction': 1});"
該代碼不會在控制台中產生錯誤,但不會觸發事件。
可能是什么問題?
可選的“值”參數必須為整數。 您當前有字符串“是”。 因此,如果確實需要使用該參數,則需要對其進行更改:
ga('send', 'event', 'ajax_action', 'user_prompt', 'user_classification', 1, {'nonInteraction': 1});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.