New Shopify Certification now available: Liquid Storefronts for Theme Developers

Using <script> in policy pages

david-kaplan
Shopify Partner
11 0 0

Dear community, 

 

I am dealing with a following issue. I would like to insert <script> into a policy page. 
It is a script for customer to easier return a product. 
Unfortunately Shopify blocks scripts in a policies pages for some reason. 

There is a solution to create a an page with same text as policy page and there the script works. But that will be a last resort since the policy page url is in many parts of our store. 

Also for this I can not use Redirect function because it only works for non functioning urls, but the policy page will be still working. 

Do you guys have any advice? 

Thank you very much. 
David 

Replies 0 (0)