In This Article
Purchase
Triggered on thank-you-page load.
Properties:
Name | Type | Description |
---|---|---|
origin | text | Wix App name, i.e Stores, Bookings |
id | text | Product ID |
orderId | text | Order ID |
revenue | text | Total purchase amount |
currency | currency | Purchase currency in ISO-4217 format |
contents | array | All purchased products |
contents.Id | text | Product ID |
contents.name | text | Product Name |
contents.category | text | Collection Name |
contents.price | currency | Product Price |
contents.currency | currency | default site currency in ISO-4217 format |
contents.quantity | number | Quantity of product ordered |
isPremium | boolean | Whether the Wix site is Premium |
userId | text | User ID |
metaSiteId | text | Wix 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:
Name | Type | Description |
---|---|---|
eventCategory | text | Fixed ‘Enhanced Ecommerce’ string(???) |
eventAction | text | Fixed ‘Add Shipping Details’ string(???) |
eventLabel | text | Wix App name, i.e Stores, Bookings |
contents | array | All purchased products |
contents.Id | text | Product ID |
contents.name | text | Product Name |
isPremium | Boolean | Whether the Wix site is Premium |
userId | text | User ID |
metaSiteId | text | Wix site ID |
Example:
Copy
1trackEvent(‘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:
Name | Type | Description |
---|---|---|
eventCategory | text | Fixed ‘Enhanced Ecommerce’ string(???) |
eventAction | text | Fixed ‘Add Shipping Details’ string |
eventLabel | text | Wix App name, i.e Stores, Bookings |
contents | array | All purchased products |
contents.Id | text | Product ID |
contents.name | text | Product Name |
isPremium | Boolean | Whether the Wix site is Premium |
userId | text | User ID |
metaSiteId | text | Wix site ID |
Example:
Copy
1trackEvent("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:
Name | Type | Description |
---|---|---|
eventCategory | text | Fixed ‘Enhanced Ecommerce’ string(???) |
eventAction | text | Fixed ‘Add Shipping Details’ string |
eventLabel | text | Wix App name, i.e Stores, Bookings |
contents | array | All purchased products |
contents.Id | text | Product ID |
contents.name | text | Product Name |
isPremium | Boolean | Whether the Wix site is Premium |
userId | text | User ID |
metaSiteId | text | Wix site ID |
Example:
Copy
1trackEvent(‘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:
Name | Type | Description |
---|---|---|
eventCategory | text | Fixed ‘Enhanced Ecommerce’ string(???) |
eventAction | text | Fixed ‘Add Shipping Details’ string |
eventLabel | text | Wix App name, i.e Stores, Bookings |
contents | array | All purchased products |
contents.Id | text | Product ID |
contents.name | text | Product Name |
isPremium | Boolean | Whether the Wix site is Premium |
userId | text | User ID |
metaSiteId | text | Wix site ID |
Example:
Copy
1trackEvent(‘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