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
1 changed files with 4 additions and 0 deletions

View File

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