We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae29c52 commit f63330aCopy full SHA for f63330a
_includes/head.html
@@ -47,7 +47,7 @@
47
{% endif %}
48
49
{% seo %}
50
- {%- if site.google_analytics -%}
+ {%- if site.google_analytics and jekyll.environment == "production" -%}
51
{%- include google-analytics.html -%}
52
{%- endif -%}
53
{%- include head-scripts.html -%}
0 commit comments