• Resolved earthjibber

    (@earthjibber)


    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

    https://www.ads-software.com/plugins/ga-nav-menus-tracking/

Viewing 1 replies (of 1 total)
  • Thread Starter earthjibber

    (@earthjibber)

    ok, it’s working, just needed to wait a full 24 hours. I only waited about 15 hours.

    my bad

Viewing 1 replies (of 1 total)
  • The topic ‘Tracking code output is incorrect’ is closed to new replies.