fix bug that'd stop jquery from running duo to no-datalayer error

This commit is contained in:
MaxBUhe 2023-01-19 09:32:38 +01:00
parent a74b6d9f15
commit b861aef8a9

View File

@ -26,6 +26,10 @@
[{/if}] [{/if}]
[{/strip}][{/if}] [{/strip}][{/if}]
[{else}]
<script>
var dataLayer = [{$oViewConf->getGtmDataLayer()}] || [];
</script>
[{/if}] [{/if}]
[{else}] [{else}]
[{if $oViewConf->getGtmContainerId()}][{strip}] [{if $oViewConf->getGtmContainerId()}][{strip}]