Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "24997",
"name": "Trek Madone SLR Colour-Matched Carbon Internal Seatmast Cap",
"price": "27799.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red_black",
"list": "More Options",
"position": 1
}
,
{
"id": "30477",
"name": "Trek Madone SL Colour-Matched Carbon Internal Seatmast Cap",
"price": "23399.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "33924",
"name": "Trek Domane SL Color-Matched Carbon Internal Seatmast Cap",
"price": "21299.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black_greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "36135",
"name": "Trek Madone SL Seatmasts",
"price": "20599.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_black",
"list": "More Options",
"position": 4
}
,
{
"id": "11255",
"name": "Trek Colour-Matched Carbon Seatmast Cap & 7 mm Round Ears",
"price": "10599.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "22439",
"name": "Trek Round Alloy Seatmast Cap & 7mm Ears",
"price": "4799.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}