Adding Google Analytics Event Tracking to Post HTML Markup
-
I’m trying to adding the following Google Analytics Event Tracking code to the Popular Posts widget so I can get a sense how much it’s being used.
Here’s the snippet placed inside the Post HTML Markup section:
<li onClick="_gaq.push(['_trackEvent', 'Test1', 'Click']);">{thumb} {title} {stats}</li>
Using element inspector on the site I can see the event tracking code there (http://www.jeffsteinke.com/), but the event isn’t going through. Similarly I also tested this same event tracking code outside of the Popular Posts widget and the event tracking worked fine.
Thoughts?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding Google Analytics Event Tracking to Post HTML Markup’ is closed to new replies.