Okay
  Public Ticket #1762167
Google Analytics
Closed

Comments

  • frakesbd started the conversation

    Hello,  

    My client requested a google analytics tab on his site.  I was told to plug this code into each page:

    <!-- Global site tag (gtag.js) - Google Analytics -->

    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());
    gtag('config', 'UA-128118094-1');
    </script>

    I plugged this segment into the section: Salient > General Settings > CSS/Script Related > Google Analytics

    It is now showing at the top of my site? Did I enter the wrong code or am I entering it into the wrong portion of the site?

    Best,

    ---

    Gabe

  • frakesbd replied

    Scratch that. I found an error in the formatting. Thank you!