Update Google Site Tag for UA property (#3832)

* Update Google Site Tag for UA property

Switching over our Google Analytics tag to send data to our UA property instead of the previous GA4 property.

* Update website/views/layouts/layout.ejs

Reverted Whitespace changes

Co-authored-by: eashaw <eric@fleetdm.com>

Co-authored-by: eashaw <eric@fleetdm.com>
This commit is contained in:
Andrew Baker 2022-01-21 17:19:51 -05:00 committed by GitHub
parent 81672ee50e
commit 9dd6968c5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,8 @@
if (sails.config.environment === 'production') { %>
<% /* Google Analytics, Google Tag Manager, Snitcher etc. */ %>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JC3DRNY1GV"></script>
<script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-JC3DRNY1GV');</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-182153798-1"></script>
<script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-182153798-1');</script>
<%/* Snitcher analytics code */%>
<script>
!function(s,n,i,t,c,h){s.SnitchObject=i;s[i]||(s[i]=function(){