In This Article
Initiate Checkout
Triggered when the 'Book Now' button is clicked.
Properties:
Name | Type | Description |
---|---|---|
contents | Array | All products in cart |
contents.Id | text | Product ID |
contents.name | text | Product Name |
contents.brand | text | Business Name |
contents.category | text | Collection Name |
contents.variant | text | Selected choice from 1st product option |
contents.price | currency | Product price |
contents.currency | currency | default site currency in ISO-4217 format |
contents.quantity | integer | Quantity of product added to cart |
contents.dimension1 | text | XXX |
contents.dimension2 | text | XXX |
origin | text | Wix App name, i.e Stores, Bookings |
isPremium | boolean | Whether the Wix site is Premium |
userId | text | User ID |
metaSiteId | text | Wix site ID |
Example:
Copy
1{2 "contents": [{3 "brand": "",4 "category": "",5 "currency": undefined,6 "id": "8811abeb-58dc-4596-b731-174980819aaa"7 "name": undefined,8 "price": undefined,9 "variant": "PRIVATE",10 "length": 1,11 "isPremium": true,12 "metaSiteId": "e4d85293-d205-48d0-93d4-3ed7b91b9549",13 "origin": "Bookings",14 "userId": "79f246a8-46fd-4429-aac6-006d13cce9a6"15 }]16}
CustomEvent - Select Date
Copy
1{2 "contents": [{3 "id": "8811abeb-58dc-4596-b731-174980819aaa", 4 "name": "test 1-on-1", 5 "category": "", 6 "variant": "PRIVATE", 7 "price": 150, 8 "..."9 }],10 "length": 1,11 "eventAction": "Select Date",12 "eventCategory": "Enhanced Ecommerce - Bookings",13 "isPremium": true,14 "metaSiteId": "e4d85293-d205-48d0-93d4-3ed7b91b9549",15 "origin": "Bookings",16 "userId": "79f246a8-46fd-4429-aac6-006d13cce9a6"17}
StartPayment
Was this helpful?
Yes
No