[RESOLVED] Tracking with Google Analytics
I've searched the forum, but there were no definitive answers.
I'm trying to use Google Analytics to track button clicks. I know there is an AS3 component, but I'm working on an AS2 project. Google gives examples on what the code should look like here, and I'm following those instructions to the dot, as far as I know, but I'm not getting any tracking results from the button in Analytics, and it's been 2 days since implementation. I must be overlooking something.
My button has the following code:
Code:
on(press){
getURL("javascript:pageTracker._trackPageview('/SongDownloads');");
}
On my HTML page I set AllowScriptAccess to "always". The website I'm working on is here in case you want to check that my Analytics code is correctly in place.
The HTML page itself is providing tracking results, just not the button clicks from Flash.
I someone could PLEASE give me a hand here I would very much appreciate it. I've put 2 days into this and can't figure it out for the life of me. If you need more info, let me know.