diff --git a/config.yaml b/config.yaml index 0db470a..b32c962 100644 --- a/config.yaml +++ b/config.yaml @@ -1,5 +1,6 @@ baseURL: https://grpc.io/ disableKinds: [taxonomy, term] +googleAnalytics: G-8H17ZWYV40 theme: [docsy] diff --git a/layouts/partials/google-analytics.html b/layouts/partials/google-analytics.html deleted file mode 100644 index 9203618..0000000 --- a/layouts/partials/google-analytics.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ $ga4_id := "G-8H17ZWYV40" -}} -{{ $cnfc_id := "UA-163836834-2" -}} -{{ $google_id := "UA-60127042-1" -}} - - diff --git a/layouts/partials/hooks/head-end.html b/layouts/partials/hooks/head-end.html index d3c0350..4febb37 100644 --- a/layouts/partials/hooks/head-end.html +++ b/layouts/partials/hooks/head-end.html @@ -1,5 +1,2 @@ -{{ if hugo.IsProduction -}} - {{ partial "google-analytics.html" . -}} -{{ end -}} {{ partial "meta.html" . -}} {{ partial "favicons.html" . -}}