# Product View Tracking

## Product View Tracking

Use the `productview` tracking type when a product is the main focus of the page, such as a product detail page (PDP).

This tracking type allows you to associate a single product interaction with a `productview` state.

### Tracking Commands

* `product`
* `productview`
* `submit`

### Example

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

_jts.push({
  track: "productview"
});

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

### Properties for `productview`

There are no additional properties for the `productview` command. The relevant product metadata is tracked via the `product` object.

Ensure the `type: "productview"` is correctly assigned to the `product` object so it links to the `productview` state.

For more about using this in combination with other product types, refer to 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-view-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.
