A space to discuss online store customization, theme development, and Liquid templating.
Hi all,
Trying to migrating a client to checkout extensibility. Part of this is migrating their Order Status and Thank You scripts into Custom web pixels.
There doesn't look to be equivalent events for running these scripts/trackers on the new Order Status and Thank You pages.
checkout_complete only fires once.
Are we to use the page_viewed and check event.context.window.location to parse the current URL to see if we're on either of those pages, then load the tracking SDK within the subscribed event?
Similarly, if the scripts are only SDK's (no additional data being pushed), do we wrap those in an event subscription to prevent them loading sitewide?
Any pointers are much appreciated.
Thanks!
I have a similar issue 😐 Anyone out there with inspiration?