Event Tracking Code Is Not Working

Author Topic: Event Tracking Code Is Not Working  (Read 855 times)

Offline techninjaTopic starter

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 4
  • Karma: 0
Event Tracking Code Is Not Working
« on: 08-28-2015, 16:30:35 »
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!


 

Related Topics

  Subject / Started by Replies Last post
3 Replies
1570 Views
Last post 07-09-2012, 05:58:05
by RichardSmith
0 Replies
1634 Views
Last post 12-30-2014, 04:05:21
by strawberrybob
0 Replies
1148 Views
Last post 01-20-2015, 00:49:12
by nancyisabell
1 Replies
1438 Views
Last post 03-30-2015, 03:51:18
by uditsh
2 Replies
791 Views
Last post 02-20-2017, 04:57:11
by vbnick