Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Inject pixel tracking script on the post-purchase page via API

Shopify Partner
2 0 1


Is there a way to inject a pixel tracking script on the post-purchase page via API?

I see it's possible manually, but I can't find the relevant API call.

Note that ScriptTag only works on the order-status page, and not on the post-purchase page.




Can someone please help me with this?




Reply 1 (1)

Shopify Partner
59 11 19

I'm trying to find this as well - currently it seems to be an oversight on Shopify's end since the Post-Purchase process was added in the last year or so. 😞

Ecom entrepreneur since 2004 | Shopify App developer since 2021 | Shopify merchant and theme developer since 2016