if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "12968",
"name": "Bontrager TLR Sealant Injector",
"price": "24.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26826",
"name": "Bontrager BITS Integrated MTB Tool",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27173",
"name": "Bontrager Inspection Penlight LED",
"price": "69.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "08370",
"name": "Bontrager Preset 5 Nm Torque Wrench",
"price": "40.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32466",
"name": "Unior Shared Bench Set Lock",
"price": "259.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44296",
"name": "Basic Synguard Nitrile Gloves",
"price": "14.0",
"brand": "Basic",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37630",
"name": "Unior Steerer Tube Cutting Guide Bolt",
"price": "2.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37631",
"name": "Unior Star Nut Setter Bolt Replacement",
"price": "2.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}