We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bab1aff commit 8d9b545Copy full SHA for 8d9b545
_includes/google-analytics.html
@@ -0,0 +1,8 @@
1
+<!-- Global site tag (gtag.js) - Google Analytics -->
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