Script Tag

🔒

Requires order access scope.For more info, refer to:access scope

The ScriptTag represents remote JavaScript code that is loaded into the pages of a shop's storefront. This lets you add functionality to those pages without using theme templates.For example, you can insert a code to track successful payments on the Payment Success page. You can add any of the following:

  • HTML - You can use any valid HTML code, for example, script, style, iframe, and object elements.
  • Liquid code - You have access to the Liquid objects .
  • Tracking scripts - You can add tracking scripts to track referrals, return on investment, or conversions.

We strongly recommend using the self-closing tag format <> </> and discourage the use of the open-close tag format <... />.