Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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
40 4 14

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.
Reply 1 (1)

ianfleming464
Shopify Partner
4 1 1

I have a similar issue 😐 Anyone out there with inspiration?