Skip to content

Commit

Permalink
- replace universal analytics with GA-4
Browse files Browse the repository at this point in the history
  • Loading branch information
Continuities committed Jan 1, 2023
1 parent 29e1e25 commit 431b72f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 431b72f

Please sign in to comment.