Google Analytics Click Event not working

2 replies
I have Google Analytics working on my page, but for some reason my click events are not working:

line

<a onClick="_gaq.push(['_trackEvent', 'Header Links', 'Click', 'Pool-VolleyBall-Combo', 1, false]);" rel="nofollow" href= "http://www.amazon.com/dp/B0006ZJPFK/?tag=swimming-pool-games-20" target="new" style="target-name: new; target-new: tab;"> <img src="http://www.gamesforpool.com/wp-content/uploads/2012/06/pool-volleyball.jpg" style="float:left; margin-right:10px;" alt=""/> </a>
Any ideas?
#analytics #click #event #google #working
  • Profile picture of the author Brandon Tanner
    This is just a guess, but the first double quote in that code looks different than all the other double quotes... so try changing it to a regular double quote and see if that helps.

    In other words, try " instead of "
    Signature

    {{ DiscussionBoard.errors[6368535].message }}
  • Profile picture of the author Danny Woolard
    That was def. a problem, as i had cut and pasted from a website...However, it still isnt showing up in Analytics..Not sure if Events are updated very fast, but it has been about 4 hrs...
    {{ DiscussionBoard.errors[6370671].message }}

Trending Topics