Script Tag Properties

🔒

Requires script_tags access scope.

Script Tag Properties

FieldTypeDescExample
idstring
display_scopestringDisplay scope.You can choose one or more, separated by ",".index
srcstringScript file url,maximum 200 characters.https://shoplazza.com/x.js
event_typestringTag type,It is recommended to use [appname] to fill in this field.myapp
created_atstringCreation time2024-04-24T07:26:53Z
updated_atstringUpdate time2024-04-24T07:26:53Z

Display Scope

Display ScopeDescURL
onlineAll pages except checkout page
indexHome/
productsProduct list page
productProduct detail page
collectionsCollection list page
collectionCollection detail page
cartCart/cart
orderOrder detail page
order_verifyOrder verification 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": "index",
  "event_type": "myapp",
  "src": "https://shoplazza.com/x.js",
  "created_at": "2024-04-29T03:22:50Z",
  "updated_at": "2024-04-29T03:22:50Z"
}