Purchase

Deprecation Warning:

The client-side analytics events documented in this reference are deprecated. All event documentation has been moved to the SDK and is now available through the Analytics API.

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?