I wish to add a snippet to all pages of any shopify store. While I can add it to theme.liquid, for the thank you page, I believe I need to add it elsewhere. Is there any way I can bypass that and place the script tag at one place only?
1
votes
2 Answers
1
votes
1
votes
You can include JavaScript on the storefront pages and the thank you page (aka the order status page) using Shopify's ScriptTag API: https://help.shopify.com/api/reference/scripttag