From 39707dd0401ece9e2c715fc7573505eda84b6628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 7 Jun 2022 21:36:18 +0200 Subject: [PATCH] Properly integrate Cookie First and GTM scripts --- .../TypoScript/Page/Main.typoscript | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 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 fd5a776c..1498da6a 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript +++ b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript @@ -184,8 +184,15 @@ page { } ) - headerData.998 = TEXT - headerData.998.value ( + headerData.990 = TEXT + headerData.990 { + wrap = + value = {$plugin.tx_eptheme.settings.cookieFirstKey} + if.isTrue = {$plugin.tx_eptheme.settings.cookieFirstKey} + } + + headerData.995 = TEXT + headerData.995.value ( - value = {$plugin.tx_eptheme.settings.cookieFirstKey} - if.isTrue = {$plugin.tx_eptheme.settings.cookieFirstKey} - } } [page["backend_layout"] == 'pagets__popup']