if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "199999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41352",
"name": "Émonda SL 6",
"price": "417199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41366",
"name": "Émonda SL 5",
"price": "254599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frame Set",
"price": "94099.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36977",
"name": "Émonda SL 6 Pro Di2",
"price": "360199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "252079.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "194999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}