if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "40822",
"name": "FX Sport 4",
"price": "149499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "65899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34649",
"name": "Marlin 8 Gen 2",
"price": "99199.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "redlight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35069",
"name": "X-Caliber 8",
"price": "93399.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "85299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33192",
"name": "Roscoe 6",
"price": "76649.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark_blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "75699.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "69199.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "52199.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32735",
"name": "Verve 2 Disc Gen 4",
"price": "50199.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35060",
"name": "Dual Sport 1 Gen 4",
"price": "46099.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "32737",
"name": "Verve 1 Disc",
"price": "44199.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "39999.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}