Analytics receives events, but does not log them in reporting -
i've been on google , looking answers here. i've checked code against google's tracking code suggestions , i've tested sample code. cannot events tracked in google analytics. code has been live on site time (~ month), should have overcome lag on reports there.
i'm using analytics, async version, works fine page tracking , other 'normal' features. trying set event tracking, followed example, , waited week. still nothing. i've been debugging , i'm not having of 'normal' problems (as far can see).
so:
example tracking code fired:
<a href="#" onclick="_gaq.push(['_trackevent', 'videos', 'play', 'baby\'s first birthday']);">play</a>
this triggers event, according ga_debug.js, fired successfully. checking network panel can see request , _umt.gif returns status 200.
i've checked request string in there. seems good.
but checking ga, there nothing in reports. but when go ga realtime > events, can see events being fired!?
i can trigger events on page or fire them console , corresponding events show in realtime section, have no data (category, action or label).
this odd, firing google's own example code nothing showing up.
if has ideas of start debugging (or has experience of similar), great hear.
i have been struggling issue 3 days. know thread old, stumbled upon during searching. wanted post personal resolution in case else comes across this.
my solution:
here found it:
https://developers.google.com/analytics/devguides/collection/gajs/gatrackingcustomvariables
under: "using custom variables" > "traditional (ga.js) snippet" (we using ga.js still... now.)
Comments
Post a Comment