Open jerry-bennett opened 1 year ago
window.dataLayer = window.dataLayer || []; dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object. dataLayer.push({ "event": "purchase", "detailed_event": "Event Booking Completed", "ecommerce": { "currency": "<currency>", "items": [ { "item_id": "<item_id>", "item_name": "<item_name>" } ], "transaction_id": "<transaction_id>", "value": <value> } });
@jerry-bennett This will be ready for QA in Hubspot. I manually created in GTM vs. Apollo.
Event Booking Completed
Javascript Code
Variable Definitions