Does anyone see anything wrong with this event tracking code:
<div class="columnTwo">
<div style="padding-bottom:7px;"><span class="pe">p.</span> <span class="numberBot">800.809.7000</span><br></div>
<div><span class="pe">e.</span> <a href="mailto: [email protected]" onclick="_gaq.push(['_trackEvent', 'Contact', 'Sales', 'Footer'])"><span class="salesTeam">email our sales team</span></a></div>
</div>
I'm trying to track the button click. Any help much appreciated! Thanks all!
I tested your code on a testing site and it worked flawlessly. I used GA Debugger to analyze the http request being sent, and confirmed that it was received by looking at the real-time report for Google Analytics.
Are you sure you're sending it to the correct property and that GA is loaded before the event is happening?