2017-08-11 127 views
0

我在儀表板中創建了Google Analytics目標(自定義事件),並將onClick函數添加到我正在追蹤的<a></a>Google Analytics自定義事件不起作用

但是,點擊事件未在我的Google Analytics(分析)>行爲>事件>概覽信息中心中註冊。

這裏是的 'onClick' 功能:

onclick="ga('send', { hitType: 'event', eventCategory: 'Learn More Buttons', eventAction: 'Click', eventLabel: 'Our Founder', eventValue: 10});" 

這裏是我的谷歌Analytics帳戶的目標詳細信息的截圖:

enter image description here

我還安裝了谷歌Analytics(分析)調試器的Chrome和我沒有收到錯誤消息。

回答

1

查看GA儀表板內的實時標籤解決了我的問題。

相關問題