if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "82299.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "62299.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40813",
"name": "FX 1 Gen 4",
"price": "52899.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "749399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47877",
"name": "Session 9 X01",
"price": "732199.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46220",
"name": "Madone SL 7 Gen 8",
"price": "580399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_purpledark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "509199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "46218",
"name": "Madone SL 5 Gen 8",
"price": "324999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "250799.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_tealdark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "202599.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}