Ad

Adding Javascript To All Shopify Pages

- 1 answer

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?

Ad

Answer

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.

Ad
source: stackoverflow.com
Ad