Jump to content


Photo
- - - - -

Event Tracking: Utme Data Not Passing When Using Url


  • Please log in to reply
2 replies to this topic

#1 andyd

andyd

    New Member

  • Members
  • Pip
  • 2 posts

Posted 02 May 2012 - 02:30 PM

Any suggestions would be much appreciated, I am having trouble getting event tracking to work when using an image or text as a link. Using the same code but adding # for the href location works fine. I have tried using absolute and relative links to see if this altered anything without success. If anyone could suggest anything it would be most appreciated:

:
Does not work
<a href="../contact_us.html"  onClick="_gaq.push(['_trackEvent', 'Acts', 'Contact NAV', 'test']);">TEST</a>

Does not work
<a href="../contact_us.html"  onClick="_gaq.push(['_trackEvent', 'Acts', 'Contact NAV', 'test']);"><img src="images/acts_tv.jpg" alt="" width="415" height="349" /></a>

Works
 <a href="#"  onClick="_gaq.push(['_trackEvent', 'Acts', 'Contact NAV', 'test']);">TEST</a>

This is the only version where event data is passed via the utme cookie: 5(Acts*Contact NAV*Test)


Cheers

Andy

#2 Kevin Gallagher

Kevin Gallagher

    Member

  • Members
  • PipPip
  • 13 posts

Posted 14 May 2012 - 11:21 AM

Hi,

You maybe want to check out http://gaconfig.com/...event-tracking/ Raven tools set up a wizard to help with these kinds of things. It might help you debug? Let me know how you get on.

#3 tpcast

tpcast

    New Member

  • Members
  • Pip
  • 1 posts

Posted 23 April 2013 - 07:37 AM

@Kevin, Neat tool. I found it useful.
Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users