if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "09955",
"name": "Trek Kids' Brake Levers",
"price": "18.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30976",
"name": "Trek Kids' Twist Shift Grips",
"price": "16.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30975",
"name": "Trek Kids' Single Speed Grips",
"price": "16.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25874",
"name": "Trek Kids Seatpost Clamp",
"price": "12.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41994",
"name": "Trek Kids' Center Mount 235mm Kickstand",
"price": "29.99",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32536",
"name": "Trek Kids' Center Mount 247mm Kickstand",
"price": "29.99",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}