Tracking code output is incorrect
-
Hi great plugin, however it looks like the output of your plugin is incorrect. I used the Google Analytics Debugger and there is no output for the tracking codes I added to my nav menus in the js console.
It also looks like Wendihihihi is also seeing the same problem as mentioned in her support comment from 5 months ago.
This is what I get with your plugin:
<a href="/page-url">Menu Item</a> <span style="display:none;" class="ga-tracking" data-method="_trackEvent" data-category="Category" data-action="Action" data-label="Label" data-value="" data-noninteraction=""></span>
I have also added tracking codes manually as referenced in the developers guide here: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide#implementationConsiderations
Here is my code output for a button within page content that is working:
<a onclick="_gaq.push(['_trackEvent', 'Category', 'Action', 'Label']);" href="#"><span>Title of button</span></a>
If I am using the plugin incorrectly I would love to get some help on this, I would like to get this working.
thanks
- The topic ‘Tracking code output is incorrect’ is closed to new replies.