Comments frakesbd started the conversationOctober 27, 2018 at 12:25amHello, 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 AnalyticsIt 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,---Gabefrakesbd repliedOctober 27, 2018 at 12:27amScratch that. I found an error in the formatting. Thank you! Sign in to reply ...
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
Scratch that. I found an error in the formatting. Thank you!