Initiate Checkout

Triggered when the ‘Checkout’ button is clicked.

Properties:

NameTypeDescription
origintextWix App name, i.e Events, Bookings
contentsarrayAll events in cart
contents.nametextEvent name
contents.pricenumberTicket price
contents.currencycurrencyCurrency in ISO-4217 format
contents.varianttextTicket type
contents.quantitynumberNumber of tickets
isPremiumbooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix site ID

Example:

Copy
1
trackEvent("InitiateCheckout", {
2
"origin": "Wix Events",
3
"contents": [ {
4
"name": "Some bad event",
5
"price": 130,
6
"currency": "USD",
7
"variant": "regular",
8
"quantity": 4
9
}, {
10
"name": "Some great event",
11
"price": 180,
12
"currency": "USD",
13
"variant": "vip",
14
"position": 2,
15
"quantity": 2
16
} ]
17
} );
Was this helpful?
Yes
No