Results 1 to 1 of 1
Jun 27, 2014, 08:41 #1
- Join Date
- Jun 2014
- 0 Post(s)
- 0 Thread(s)
Event tracking not working - (Google Analytics JS code)
Hoping you can help - this forum has been recommended to me by a friend. I've posted in the JS forum as i believe the issue may lie with the JS.
I've added event tracking to a website but it's not pulling through to Google Analytics. I can't work out what's not working - i've tried adding the event tracking to an a href, to a div that wraps the link, but no joy.
Basically, I'm trying to track clicks of the two clickable areas on this image - the Sign up quick button and the 'View jobs';
The code i've added isCode:
onclick="_gaq.push(['_trackEvent', 'archivedvacancy', 'register', 'click', false]);"
<div onclick="_gaq.push(['_trackEvent', 'archivedvacancy', 'register', 'click', false]);"><area shape="rect" coords="210,106,468,163" href="/candidates/mydetails.aspx"></div>
Any help MUCH appreciated!