if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "36015",
"name": "Bontrager Rear Mount Adjustable Kickstand",
"price": "35.0",
"brand": "Bontrager",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21829",
"name": "Bontrager RIDEtime Cycling Computer",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12319",
"name": "Bontrager DuoTrap S Digital Sensor",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41441",
"name": "Trek Flare R City Rear Bike Light",
"price": "50.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37387",
"name": "Bontrager Thumb Screw",
"price": "14.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14695",
"name": "Bontrager Comp & Legacy Elite Stem Blendr Base",
"price": "14.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22245",
"name": "Bontrager Blendr Garmin High Mount",
"price": "20.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22250",
"name": "Bontrager Blendr RIDEtime Mount",
"price": "16.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "26815",
"name": "Bontrager Blendr Universal Light Mount",
"price": "16.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36285",
"name": "Bontrager Blendr Low Commuter Light Mount",
"price": "16.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}