if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "47131",
"name": "Domane SL 6 Gen 4",
"price": "424199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41348",
"name": "Domane SL 5 Gen 4",
"price": "308499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41395",
"name": "Domane AL 5 Gen 4",
"price": "186899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "149899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "99999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36746",
"name": "Domane SL 6 Gen 4",
"price": "424199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "65899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "85299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}