Skip to content

Commit 6617d5e

Browse files
author
Diana Cheng
committed
added Google Tag
1 parent 3320e42 commit 6617d5e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,15 @@
8383
</script>
8484
<!-- End Single Page Apps for GitHub Pages -->
8585
</head>
86+
<!-- Google tag (gtag.js) -->
87+
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-17375373403"></script>
88+
<script>
89+
window.dataLayer = window.dataLayer || [];
90+
function gtag(){dataLayer.push(arguments);}
91+
gtag('js', new Date());
8692

93+
gtag('config', 'AW-17375373403');
94+
</script>
8795
<body>
8896
<div id="root"></div>
8997
<script type="module" src="/src/main.tsx"></script>

0 commit comments

Comments
 (0)