Skip to content

Commit 6651741

Browse files
committed
Add Google Analytics
1 parent 1b065ff commit 6651741

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ui/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@
5050
<link rel="preload" href="/index.css" as="style" />
5151
<link rel="stylesheet" href="/index.css" />
5252
</head>
53+
<!-- Google tag (gtag.js) -->
54+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EX26RXX0YT"></script>
55+
<script>
56+
window.dataLayer = window.dataLayer || [];
57+
function gtag(){dataLayer.push(arguments);}
58+
gtag('js', new Date());
59+
60+
gtag('config', 'G-EX26RXX0YT');
61+
</script>
62+
<!-- End Google tag (gtag.js) -->
5363
<body>
5464
<noscript>You need to enable JavaScript to run this app.</noscript>
5565
<div id="root"></div>

0 commit comments

Comments
 (0)