0
嗨,我正在使用Google Analytics通過點擊重定向來跟蹤事件。當任何人點擊我的網站上的鏈接時,有一個代理位置存在此代碼:分析不會跟蹤事件。爲什麼?
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'XXXX']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackEvent', 'XXXX', 'web_click', '', '1']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
之後訪問者被重定向。
問題是,該事件在Google Analytics中不可見...爲什麼?
感謝 聶
Nik,你能給出關於你的配置的更多細節嗎? – Yahel 2011-02-15 12:54:36