if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "61399.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41346",
"name": "Fuel EX 5 Gen 6",
"price": "270199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "teal",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41613",
"name": "Marlin 4 Gen 2",
"price": "39599.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "248199.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_tealdark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "199299.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "75699.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "teal_bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41670",
"name": "Supercaliber SL 9.6 Gen 2",
"price": "376799.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41643",
"name": "Procaliber 9.7",
"price": "441499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "229199.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34649",
"name": "Marlin 8 Gen 2",
"price": "99199.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "redlight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35069",
"name": "X-Caliber 8",
"price": "93399.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33192",
"name": "Roscoe 6",
"price": "76649.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark_blue",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "75699.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "69199.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "53699.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}