1

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?

2 Answers 2

1

Unless you are on Shopify plus account you can't.

The only way to add script tags is via the Additional Scripts in the checkout settings page.

Sign up to request clarification or add additional context in comments.

Comments

1

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

1 Comment

Can I add the script tag to asyncLoad function to thank you page with this API ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.