if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"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": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "34280",
"name": "Bontrager 5mm Alloy Headset Spacer - Pack of 3",
"price": "12.0",
"brand": "Bontrager",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "32927",
"name": "VP Components A42E 1.125˝ Zero Stack Headset",
"price": "12.0",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "27395",
"name": "Bontrager Round Base TLR Valve Stem",
"price": "7.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37981",
"name": "Bontrager Lights USB Type-C Charge Cable",
"price": "5.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}