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]