Versions Compared

Key

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

...

Anchor
ecomcheckout
ecomcheckout
e. Checkout Steps & Options

Steps pushed as the user progresses through the various steps of the checkout process.

PropertyValueNotes
event'checkout' 
event_type'checkout' 
step

The checkout step number:

  • 1 - going to cart
  • 2 - attempting checkout, but login required
  • 3 - selecting delivery option
  • 4 - selecting payment option
  • 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).
Code Block
languagejs
titleSample Checkout Steps data
collapsetrue
{
	"event": "checkout",
	"event_type": "checkout",
	"ecommerce": {
		"checkout": {
			"actionField": {
				"step": 1
			},
			"products": [
			{
				"name": "Product Description",
				"id": "ProductCode",
				"category": "/first level/second level/third level",
				"brand": "brand name",
				"price": "99.99"
			}
			]
		}
	}
}


Options Checkout Option data is pushed whenever the Checkout Step value (detailed above) is either 3 or 4. 

PropertyValueNotes
event'checkoutOption' 
event_type'checkout' 
step3 or 4Value determined by the step number in 'Checkout Steps' data above.
optionThe option selected at this stepFor example - 'pickup' at Step 3 or 'BPAY' at Step 4.

...