joined:Mar 7, 2005
I am trying to get analytics to track a click on a button as an event so I can create goals and import these into AdWords.
The current code for the button is;
I have the following bit of code which I have to something with, but I'm just not sure what it is....
<a href="#" onClick="_gaq.push(['_trackEvent', 'PopupDetails', 'Click']);">View Contact</a>
Does anyone know how I am meant to get this working correctly or do you need any more info from me to be able to help?
Any help is appreciated. I'm not good with coding as you might know :-)