From 317e3499d18447e7b8da5451b26fd59b23b16e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 7 Jun 2022 21:40:48 +0200 Subject: [PATCH] Fix incorrect typoscript values --- .../TypoScript/Page/Main.typoscript | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 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 1498da6a..77cf2ee0 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript +++ b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript @@ -192,16 +192,19 @@ page { } headerData.995 = TEXT - headerData.995.value ( + headerData.995 { + wrap ( + })(window,document,'script','dataLayer','|'); - ) - headerData.998.stdWrap.if.isTrue = {$plugin.tx_eptheme.settings.googleTagManagerId} + ) + value = {$plugin.tx_eptheme.settings.googleTagManagerId} + if.isTrue = {$plugin.tx_eptheme.settings.googleTagManagerId} + } } [page["backend_layout"] == 'pagets__popup'] @@ -209,16 +212,16 @@ page { page.bodyTagCObject = TEXT page.bodyTagCObject.value = page.headerData.333 > - page.headerData.998 > - page.headerData.999 > + page.headerData.990 > + page.headerData.995 > [end] [like(request.getNormalizedParams().getHttpUserAgent(), "*Googlebot*")] - page.headerData.998 > - page.headerData.999 > + page.headerData.990 > + page.headerData.995 > [end] [applicationContext == "Development" || applicationContext == "Production/Staging"] - page.headerData.998 > - page.headerData.999 > + page.headerData.990 > + page.headerData.995 > [end]