GoogleAnalytics4/Application/views/blocks/checkout_s2.tpl

18 lines
562 B
Smarty
Raw Normal View History

2021-07-17 23:22:23 +02:00
[{strip}]
<script>
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
dataLayer.push({
'event':'ee.checkout',
'eventLabel':'Checkout Step 2',
'ecommerce': {
'checkout': {
'actionField': {
'step': 2,
2023-01-27 08:59:06 +01:00
'option':'[{oxmultilang ident="vt_GTM_EE_LOGINOPTION"|cat:$oView->getLoginOption()}]'
2021-07-17 23:22:23 +02:00
}
}
}
});
</script>
[{/strip}]
[{$smarty.block.parent}]