Custom web pixel equivalent for Additional Scripts (Order Status & Thank You Page)

Custom web pixel equivalent for Additional Scripts (Order Status & Thank You Page)

AV_SL
Shopify Partner
26 2 3

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!

Biscuits Bundles App - Create beautiful mix and match bundles using native Shopify bundles functionality.
Replies 0 (0)