我有一個表單(由幾個階段組成),通過ajax加載,當我在不同階段之間移動時,我想在Google Analytics中將其作爲PageView進行跟蹤。我有這個工作正常,但我的整體跳出率低於100%(〜30%),這很好。但是當我查看單個頁面時,它們似乎都有100%的跳出率。我不太確定這是否正常,或者我應該預計不同的跳出率?下面包含了一些片段。就像你所看到的一個谷歌分析_trackPageview AJAX請求跳出率100%
感謝
安迪
//Run at the start
_gat._createTracker('UA-xxxxxxxx-4', 'myTracker');
var _gaq = _gaq || [];
_gaq.push(['myTracker._setAccount', 'UA-xxxxxxxx-4']);
_gaq.push(['myTracker._setDomainName', 'www.testaccount.co.uk']);
//This is run when a stage loads up.
_gaq.push(['myTracker._trackPageview', '/form/stage[X]/']);
//This code is run within each stage to capture elements of the form being completed
_gaq.push(['myTracker._trackEvent', 'Test', "value"]);
我不知道,如果使用_setReferrerOverride將幫助... – Andy
你能添加一個鏈接到該網站你試圖運行這個? – luciddreamz