Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "25255",
"name": "Bontrager Standard Schrader Valve Bicycle Tube",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25254",
"name": "Bontrager Standard Presta Valve Bicycle Tube",
"price": "199.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "00930",
"name": "Bontrager Lightweight Presta Valve Bicycle Tube",
"price": "799.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "12252",
"name": "Bontrager Fat and + Presta Valve Bicycle Tube",
"price": "699.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "00910",
"name": "Bontrager Self-Sealing Presta Valve Bicycle Tube",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}