| Current Path : /var/www/surf/TYPO3/vendor/torresani/sculptor/Configuration/TypoScript/Page/ |
| Current File : /var/www/surf/TYPO3/vendor/torresani/sculptor/Configuration/TypoScript/Page/Css-Js.typoscript |
config.removeDefaultCss = 1
config.compressCss = 0
#config.concatenateCss = 1
##config.moveJsFromHeaderToFooter = 1
config.removeDefaultJS = 1
#config.compressJs = 1
#config.concatenateJs = 1
page.includeCSS {
# styles=EXT:sculptor/Resources/Public/Css/style.css
}
page.includeJS {
}
page.includeJSFooter {
}
["{$plugin.tx_sculptor.settings.googleTagManagerTagId}" != ""]
page.headerData {
1 = TEXT
1.value (
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{$plugin.tx_sculptor.settings.googleTagManagerTagId}');</script>
<!-- End Google Tag Manager -->
)
}
[end]
["{$plugin.tx_sculptor.settings.googleAnalyticsId}" != ""]
page.headerData {
2 = TEXT
2.value (
<script async src="https://www.googletagmanager.com/gtag/js?id={$plugin.tx_sculptor.settings.googleAnalyticsId}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{$plugin.tx_sculptor.settings.googleAnalyticsId}');
</script>
)
}
[end]