if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "41406",
"name": "Trek Kovee Elite Clipless Pedal Set",
"price": "170.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30862",
"name": "Bontrager Elite Road Pedal Set",
"price": "160.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27134",
"name": "Bontrager MTB Clipless Pedal Cleat Set",
"price": "25.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27132",
"name": "Bontrager Road Clipless 6 Degree Pedal Cleat Set",
"price": "25.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32999",
"name": "Bontrager Road Clipless 9 Degree Pedal Cleat Set",
"price": "25.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45251",
"name": "Trek SPD Pedal Rebuild Kit",
"price": "47.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}