Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "32824",
"name": "Trek Madone SLR/SL Repair Stand Adapter",
"price": "1299.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "07156",
"name": "Bontrager Universal Repair Stand Adapter",
"price": "2899.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}