Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "35915",
"name": "Trek 2022 Domane SL 6 700c Rigid Fork",
"price": "28799.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "More Options",
"position": 1
}
,
{
"id": "09806",
"name": "Bontrager Forklight 700c Fork",
"price": "10699.0",
"brand": "Bontrager",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36817",
"name": "Bontrager Digital Shock Pump",
"price": "7699.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}