Add To Cart

Triggered when user adds a ticket to the cart.

Properties:

NameTypeDescription
origintextWix App name, i.e Events, Bookings
nametextevent name
pricenumberThe price of the ticket
currencycurrencyCurrency in ISO-4217 format
varianttextticket type
positionnumberEvent position in the gallery
quantitynumberNumber of tickets added
isPremiumbooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix site ID

Example:

Copy
1
trackEvent("AddToCart", {
2
"origin": "Wix Events",
3
"name": "Some bad event",
4
"price": 130,
5
"currency": "USD",
6
"variant": "regular",
7
"position": 2,
8
"quantity": 1
9
} );
Was this helpful?
Yes
No