Add analytics

This commit is contained in:
Ben Grant 2021-03-11 14:24:10 +11:00
parent 920f29e465
commit acca49a39a

View file

@ -23,6 +23,16 @@
<link rel="stylesheet" href="%PUBLIC_URL%/index.css"> <link rel="stylesheet" href="%PUBLIC_URL%/index.css">
<title>Crab Fit</title> <title>Crab Fit</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-E6S1CDFBCD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-E6S1CDFBCD');
</script>
</head> </head>
<body> <body>
<noscript><h1>🦀 Crab Fit doesn't work without Javascript 🏋️</h1><p>Enable Javascript or try a different browser.<p></noscript> <noscript><h1>🦀 Crab Fit doesn't work without Javascript 🏋️</h1><p>Enable Javascript or try a different browser.<p></noscript>