• Resolved Florent

    (@frappi)


    Hello,

    Google Analytic recommand to add a tracking code in the header something like this :

    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1234567890-1"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-1234567890-1');
    </script>

    After installing this plugin I searched in the HTML code of my page and I cannot find anything related to Google Analytic, so how does it work ?

    Thanks for this great plugin,

    Fl

Viewing 1 replies (of 1 total)
  • Hi,

    Please make sure you’re not logged in while checking the tracking code. If you exclude Administrators from tracking and check the tracking code while logged in as an admin, you won’t be able to find the tracking code.

    • This reply was modified 6 years, 10 months ago by Alin Marcu.
Viewing 1 replies (of 1 total)
  • The topic ‘Should I add Google tracking code in the section of my site ?’ is closed to new replies.