if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "23032",
"name": "Trek Checkpoint Carbon Armour",
"price": "2799.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12338",
"name": "Trek 3S Chainkeeper",
"price": "1699.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26161",
"name": "Trek Madone/Émonda SLR Chainkeeper",
"price": "499.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28332",
"name": "Trek P1 Road Chainstay Protector",
"price": "99.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}