add google analytics (#8)

This commit is contained in:
Pavel 2021-02-07 21:36:40 +03:00 committed by GitHub
parent 55fc5ca952
commit 8ef75e55dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,14 @@
</head>
<body>
<script src="/bundle.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6ZTQKE1D4L"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-6ZTQKE1D4L');
</script>
<div id="root"></div>
</body>
</html>