Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "25255",
"name": "Bontrager Standard Schrader Valve Bicycle Tube",
"price": "13.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25263",
"name": "Bontrager Fat and + Schrader Valve Bicycle Tube",
"price": "42.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "12252",
"name": "Bontrager Fat and + Presta Valve Bicycle Tube",
"price": "30.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "00930",
"name": "Bontrager Lightweight Presta Valve Bicycle Tube",
"price": "25.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25257",
"name": "Bontrager Standard 70-Degree Valve Bicycle Tube",
"price": "13.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41676",
"name": "Pirelli P ZERO SmarTUBE Presta Valve Bicycle Tube",
"price": "55.0",
"brand": "Pirelli",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "yellow",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}