• Resolved khartist

    (@khartist)


    Does the Google Analytics code get pasted into the Theme File Editor > header.php, directly after the <head> element?

    <!-- Google tag (gtag.js) -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-0L51ZZTT1Y"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'G-0L51ZZTT1Y');
    </script>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google analytics code’ is closed to new replies.