Script Tag Properties

🔒

Requires script_tags access scope.

Script Tag Properties

FieldTypeDescExample
idstring
display_scopestringDisplay scopeindex
srcstringScript content<script src="https://shoplazza.com/x.js"></script>
event_typestringTag typemyapp
created_atstringCreation time2024-04-24T07:26:53Z
updated_atstringUpdate time2024-04-24T07:26:53Z

Display Scope

Display ScopeDescURL
allAll pages
indexHome/
productsProduct list page
productProduct detail page
collectionsCollection list page
collectionCollection detail page
cartCart/cart
orderOrder detail page
order_verifyOrder verification page
checkoutCheckout, payment page, payment result page, checkout error page
flashsaleCollectionFlash sale
couponCollectionCoupon
rebateCollectionRebate
couponsCollectionCoupons
automaticCollectionAutomatic discount
searchSearch/search
order_lookupOrder lookup page/account/order_lookup
404404/404
pageCustom page
articleArticle
blogBlog
theme_pageTheme custom page
passwordPassword access restriction/password
customers/accountAccount center/account
customers/loginLogin page/account/login
customers/registerRegistration page/account/register
customers/reset_passwordReset password/account/resetpw
customers/reset_successReset password success/account/resetrs
customers/addressesAddress book/account/addresses
customers/orderOrder in account center/account/order
customers/trackTrack order/account/track
customers/couponCustomer coupon/account/coupon
customers/pointsCustomer points/account/points
customers/point_detailCustomer points detail/account/points/history

Example

{
  "id": "f50950fa-40ec-441f-b98d-e1869050dbf2",
  "display_scope": "all",
  "event_type": "app",
  "src": "<script src=\"https://shoplazza.com/x.js\"></script>",
  "created_at": "2024-04-29T03:22:50Z",
  "updated_at": "2024-04-29T03:22:50Z"
}