Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "37366",
"name": "Trek Voda Ice 20oz Water Bottle",
"price": "1799.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "46175",
"name": "Trek RSL Aero Water Bottle and Cage",
"price": "9399.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black_grey",
"list": "More Options",
"position": 2
}
,
{
"id": "46120",
"name": "Lidl-Trek Team 550ml Water Bottle",
"price": "899.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluelight_yellowlight",
"list": "More Options",
"position": 3
}
,
{
"id": "46149",
"name": "Trek Flag Water Bottle",
"price": "799.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "More Options",
"position": 4
}
,
{
"id": "37608",
"name": "Trek EU 20oz Water Bottle",
"price": "499.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "white_blue",
"list": "More Options",
"position": 5
}
,
{
"id": "45039",
"name": "Trek EU 24oz Water Bottle",
"price": "399.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "white_blue",
"list": "More Options",
"position": 6
}
,
{
"id": "47106",
"name": "Trek Speed Concept SLR BTA 26oz. Water Bottle",
"price": "3099.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "38005",
"name": "Trek 2022 Speed Concept SLR Downtube 26oz Water Bottle",
"price": "1899.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}