Skip to content

Commit f45ff1c

Browse files
committed
Add Google Analytics
1 parent afe7889 commit f45ff1c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dist/index.html

+14
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,20 @@
1111
<!-- JS -->
1212
<script src="./bundle/index.js" async defer></script>
1313

14+
<!-- Google tag (gtag.js) -->
15+
<script
16+
async
17+
src="https://www.googletagmanager.com/gtag/js?id=G-2RLZMFEG8C"
18+
></script>
19+
<script>
20+
window.dataLayer = window.dataLayer || [];
21+
function gtag() {
22+
dataLayer.push(arguments);
23+
}
24+
gtag("js", new Date());
25+
gtag("config", "G-2RLZMFEG8C");
26+
</script>
27+
1428
<!-- Favicon -->
1529
<link
1630
href="./images/favicon-128.png"

0 commit comments

Comments
 (0)