Hi,
I’ve subscribed to the “checkout_completed” event in our Custom Pixel setup using the following code:
analytics.subscribe(“checkout_completed”, (event) => {
window.dataLayer.push({
event: “checkout_completed”,
orderId: event.orderId,
currency: event.currency,
value: event.value,
});
});
During testing, I can see other events like “page_view” being pushed successfully to the dataLayer after checkout. And when logging all events, most are captured — except for “checkout_completed”, which does not appear at all.
It seems like either this event is not being emitted correctly by the pixel, or there’s a condition preventing it from firing. Could someone please help with the event so that triggered properly?
Thanks!