if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "33380",
"name": "Trek Domane+ Front Bike Light Assembly",
"price": "3700.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33675",
"name": "Trek Domane+ Rear Bike Light Assembly",
"price": "1800.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27116",
"name": "Bontrager Lync Flare Rear Wire Light Harness",
"price": "100.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37981",
"name": "Bontrager Lights USB Type-C Charge Cable",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31843",
"name": "Bontrager 2020 E-bike Forklight Parts",
"price": "50.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41207",
"name": "Supernova Bosch Smart System/BES3 Front Light Connection Cable",
"price": "700.0",
"brand": "SUPERNOVA",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35636",
"name": "Bosch 1400mm Taillight Cable",
"price": "200.0",
"brand": "Bosch",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "38071",
"name": "Bosch Smart System 1400mm Rear Light Cable",
"price": "200.0",
"brand": "Bosch",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "38072",
"name": "Bosch Smart System 1400mm Front Light Cable",
"price": "200.0",
"brand": "Bosch",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "49574",
"name": "Herrmans 4-Wire Headlight Connector",
"price": "100.0",
"brand": "HERRMANS",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}