Simple app to add script tag to store

Shopify Partner
1 0 0

I'm new to Shopify but an experienced developer. I'd like to create an app that simply adds a script tag to someone's store. The script tag is for my startup which allows customers to easily get user feedback on their shop, run surveys and give customer support nudges.

I've looked at various Shopify app tutorials but I'm still not totally sure how to do this.

- Is this possible? Could anyone give me some pointers?

- Are there any relevant app guidelines that I should be aware of given what I'm trying to achieve?

Replies 2 (2)
Shopify Partner
45 0 7

Hey Nick,

You can indeed. Take a look a the link below. I'm assuming you've got as far as this? Have you dealt with installing the app on a store/authorisation etc?

Basically, you tell Shopify where to add the script tag and the URL for that tag. Include all your JS code in the specified file and you're good to go.



Kind regards, Andy Lower PandaCake Shopify Partners
New Member
1 0 0

Hello, I'm confused how script_tag in shopify works. I did POST in script_tags.json of my shopify store. I am using reactjs with polaris as UI. I'm not sure what to include in the "scr" of the script_tag. How to serve my js file so that it can be seen in the storefront. By the way, I am using ngrok to tunnel my app. Can someone share ideas how to do this? Thank you