From 262c9572f931987d9da27dee6526432f541ffea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 8 Jun 2022 09:04:13 +0200 Subject: [PATCH] Adjust cookiebanner implementation once more --- .../Configuration/TypoScript/Page/Main.typoscript | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript index 77cf2ee0..7aad1ae5 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript +++ b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript @@ -186,23 +186,21 @@ page { headerData.990 = TEXT headerData.990 { - wrap = - value = {$plugin.tx_eptheme.settings.cookieFirstKey} + value = if.isTrue = {$plugin.tx_eptheme.settings.cookieFirstKey} } headerData.995 = TEXT headerData.995 { - wrap ( + value ( - + })(window,document,'script','dataLayer','{$plugin.tx_eptheme.settings.googleTagManagerId}'); ) - value = {$plugin.tx_eptheme.settings.googleTagManagerId} if.isTrue = {$plugin.tx_eptheme.settings.googleTagManagerId} } }