mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-12 07:27:12 +08:00
- replace universal analytics with GA-4
This commit is contained in:
+6
-7
@@ -86,15 +86,14 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="css/space.css" />
|
<link rel="stylesheet" type="text/css" href="css/space.css" />
|
||||||
|
|
||||||
<script src="script/localization.js"></script>
|
<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>
|
<script>
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
window.dataLayer = window.dataLayer || [];
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
function gtag(){dataLayer.push(arguments);}
|
||||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
gtag('js', new Date());
|
||||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
||||||
|
|
||||||
ga('create', 'UA-41314886-1', 'doublespeakgames.com');
|
gtag('config', 'G-606P6J79WH');
|
||||||
ga('send', 'pageview');
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user