How to add js file to available at store front ?

I am developing an app , according to shopify requirements I need to show up some data at store front side like in product details page, user account page and so on. Since editing liquid file is prohibited now how can I add those data using a single js file and once my client install my app this js file will be available automatically in my application store front ?

To add a js file to the merchant’s store when they install your app, you can use Shopify’s ScriptTag resource.

1 Like

for adding script tag i must do it from merchant side. but I want it will automatically add when install my app.

1 Like