diff --git a/modules/blox-bootstrap/layouts/partials/components/feedback.html b/modules/blox-bootstrap/layouts/partials/components/feedback.html index 22f193ce5..5cbae9223 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 "" }} {{ $show_feedback := .Params.feedback | default true }} {{ if hugo.IsProduction | and $ga | and $show_feedback }} diff --git a/modules/blox-tailwind/layouts/partials/components/feedback.html b/modules/blox-tailwind/layouts/partials/components/feedback.html index ebb713c6e..5087dd0c9 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 "" */}} {{ $show_feedback := .Params.feedback | default true }} {{ if hugo.IsProduction | and $show_feedback }}{{/* | and $ga */}}