Add Product Impression
Triggered whenever a page is loaded that contains either a product gallery or widget.
Properties:
Name | Type | Description |
---|---|---|
contents | array | All purchased products |
contents.id | text | Product ID |
contents.name | text | Product name |
contents.list | text | Name of relevant product gallery |
contents.category | text | Collection name |
contents.position | number | Product position in the gallery |
contents.price | currency | Product price |
contents.currency | currency | Currency in ISO-4217 format |
origin | text | Wix App name, i.e Stores, Bookings |
isPremium | boolean | Whether the Wix site is Premium |
userId | text | User ID |
metaSiteId | text | Wix site ID |
Example:
Copy
1{2 "contents": [{3 "id": "df19c1f7-07d8-a265-42f8-e8dfa824cc6e", 4 "name": "Shoes", 5 "list": "Grid Gallery", 6 "category": "All Products", 7 "position": 0, 8 "price": 85,9 "currency": "USD"10 },11 {12 "id": "cd59cd36-b6d2-2cf3-9d48-81793a7bdbbd", 13 "name": "Reading glasses", 14 "list": "Grid Gallery", 15 "category": "All Products", 16 "position": 1,17 "price": 20,18 "currency": "USD"19 },20 {21 "id": "c8539b66-7a44-fe18-affc-afec4be8562a", 22 "name": "Watch", 23 "list": "Grid Gallery", 24 "category": "All Products", 25 "position": 2,26 "price": 10,27 "currency": "USD"28 }],29 "origin": "Stores", 30 "isPremium": true, 31 "userId": "affea1e3-8652-4b59-a3a0-e8f88fdab661", 32 "metaSiteId": "58617836-3714-4dac-860a-dd524531c13e"33}
Was this helpful?
Yes
No