...
Product Clicks Anchor ecomclicks ecomclicks
Product Click data is pushed when clicking on any click of a product link. For example, a product on a page of search results, a product on a category page, or from the user's favourites list.
Property | Value | Notes |
---|---|---|
event |
...
'productClick' | ||
list |
| Value determined by the list in which the product is located. |
name |
...
The product description | |
id |
...
The product code | |
category |
...
The product's primary category |
...
brand |
...
The product's brand | |
price |
...
The product price |
...
(nett price for 1) | If 'hide pricing' is enabled at Role level, this data is not pushed. | |
position | The product's position / sequence in its list |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "productClick", "ecommerce": { "click": { "actionField": { "list": "list name" }, "products": [ { "name": "Product Description", "id": "ProductCode", "category": "/first level/second level/third level", "brand": "brand name", "price": "99.99", "position": 1 } ] } } } |
...
Transactions Anchor ecomtrans ecomtrans
Pushed Product Transaction data is pushed on successful submission of an order.
Property | Value | Notes |
---|---|---|
event | 'enhancedEcomm' | |
event type | 'payment' | TBC - always 'payment'? |
purchase / actionField | TBC | |
name | The product description | Repeated for each product in the transaction. |
id | The product code | Repeated for each product in the transaction. |
category | The product's primary category | Repeated for each product in the transaction. |
price | The product price (nett price for 1) | Repeated for each product in the transaction. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "enhancedEcomm", "event_type": "payment", "ecommerce": { "purchase": { "actionField": { "id": 100000000, "revenue": 99.99, "tax": 9.99, "shipping": 10.00 } }, "products": [ { "name": "Product Description", "id": "ProductCode", "category": "/first level/second level/third level", "price": "99.99" } ] } } |
...