Script tags provide URLs to remote JavaScript files that are loaded on full page loads on all pages of a shop’s storefront as well as the order confirmation page. This simplifies adding functionality to specific shop pages without touching theme templates.
When an app is uninstalled from a shop, all of the automatically generated script tags are removed along with it.
The following resources are available to work with script tags:
- GET /{shopId}/script-tags Now
- POST /{shopId}/script-tags Now
- DELETE /{shopId}/script-tags/{scriptTagId} Now