[Fixed] twig keywords
This commit is contained in:
@ -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({
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% if oViewConf.isGA4enabled() %}
|
||||
{% set d3GtmContainerIdString = oViewConf.getGtmContainerId() %}
|
||||
<script>
|
||||
var dataLayer = {{ oViewConf.getGtmDataLayer() }} || [];
|
||||
var dataLayer = {{ oViewConf.getGtmDataLayer()|raw }} || [];
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user