Skip to content

Commit 6fee1b5

Browse files
committed
update legacy UA analytics to GA4
1 parent 32ab35b commit 6fee1b5

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

index.html

+10-9
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,16 @@
8484
</head>
8585

8686
<body>
87-
<!-- Google Tag Manager -->
88-
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-P2S8VL"
89-
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
90-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
91-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
92-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
93-
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
94-
})(window,document,'script','dataLayer','GTM-P2S8VL');</script>
95-
<!-- End Google Tag Manager -->
87+
<!-- Google tag (gtag.js) -->
88+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9Y3WGNRMVY"></script>
89+
<script>
90+
window.dataLayer = window.dataLayer || [];
91+
function gtag(){dataLayer.push(arguments);}
92+
gtag('js', new Date());
93+
94+
gtag('config', 'G-9Y3WGNRMVY');
95+
</script>
96+
<!-- End Google tag (gtag.js) -->
9697

9798
<div class="centerbox">
9899
<p class="comingSoon">

0 commit comments

Comments
 (0)