if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "161599.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41640",
"name": "Checkpoint ALR 5",
"price": "211999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35668",
"name": "Checkpoint ALR Frame Set",
"price": "117699.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41398",
"name": "Checkpoint SL 5 Gen 2",
"price": "294499.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "252099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "180399.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "149499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}