Skip to content

Commit 1474776

Browse files
authored
Add Google analytics
1 parent be049b8 commit 1474776

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

_includes/tracking-header.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
<!-- This goes before </head> closing tag, Google Analytics can be placed here -->
1+
<!-- This goes before </head> closing tag, Google Analytics can be placed here -->
2+
3+
<!-- Global site tag (gtag.js) - Google Analytics -->
4+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YFVVT140ZR"></script>
5+
<script>
6+
window.dataLayer = window.dataLayer || [];
7+
function gtag(){dataLayer.push(arguments);}
8+
gtag('js', new Date());
9+
10+
gtag('config', 'G-YFVVT140ZR');
11+
</script>

0 commit comments

Comments
 (0)