# Product List Tracking

## Product List Tracking

The `productlist` tracking type is used when multiple products are displayed together in a list—for example, on a category page, homepage slider, or product grid.

Each product in the list should be tracked with `type: "productlist"`, and a summary `track: "productlist"` object defines metadata for the list context.

***

### Tracking Commands

* `product`
* `productlist`
* `submit`

***

### Product Example

```javascript
_jts.push({
  track: "product",
  type: "productlist",
  id: "12345567",
  name: "Product Name"
});
```

### Product List Object

```javascript
_jts.push({
  track: "productlist",
  listname: "main-slider",
  categorypath: ["category1", "category2"]
});
```

### Submit State

```javascript
_jts.push({ track: "submit" });
```

***

### Properties for `productlist`

| Name           | Description                                       | Type   | Mandatory | Example                      |
| -------------- | ------------------------------------------------- | ------ | --------- | ---------------------------- |
| `listname`     | A meaningful name for the product list            | string | yes       | `"main-slider"`              |
| `categorypath` | Breadcrumb-style path of categories for this list | array  | no        | `["category1", "category2"]` |

***

Make sure every product in the list uses the same `type: "productlist"`, and the summary object is submitted before calling `track: "submit"`.

For more on how this links to other product tracking types, see the [E-Commerce Tracking](/data-capture/web-tracking-setup/set-up-jentis-data-layer/e-commerce-tracking.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jentis.com/data-capture/web-tracking-setup/set-up-jentis-data-layer/e-commerce-tracking/product-list-tracking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
