How can I add a scriptTag on the post-purchase page?
It’s not available in display scopes, and if scope is set to ALL it still doesn’t show up on the post-purchase page.
When will Shopify be adding a display scope for post-purchase for scriptTags?
Main issue: Adding a scriptTag to the post-purchase (thank you/order status) page isn’t supported via scriptTag display scopes. Even setting the scope to ALL does not load the script on that page.
Workaround: Use the “Additional Scripts” field on the Order status page in Admin > Settings > Checkout. Inserting code there will run on the post-purchase page.
Outcome/status: An immediate, practical method (Additional Scripts) was provided to inject code on the thank-you page. The request and timeline for an official scriptTag display scope for post-purchase remain unanswered and open.
How can I add a scriptTag on the post-purchase page?
It’s not available in display scopes, and if scope is set to ALL it still doesn’t show up on the post-purchase page.
When will Shopify be adding a display scope for post-purchase for scriptTags?
Hi @buildpath , you can inject some script on post-purchase (thank you page), with additional scripts. Admin / Settings / Checkout. Scroll down to Order status page, there is a field Additional Script. Insert your code there. ![]()
Hope this helps!