GoogleAnalytics4/Application/views/blocks/checkout_s4.tpl

9 lines
336 B
Smarty
Raw Normal View History

2021-07-17 23:22:23 +02:00
<script>
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
dataLayer.push({
"event": "ee.checkout",
'eventLabel': 'Checkou Step 4',
"ecommerce": {"checkout": {"actionField": {"step": 4}}}
});
</script>
[{$smarty.block.parent}]