Skip to content

Commit 8c74628

Browse files
authored
Added Google Analytics tag
1 parent 250c2c8 commit 8c74628

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

client/public/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727
Learn how to configure a non-root public URL by running `npm run build`.
2828
-->
2929
<title>Bias Tracker</title>
30+
<!-- Global site tag (gtag.js) - Google Analytics -->
31+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-115074345-1"></script>
32+
<script>
33+
window.dataLayer = window.dataLayer || [];
34+
function gtag(){dataLayer.push(arguments);}
35+
gtag('js', new Date());
36+
37+
gtag('config', 'UA-115074345-1');
38+
</script>
3039
</head>
3140
<body>
3241
<noscript>

0 commit comments

Comments
 (0)