diff --git a/modules/blox-bootstrap/layouts/partials/components/feedback.html b/modules/blox-bootstrap/layouts/partials/components/feedback.html index 22f193ce..f32f2e87 100644 --- a/modules/blox-bootstrap/layouts/partials/components/feedback.html +++ b/modules/blox-bootstrap/layouts/partials/components/feedback.html @@ -1,4 +1,4 @@ -{{ $ga := site.Params.marketing.analytics.google_analytics | default site.GoogleAnalytics | default "" }} +{{ $ga := site.Params.marketing.analytics.google_analytics | default site.Config.Services.GoogleAnalytics.ID | default "" }} {{ $show_feedback := .Params.feedback | default true }} {{ if hugo.IsProduction | and $ga | and $show_feedback }} diff --git a/modules/blox-seo/layouts/partials/analytics/google_analytics.html b/modules/blox-seo/layouts/partials/analytics/google_analytics.html index 91b9ca8b..5bce5bec 100644 --- a/modules/blox-seo/layouts/partials/analytics/google_analytics.html +++ b/modules/blox-seo/layouts/partials/analytics/google_analytics.html @@ -1,4 +1,4 @@ -{{ $ga := site.Params.marketing.analytics.google_analytics | default site.GoogleAnalytics | default "" }} +{{ $ga := site.Params.marketing.analytics.google_analytics | default site.Config.Services.GoogleAnalytics.ID | default "" }} {{ if hugo.IsProduction | and $ga }} diff --git a/modules/blox-tailwind/layouts/partials/components/feedback.html b/modules/blox-tailwind/layouts/partials/components/feedback.html index ebb713c6..7008b45b 100644 --- a/modules/blox-tailwind/layouts/partials/components/feedback.html +++ b/modules/blox-tailwind/layouts/partials/components/feedback.html @@ -1,5 +1,5 @@ {{/* TODO: port JS & response text from Bootstrap module. Re-integrate with GA plus Fathom/Plausible */}} -{{/* $ga := site.Params.marketing.analytics.google_analytics | default site.GoogleAnalytics | default "" */}} +{{/* $ga := site.Params.marketing.analytics.google_analytics | default site.Config.Services.GoogleAnalytics.ID | default "" */}} {{ $show_feedback := .Params.feedback | default true }} {{ if hugo.IsProduction | and $show_feedback }}{{/* | and $ga */}}