---
title: Checkout page
slug: product-recommendations/docs/checkout-page
docTags: 
createdAt: 2026-07-30T20:41:30.719Z
---

| Name     |          |         | Description and usage                                                        |
| -------- | -------- | ------- | ---------------------------------------------------------------------------- |
| checkout |          |         | Element containing checkout specific sub-elements                            |
|          | items    |         | List of checkout items.                                                      |
|          |          | refcode | Product reference code                                                       |
|          |          | qty     | \[Number]<br />Quantity.                                                     |
|          |          | price   | \[Number]<br />Unit price.                                                   |
|          | currency |         | Currency code.                                                               |
|          | subtotal |         | \[Number]<br />Subtotal amount.                                              |
|          | shipping |         | \[Number]<br />Shipping cost.                                                |
|          | total    |         | \[Number]<br />Total amount of checked-out products including shipping cost. |

See also [Currency codes](docId\:yyATCpesiOsKVcvzxHafN).

A checkout page is tracked using the following script.

```csharp
{
      "type"     : "checkout",
      "lang"     : "en-gb",
      "checkout" : {
        "items"   : [{
          "refCode" : "PROD500",
          "qty"     : 2,
          "price"   : 25.5
        },
        {
          "refCode" : "PROD600",
          "qty"     : 4,
          "price"   : 12.0
        }],
        "currency" : "GBP",	
        "subtotal" : 99.0,
        "shipping" : 3.0,
        "total"    : 102.0
      }
    }
```

As with the basket page example, this example illustrates a basket with 6 items in total: 2 units of PROD500 @ £25.50 each and 4 units PROD600 @ £12.00 each. This example also includes the sub-total of £99.00, shipping cost of £3.00, and  total of £102.00.

:::hint{type="info"}
**Note**
You can also add the `customAttributes` or `customer` elements to this page tracking request. For more information, see [Add customAttributes or customer elements (Optional)](docId\:x-UWMNCr7HCibp_1X8Mrx).
:::
