diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 75e1335..b2aaef6 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -57,7 +57,7 @@
{{ end }}
- {{ if hugo.IsProduction | eq site.Params.env "production" }}
+ {{ if or hugo.IsProduction (eq site.Params.env "production") }}
{{ template "_internal/google_analytics_async.html" . }}