if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "37891",
"name": "Trek-Diamant Bosch 750 Smart Speed Sensor Cable",
"price": "500.0",
"brand": "Trek-Diamant",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38070",
"name": "Bosch Smart System 1300mm HMI Cable",
"price": "300.0",
"brand": "Bosch",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "38102",
"name": "Bosch Smart System LED Remote Universal Clamp",
"price": "200.0",
"brand": "Bosch",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35628",
"name": "Bosch Purion Design Mask",
"price": "200.0",
"brand": "Bosch",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33676",
"name": "Electra Vale GO! Speed Sensor Alignment Mount",
"price": "100.0",
"brand": "Bontrager-Electra",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45121",
"name": "Bosch Smart System BRC3300 Rubber Shim",
"price": "100.0",
"brand": "Bosch",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45123",
"name": "Bosch Smart System BRC3100 USB Cover",
"price": "100.0",
"brand": "Bosch",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45122",
"name": "Bosch Smart System BRC3100 Spring",
"price": "100.0",
"brand": "Bosch",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "42182",
"name": "Trek-Diamant Speed Sensor Adapter MY23",
"price": "50.0",
"brand": "Trek-Diamant",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}