Purchase

Triggered on thank-you-page load.

Properties:

NameTypeDescription
origintextWix App name, i.e Stores, Bookings
idtextProduct ID
orderIdtextOrder ID
revenuetextTotal purchase amount
currencycurrencyPurchase currency in ISO-4217 format
contentsarrayAll purchased products
contents.IdtextProduct ID
contents.nametextProduct Name
contents.categorytextCollection Name
contents.pricecurrencyProduct Price
contents.currencycurrencydefault site currency in ISO-4217 format
contents.quantitynumberQuantity of product ordered
isPremiumbooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix site ID

Example:

Copy
1
{
2
"id": "df19c1f7-07d8-a265-42f8-e8dfa824cc6e",
3
"orderId": "d86d077c-c5d2-42c6-8b15-f5e26f276807",
4
"origin": "Stores",
5
"revenue": 93.6,
6
"currency": "ILS",
7
"contents": [{"..."}, {"..."}],
8
"isPremium": true,
9
"userId": "8aebf50f-b470-40b2-8376-58679347613b",
10
"metaSiteId": "431559a8-b318-4176-a462-797bf50a5fad"
11
}

Custom Events

Shipping Details

Triggered when the user adds shipping details and clicks to advance to the next step in the checkout flow.

Properties:

NameTypeDescription
eventCategorytextFixed ‘Enhanced Ecommerce’ string(???)
eventActiontextFixed ‘Add Shipping Details’ string(???)
eventLabeltextWix App name, i.e Stores, Bookings
contentsarrayAll purchased products
contents.IdtextProduct ID
contents.nametextProduct Name
isPremiumBooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix site ID

Example:

Copy
1
trackEvent(‘CustomEvent’,
2
{
3
"eventCategory": "Enhanced Ecommerce",
4
"eventAction": "Add Shipping Details",
5
"eventLabel": "Stores",
6
"contents": [{
7
"id": "T123",
8
"name": "Running shoes",
9
"..."
10
}],
11
"isPremium": true,
12
"userId": "79f246a8-46fd-4429-aac6-006d13cce9a6",
13
"metaSiteId": "e4d85293-d205-48d0-93d4-3ed7b91b9549"
14
}

Delivery Method

Triggered when the user adds personal information and clicks to advance to the next step in the checkout flow.

Properties:

NameTypeDescription
eventCategorytextFixed ‘Enhanced Ecommerce’ string(???)
eventActiontextFixed ‘Add Shipping Details’ string
eventLabeltextWix App name, i.e Stores, Bookings
contentsarrayAll purchased products
contents.IdtextProduct ID
contents.nametextProduct Name
isPremiumBooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix site ID

Example:

Copy
1
trackEvent("CustomEvent",
2
{
3
"eventCategory": "Enhanced Ecommerce - Stores",
4
"eventAction": "Add Delivery Method",
5
"eventLabel": "stores",
6
"contents": [{
7
"id": "T123",
8
"name": "Running shoes",
9
"..."
10
}]
11
}

Agree to Terms

Triggered when the user check the Agree to terms & conditions’ checkbox.

Properties:

NameTypeDescription
eventCategorytextFixed ‘Enhanced Ecommerce’ string(???)
eventActiontextFixed ‘Add Shipping Details’ string
eventLabeltextWix App name, i.e Stores, Bookings
contentsarrayAll purchased products
contents.IdtextProduct ID
contents.nametextProduct Name
isPremiumBooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix site ID

Example:

Copy
1
trackEvent(‘CustomEvent’,
2
{
3
"eventCategory": "Enhanced Ecommerce",
4
"eventAction": "Agree To Terms",
5
"eventLabel": "Stores",
6
"contents":[{
7
"id": "T123",
8
"name": "Running shoes",
9
"..."
10
}]
11
}

Pickup Details

Triggered whenthe user enters pickup information and clicks to advance to the next step in the checkout flow.

Properties:

NameTypeDescription
eventCategorytextFixed ‘Enhanced Ecommerce’ string(???)
eventActiontextFixed ‘Add Shipping Details’ string
eventLabeltextWix App name, i.e Stores, Bookings
contentsarrayAll purchased products
contents.IdtextProduct ID
contents.nametextProduct Name
isPremiumBooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix site ID

Example:

Copy
1
trackEvent(‘CustomEvent’,
2
{
3
"eventCategory": "Enhanced Ecommerce - Stores",
4
"eventAction": "Pickup Details",
5
"eventLabel": "Stores",
6
"contents": [{
7
"id": "T123",
8
"name": "Running shoes",
9
"..."
10
}]
11
}
Was this helpful?
Yes
No