if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "09848",
"name": "Bontrager XXX Aero Brake Levers",
"price": "293.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33246",
"name": "Lee Chi V-Brake Levers",
"price": "39.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45164",
"name": "Promax DC927 Disc Brake Lever",
"price": "38.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45163",
"name": "Promax DC925 Disc Brake Lever",
"price": "36.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41469",
"name": "Promax LM-48 Brake Levers",
"price": "29.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "09955",
"name": "Trek Kids' Brake Levers",
"price": "19.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}