if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "32072",
"name": "Trek Front Derailleur Cable Sleeve 300mm",
"price": "99.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41765",
"name": "Trek 2023 Marlin 29 Cable Entry Hole Plug",
"price": "99.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}
-
-
-
Ride it and love it, or we'll take it back
Learn more