• Resolved kevindp

    (@kevindp)


    I’m unable to find the typical Google Analytics tracking code on our site (although users are being tracked properly according to the Analytics dashboard). I think this has to do with the “Google Analytics” plugin. Instead of showing the standard:

    <script>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,’script’,’https://www.google-analytics.com/analytics.js&#8217;,’ga’);

    ga(‘create’, ‘UA-OURCODE’, ‘auto’);
    ga(‘send’, ‘pageview’);

    </script>

    I see:

    <script>jQuery(document).ready(function () {
    jQuery.post(‘https://OURSITE.com?ga_action=googleanalytics_get_script&#8217;, {action: ‘googleanalytics_get_script’}, function(response) {
    var F = new Function ( response );
    return( F() );
    });
    });</script>

    How can I view the actual tracking code? Thanks in advance for your help!

  • The topic ‘Cannot find Google Analytics code’ is closed to new replies.