---
title: Home page
slug: product-recommendations/docs/home-page-json
docTags: 
createdAt: 2026-07-30T20:41:30.719Z
---

The home page is tracked with the following script:

```csharp
{ 
      "type"    : "home",
      "lang"    : "en-gb",
      "channel" : "web", 
      "user"    : {
        "id":"abcd1234efgh"
      } 
}
```

:::hint{type="info"}
**Note**
This example includes the user parameter to supply a user ID. This is included for illustration only and may not be available on the homepage.
:::

Provide this request only once per session; it typically supplied on the next page load following a customer login.

:::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).
:::
