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 11b019e commit 385d655Copy full SHA for 385d655
docs/_includes/base.html
@@ -93,6 +93,18 @@ <h1>{{ title | upcase }}</h1>
93
});
94
</script>
95
96
+{% if project.node_env == 'production' %}
97
+ <!-- Global site tag (gtag.js) - Google Analytics -->
98
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-94030773-1"></script>
99
+ <script type="text/javascript">
100
+ window.dataLayer = window.dataLayer || [];
101
+ function gtag(){dataLayer.push(arguments);}
102
+ gtag('js', new Date());
103
+
104
+ gtag('config', 'UA-94030773-1');
105
+ </script>
106
+{% endif %}
107
108
{% for link in scripts -%}
109
<script type="text/javascript" src="{{ link | url }}"></script>
110
{% endfor -%}
0 commit comments