diff --git a/config.toml b/config.toml index 5f57ed32488..f00c26b36eb 100644 --- a/config.toml +++ b/config.toml @@ -117,8 +117,7 @@ anchor = "smart" [services] [services.googleAnalytics] -# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback]. -id = "UA-00000000-0" +id = "G-JPP6RFM2BP" [params] copyright_k8s = "The Kubernetes Authors" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ccfb47f8f1c..b9ab93d3648 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -6,17 +6,6 @@ {{- else -}} {{- end -}} -{{- if in (slice "production" "nonprod") hugo.Environment -}} - - - -{{- end -}} {{ range .Translations -}} @@ -36,7 +25,7 @@ {{- template "_internal/schema.html" . -}} {{- template "_internal/twitter_cards.html" . -}} {{- if hugo.IsProduction -}} -{{ template "_internal/google_analytics_async.html" . }} +{{ template "_internal/google_analytics.html" . }} {{ end }} {{ partialCached "head-css.html" . "asdf" }}