Purchase

Triggered on thank-you-page load.

Properties:

NameTypeDescription
origintextWix App name, i.e Events, Stores
revenuenumberTotal purchase amount
taxnumberPurchase tax
coupontextCoupon name
contentsarrayAll purchased products/events
contents.quantitynumberNumber of tickets
contents.pricenumberProduct/event price
contents.currencycurrencyCurrency in ISO-4217 format
isPremiumbooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix site ID

Example:

Copy
Did this help?