if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "248199.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "199299.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41670",
"name": "Supercaliber SL 9.6 Gen 2",
"price": "376799.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41643",
"name": "Procaliber 9.7",
"price": "441499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "229199.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}