Versions Compared

Key

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

...

PropertyValueNotes
event'remarketing' 
ecomm_pagetype

One of the following:

  • other
  • home
  • category
  • product
  • cart
  • purchase
Value determined by the page the user is on.
ecomm_prodid

One of the following:

  • Product code (product pages)

  • Array of product codes (category, cart, purchase pages)

Optional. Value determined by the page the user is on, and does not apply to page types 'home' or 'other'.
ecomm_totalvalueThe total value of all products and charges (if any)Optional. Only applies to page types 'product', 'cart, and 'purchase'.
google_conversion_valueThe total value of all products and chargesOptional. Only applies to page type 'purchase'.

...

PropertyValueNotes
event

'enhancedEcomm'

Due to infinite scrolling, some pages may load additional data after the inital page load. For this reason, impressions are pushed via an event. Infinite scrolling creates a new event, and therefore a new data push. This also ensures that data is pushed in blocks, so as not to exceed the object data limit.

event_type

'impression'

 
currencyCodeThe currency code for the current account 
nameThe product description 
idThe product code 
categoryThe product's primary category 
list

One of the following:

  • Product List
  • Search Results
  • Items Recently Viewed
  • Campaign - (sent as the Campaign Description, not the Campaign Code)
  • CrossSell
  • UpSell
  • User Favourites
  • Prior Purchases
  • Product Details - (This value is only applies where the user has navigated directly to a product via link or similar. Otherwise, the list from which the product was accessed will be used for product detail impressions.)
Value determined by the list in which the product is located.
brandThe product's brand 
positionThe product's position / sequence in its list 
priceThe product price (nett price for 1)If 'hide pricing' is enabled at Role level, this data is not pushed.

...

Product Click data is pushed on any click of a product link. For example, a product on a page of search results, or a product on a category page, or from the user's favourites list.

PropertyValueNotes
event

'productClick'

 
list

One of the following:

  • Product List
  • Search Results
  • Items Recently Viewed
  • Campaign - (sent as the Campaign Description, not the Campaign Code)
  • CrossSell
  • UpSell
  • User Favourites
  • Prior Purchases
  • Cart Item
Value determined by the list in which the product is located.
nameThe product description 
idThe product code 
categoryThe product's primary category 
brandThe product's brand 
priceThe 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 

...

PropertyValueNotes
event'checkout' 
event_type'checkout' 
step

The checkout step number:

  • Step 1 - going to cart
  • Step 2 - attempting checkout, but login required
  • Step 3 - selecting delivery option
  • Step 4 - selecting payment option
  • Step 5 - submitting the order

 

Steps 3 & 4 will trigger additional 'Product Option' data to be pushed, in the form of the option selected at this step.

For example, the freight option selected at Step 3 or the payment method selected at Step 4 (sample provided below).

productsThe products in the cartStandard product data will be pushed for each product in the cart (e.g. name, id, category, brand, price).

...

Anchor
ecomaddtocart
ecomaddtocart
i. Add to Cart

pushed on successful add to cart

  • pageType
    • The page the product was added from
      • Product List
      • Search Results
      • Product Details
  • list
    • The list the product was added from
      • Product List
      • Search Results
      • Product Compare
      • Items Recently Viewed
      • Campaign - Campaign Description
      • CrossSell
      • UpSell
      • User Favourites
      • Prior Purchases
      • Product Details
      • Cart Fast Order
      • Quick Order Entry

...

Add To Cart data is pushed every time a user successfully adds a product to their cart. 

PropertyValueNotes
event'addToCart' 
currencyCode The currency code for the current account 
productsThe product(s) added to the cartStandard product data is included here (e.g. name, id, category, quantity, brand, price)
pageType

One of the following:

  • Product List
  • Search Results
  • Product Details
Value determined by the page on which the product was added.
list

One of the following:

  • Product List
  • Search Results
  • Product Compare
  • Items Recently Viewed
  • Campaign - (sent as the Campaign Description, not the Campaign Code)
  • CrossSell
  • UpSell
  • User Favourites
  • Prior Purchases
  • Product Details
  • Cart Fast Order
  • Quick Order Entry
Value determined by the list from which the product was added
Code Block
languagejs
titleSample Add To Cart data
collapsetrue
{
	"event": "addToCart",
	"ecommerce": {
		"currencyCode": "AUD",
		"add": {
			"products": [
			{
				"name": "Product Description",
				"id": "ProductCode",
				"category": "/first level/second level/third level",
				"quantity": 1,
				"brand": "brand name",
				"price": "99.99"
			}
			]
		}
	},
	"pageType": "Product List",
	"list": "Product List"
}

 

...

 "Product List"
}

 

 

Anchor
ecomremovefromcart
ecomremovefromcart
j. Remove from Cart

Remove From Cart data is pushed whenever a product is successfully removed from the user's cart.

NOTE - This can be a whole line deletion, or a decrease in quantity. Both actions are sent as 'Remove From Cart' data.

PropertyValueNotes
event'removeFromCart' 
currencyCodeThe currency code for the current account 
productsThe product(s) removed from cartStandard product data is included here (e.g. name, id, category, quantity, price).
Code Block
languagejs
titleSample Remove From Cart data
collapsetrue
 {
	"event": "removeFromCart",
	"ecommerce": {
		"currencyCode": "AUD",
		"remove": {
			"products": [
			{
				"name": "Product Description",
				"id": "ProductCode",
				"category": "/first level/second level/third level",
				"quantity": 1,
				"price": "99.99"
			}
			]
		}
	}
}

...