Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
ecomclicks
ecomclicks
Product Clicks

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.

PropertyValueNotes
event

...

'productClick'

 
list
  • Product List
  • Search Results
  • Items Recently Viewed
  • Campaign - (sent as the Campaign Descriptionnot the Campaign Code)
  • CrossSell
  • UpSell
  • User Favourites
  • Prior Purchases
  • Cart Item
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.
positionThe product's position / sequence in its list 
Code Block
languagejs
titleSample Product Click data
collapsetrue
{
	"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
			}
			]
		}
	}
}

...

Anchor
ecomtrans
ecomtrans
Transactions

Pushed Product Transaction data is pushed on successful submission of an order

PropertyValueNotes
event'enhancedEcomm' 
event type'payment'TBC - always 'payment'?
purchase / actionFieldTBC 
nameThe product descriptionRepeated for each product in the transaction.
idThe product codeRepeated for each product in the transaction.
categoryThe product's primary categoryRepeated for each product in the transaction.
priceThe product price (nett price for 1)Repeated for each product in the transaction.
Code Block
languagejs
titleSample Transaction data
collapsetrue
{
	"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"
		}
		]
	}
}

...