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
_jts.push({
track: "product",
type: "productlist",
id: "12345567",
name: "Product Name"
});
Product List Object
_jts.push({
track: "productlist",
listname: "main-slider",
categorypath: ["category1", "category2"]
});
Submit State
_jts.push({ track: "submit" });
Properties for productlist
productlist
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.
Last updated
Was this helpful?