diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a1a9774..1ab95d8 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -33,6 +33,9 @@ + {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} + {{ template "_internal/google_analytics_async.html" . }} + {{ end }}