For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
We have a script that used to be added on the Thankyou page via Additional Script from Admin (order status in the Checkout tab ). The additional script filed will be removed as per new changes in Shopify.
Can you please let us know how we can add that script to the Thankyou page? I have checked the Checkout UI extension and I cannot find a way to add the external JS to the thank you page.
Is there any way we can do that? Or if there is any way for Shopify partners / Developers to have a way to do that. Our App added these scripts but now we are searching for a way to do that.
Hi Shaileshbizspic,
Which the new releases for checkout if would be possible to simply add externally hosted scripts - but it's possible you might be able to use checkout UI extensions to achieve the same functionality, and contain the JS within your app, rather than host it externally. This general process is described in the add custom content to thank you and order status pages tutorial. Would this work for you?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
@shaileshbizspic @abhi4924 @Liam
I know this thread has been dead a long time but anyone figure out the answer to this?
Hi did you get how to implement this ?
hello have you found any solution? It will be great help for me.
Housing JS snippets in Web Pixels has been fully releases as of early this year I believe:
https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels
Hey Liam , can you explain how can we keep the JS within our app and access it from the Thank you page ?
Thanks in Advance 🙏
Hi, did you get how to implement it ?