For the complete documentation index, see llms.txt. This page is also available as Markdown.

Scripts

The Scripts section lets you add custom scripts to your storefront, giving you more control over how the front end behaves.

The most common use is adding a third-party tool. A live chat provider, for example, gives you a script to place on your site, and you paste it here rather than needing a developer to change your template.

How to Add a Script

  1. Click on the name of the store you wish to add the script to

  2. Click on Scripts under Themes

  3. Click on the Create icon

  4. Enter the details on the Settings page

  5. Click on the Script tab

  6. Enter your script

  7. Click Save

  8. Open your storefront and confirm the script works and that the rest of the page still behaves normally

If a third-party script does not load, your content security policy may be blocking it. Add the provider's address under Store Settings > Security & Privacy > Content security policy.

Last updated