Adding Script to Thank You page after Order complete through API.

New Member
1 0 0

I want to add js code to the thank you page through API. I can't find any way.Please help me.

0 Likes
Shopify Expert
341 24 62

I'm trying to find a way to do this also.

 

I don't think it's possible :/

Founder of Speed Boostr (Shopify optimization and dev agency).
Creator of Order Automator (app that auto fulfills orders, adds tags, emails).
Creator of Shopify Analyzer (free performance analysis tool).
I also build custom apps and automated solutions.
Enjoy the adventure!
0 Likes
Highlighted

I think you're looking for the ScriptTag API https://help.shopify.com/en/api/reference/online-store/scripttag

 

Make sure to use order_status as the display_scope.

Check out Store Recon on the app store.
1 Like
Shopify Expert
341 24 62

Cool I'll give it a test. Not sure if it will work though because I'm looking to use liquid as well, this seems like it will add a 3rd party script rather than allow the same liquid / JS embed as you can do in the Additional scripts area.

 

Thanks I didn't know about this one 👍

Founder of Speed Boostr (Shopify optimization and dev agency).
Creator of Order Automator (app that auto fulfills orders, adds tags, emails).
Creator of Shopify Analyzer (free performance analysis tool).
I also build custom apps and automated solutions.
Enjoy the adventure!
0 Likes