Doesn't work for me
-
GA code is present, latest WP + plugin.
It adds this to the menu link
<a href="https://example.com/product">Product</a> <span style="display:none;" class="ga-tracking" data-method="_trackEvent" data-category="navmenu" data-action="click" data-label="Product" data-value="" data-noninteraction=""></span>
while I expect this (according to Google)
<a href="https://example.com/product" onClick="_gaq.push(['_trackEvent', 'navmenu', 'click', 'Product']);">Product</a>
No data in Analytics. Do I have to prepare anything in Analytics as well?
- The topic ‘Doesn't work for me’ is closed to new replies.