Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 596f85f

Browse files
authored
[analytics]: added google analytics;
1 parent 2583fa5 commit 596f85f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@
2525
Learn how to configure a non-root public URL by running `npm run build`.
2626
-->
2727
<title>React + TS + Vite + Tailwind</title>
28+
29+
<!-- Google tag (gtag.js) -->
30+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3G1RNC5YLT"></script>
31+
<script>
32+
window.dataLayer = window.dataLayer || [];
33+
function gtag(){dataLayer.push(arguments);}
34+
gtag('js', new Date());
35+
36+
gtag('config', 'G-3G1RNC5YLT');
37+
</script>
38+
2839
</head>
2940
<body>
3041
<noscript>You need to enable JavaScript to run this app.</noscript>

0 commit comments

Comments
 (0)