Initiate Checkout

Triggered when the 'Book Now' button is clicked.

Properties:

NameTypeDescription
contentsArrayAll products in cart
contents.IdtextProduct ID
contents.nametextProduct Name
contents.brandtextBusiness Name
contents.categorytextCollection Name
contents.varianttextSelected choice from 1st product option
contents.pricecurrencyProduct price
contents.currencycurrencydefault site currency in ISO-4217 format
contents.quantityintegerQuantity of product added to cart
contents.dimension1textXXX
contents.dimension2textXXX
origintextWix App name, i.e Stores, Bookings
isPremiumbooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix 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