Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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!
Hi.
I faced a similar problem and I've avoided it by implementing a workaround.
I'm not sure that your problem is the same, but please refer this post for your reference.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025