Versions Compared

Key

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

...

  • event
    • Name of event
  • list
    • the list from which the product resides
      • Product List
      • Search Results
      • Items Recently Viewed
      • Campaign - Campaign Description
      • CrossSell
      • UpSell
      • User Favourites
      • Prior Purchases
      • Cart Item
  • name
    • the product description
  • id
    • the product code
  • category
    • the primary category for the product
  • brand
    • the product brand
  • price
    • the product price
    • only sent through if hide pricing on the role is not enabled
  • position
    • the position of the product in its respective 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
ecomuser
ecomuser
User Details

...