add missing param to check if isRemoveFromCart

This commit is contained in:
MaxBUhe 2023-08-03 15:09:12 +02:00
parent 22bec30621
commit c0206f741f

View File

@ -7,6 +7,7 @@
[{capture assign=d3_ga4_view_cart}] [{capture assign=d3_ga4_view_cart}]
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */ dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
dataLayer.push({ dataLayer.push({
'isRemoveFromCart': true,
'event': 'remove_from_cart', 'event': 'remove_from_cart',
'eventLabel':'remove_from_cart', 'eventLabel':'remove_from_cart',
'ecommerce': { 'ecommerce': {