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": "CATEGORY",
"position": 1
}
,
{
"id": "25254",
"name": "Bontrager Standard Presta Valve Bicycle Tube",
"price": "13.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"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": "CATEGORY",
"position": 3
}
,
{
"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": "CATEGORY",
"position": 4
}
,
{
"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": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}