[Fixed] twig keywords

This commit is contained in:
2025-06-13 14:20:55 +02:00
parent 6287da7f18
commit ed6d43b220
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
{% block d3_ga4_view_item_block %}
{% set d3_ga4_view_item %}
{% spaceless %}
{% apply spaceless %}
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
dataLayer.push({

View File

@ -5,7 +5,7 @@
{% if oViewConf.isGA4enabled() %}
{% set d3GtmContainerIdString = oViewConf.getGtmContainerId() %}
<script>
var dataLayer = {{ oViewConf.getGtmDataLayer() }} || [];
var dataLayer = {{ oViewConf.getGtmDataLayer()|raw }} || [];
</script>
{% endif %}