If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Event Tracking Code Is Not Working

Started by techninja, 08-28-2015, 16:30:35

Previous topic - Next topic

techninjaTopic starter

Hi,

My events are not showing in Google analytics.
I have added this code to my website but found events are not shown in reporting section.

<a href="javascript:void(0)" onclick="_gaq.push(['_trackEvent','arrows','click','backarrow',, 'true'])"><span class="arrow-left"></span></a>


But someone was suggested me to use this code instead above

<a href="javascript:void(0)" onClick="_gaq.push(['_trackEvent', 'arrows', 'click', 'backarrow',, true]);"><span class="arrow-left"></span></a>

I am curious to know which code is correct and what's the main reason

Hope I'll get some good answers from this forum.

Thanks!
  •  



If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...