We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebd230d commit c35aee3Copy full SHA for c35aee3
2 files changed
_includes/analytics.html
@@ -0,0 +1,10 @@
1
+<!--Global Site Tag (gtag.js) - Google Analytics -->
2
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-107131347-1"></script>
3
+<script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments)};
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', 'UA-107131347-1');
9
+</script>
10
_layouts/default.html
@@ -16,6 +16,8 @@
16
{% include footer.html %}
17
{% include modals.html %}
18
{% include js.html %}
19
-
+ {% if jekyll.environment == 'production' %}
20
+ {% include analytics.html %}
21
+ {% endif %}
22
</body>
-</html>
23
+</html>
0 commit comments