Skip to content

Commit 495fbee

Browse files
authored
Create head-custom.html
1 parent 5ded6d6 commit 495fbee

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

_includes/head-custom.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!-- Google tag (gtag.js) -->
2+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
3+
<script>
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
gtag('config', '{{ site.google_analytics }}');
8+
</script>

0 commit comments

Comments
 (0)