if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "41347",
"name": "Trek Allant+ BES3 Battery Cover",
"price": "11399.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "41067",
"name": "Hyena Bluetooth HMI Clamp",
"price": "999.0",
"brand": "Hyena",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35539",
"name": "Diamant Beryll 2022 Deluxe+ RIB Battery Cover",
"price": "7799.0",
"brand": "Diamant",
"category": "E-bike batteries & parts",
"variant": "black_gold",
"list": "More Options",
"position": 3
}
,
{
"id": "24651",
"name": "Trek-Diamant RIB Ejector Frame Assembly",
"price": "799.0",
"brand": "Trek-Diamant",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "31888",
"name": "Electra Hydrive Blank Replacement Key",
"price": "299.0",
"brand": "Hydrive",
"category": "E-bike batteries & parts",
"variant": "greylight",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}