ScriptTagDisplayScope enum

Version unstable

The page or pages on the online store where the script should be included.

Values

  • ALL

    Include the script on both the web storefront and the order status page.

  • ONLINE_STORE

    Include the script only on the web storefront.

  • ORDER_STATUS

    Include the script only on the order status page.

Types that return ScriptTagDisplayScope

Version 2021-10 (Release candidate)

The page or pages on the online store where the script should be included.

Values

  • ALL

    Include the script on both the web storefront and the order status page.

  • ONLINE_STORE

    Include the script only on the web storefront.

  • ORDER_STATUS

    Include the script only on the order status page.

Types that return ScriptTagDisplayScope

Version 2021-07 (Latest)

The page or pages on the online store where the script should be included.

Values

  • ALL

    Include the script on both the web storefront and the order status page.

  • ONLINE_STORE

    Include the script only on the web storefront.

  • ORDER_STATUS

    Include the script only on the order status page.

Types that return ScriptTagDisplayScope

Version 2021-04

The page or pages on the online store where the script should be included.

Values

  • ALL

    Include the script on both the web storefront and the order status page.

  • ONLINE_STORE

    Include the script only on the web storefront.

  • ORDER_STATUS

    Include the script only on the order status page.

Types that return ScriptTagDisplayScope

Version 2021-01

The page or pages on the online store where the script should be included.

Values

  • ALL

    Include the script on both the web storefront and the order status page.

  • ONLINE_STORE

    Include the script only on the web storefront.

  • ORDER_STATUS

    Include the script only on the order status page.

Types that return ScriptTagDisplayScope

Version 2020-10

The page or pages on the online store where the script should be included.

Values

  • ALL

    Include the script on both the web storefront and the order status page.