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 is
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!
This topic is now closed. New replies are no longer allowed.