if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "11323",
"name": "Bontrager Interchange Digital Combo Sensor",
"price": "1400.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12319",
"name": "Bontrager DuoTrap S Digital Sensor",
"price": "1400.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25410",
"name": "Bontrager Carbon Road Frame DuoTrap S Cover",
"price": "100.0",
"brand": "Trek",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25412",
"name": "Bontrager Threaded Wheel Magnet",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25406",
"name": "Bontrager DuoTrap S Chainstay Cover-Alloy Frames",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28391",
"name": "Bontrager 26 mm Cadence Band Magnet",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28393",
"name": "Bontrager 9 mm Cadence Band Magnet",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "28394",
"name": "Bontrager 4 mm Cadence Band Magnet",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35621",
"name": "Bosch Spoke Magnet",
"price": "200.0",
"brand": "Bosch",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}