diff --git a/website/layouts/partials/head.html b/website/layouts/partials/head.html
index 9bd695e1..d54d0463 100644
--- a/website/layouts/partials/head.html
+++ b/website/layouts/partials/head.html
@@ -16,6 +16,7 @@
{{- partial "twitter_cards.html" . -}}
+
{{ if eq (getenv "HUGO_ENV") "production" }}
{{ template "_internal/google_analytics_async.html" . }}