try to add google analytics

This commit is contained in:
Cooper Ransom 2024-02-28 18:09:11 -05:00
parent a11711faad
commit 9807d37e07
1 changed files with 11 additions and 0 deletions

View File

@ -2,6 +2,13 @@
<html lang="en" dir="ltr">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-P8FN4Z7Q');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport"
@ -158,6 +165,10 @@
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P8FN4Z7Q"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>