Order

Key: order

Used when the page type has been set to "order". Tracks a successful order.

Uses the following simple keys:

  • order.action
  • order.id
  • order.number
  • order.gross
  • order.discount
  • order.discountCode

If you would like to track products here you can use "loop" and "loop-item" the same way as you would when tracking the cart.

{
  "id": SET_TO_VALUE,
  "number": SET_TO_VALUE,
  "gross": SET_TO_VALUE,
  ...
  "loop": LOOP_VALUE, // optional
  "loop-item": { // optional
    "product.id": SET_TO_VALUE,
    "product.name": SET_TO_VALUE,
    ...
  }
}

results matching ""

    No results matching ""