if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "55999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "79990.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "79990.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "61199.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "59999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40813",
"name": "FX 1 Gen 4",
"price": "51599.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "252099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "180399.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "149499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35021",
"name": "FX 3 Disc Gen 3",
"price": "75999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36826",
"name": "Dual Sport 3 Gen 5",
"price": "72799.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "52199.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35001",
"name": "FX 1 Disc Gen 3",
"price": "51599.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "32735",
"name": "Verve 2 Disc Gen 4",
"price": "50199.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35060",
"name": "Dual Sport 1 Gen 4",
"price": "46099.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "32737",
"name": "Verve 1 Disc",
"price": "44199.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "39999.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}