Skip to content

Commit 4072a12

Browse files
committed
Added google analytics script
1 parent 9d1292a commit 4072a12

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

_includes/head.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,14 @@
1818
<script src="/js/main.js" defer></script>
1919
<!-- <script src="https://cdn.tailwindcss.com"></script> -->
2020

21+
<!-- Google tag (gtag.js) -->
22+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FPK1D696LN"></script>
23+
<script>
24+
window.dataLayer = window.dataLayer || [];
25+
function gtag() { dataLayer.push(arguments); }
26+
gtag('js', new Date());
27+
28+
gtag('config', 'G-FPK1D696LN');
29+
</script>
30+
2131
</head>

0 commit comments

Comments
 (0)