- replace universal analytics with GA-4

This commit is contained in:
Michael Townsend
2023-01-01 15:49:09 -05:00
parent 29e1e25063
commit 431b72fab8
+6 -7
View File
@@ -86,15 +86,14 @@
<link rel="stylesheet" type="text/css" href="css/space.css" />
<script src="script/localization.js"></script>
<!-- Google Analytics -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-606P6J79WH"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
ga('create', 'UA-41314886-1', 'doublespeakgames.com');
ga('send', 'pageview');
gtag('config', 'G-606P6J79WH');
</script>
</head>