Initiate Checkout
Triggered when the ‘Checkout’ button is clicked.
Properties:
Name | Type | Description |
---|---|---|
origin | text | Wix App name, i.e Events, Bookings |
contents | array | All events in cart |
contents.name | text | Event name |
contents.price | number | Ticket price |
contents.currency | currency | Currency in ISO-4217 format |
contents.variant | text | Ticket type |
contents.quantity | number | Number of tickets |
isPremium | boolean | Whether the Wix site is Premium |
userId | text | User ID |
metaSiteId | text | Wix site ID |
Example:
Copy
1trackEvent("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