From c17ae1cef5c48b3bf35e4faea37a1f85e31f3c7d Mon Sep 17 00:00:00 2001 From: MaxBUhe Date: Wed, 31 May 2023 14:11:50 +0200 Subject: [PATCH] fix explicit manager bug bug would adjust the script even if the check for an own cookieManager is not set --- Application/views/blocks/_gtm_nojs.tpl | 2 +- Modules/Core/ViewConfig.php | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Application/views/blocks/_gtm_nojs.tpl b/Application/views/blocks/_gtm_nojs.tpl index 05c78fb..98a47ad 100644 --- a/Application/views/blocks/_gtm_nojs.tpl +++ b/Application/views/blocks/_gtm_nojs.tpl @@ -1,4 +1,4 @@ -[{if $oViewConf->D3blShowGtmScript() && !$oViewConf->getCookieManagerType()}] +[{if $oViewConf->D3blShowGtmScript()}] [{if $oViewConf->getGtmContainerId()}][{strip}]