if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "44929",
"name": "Trek 71mm Chainstay Bracket",
"price": "100.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44926",
"name": "Trek 79mm Chainstay Bracket",
"price": "100.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42007",
"name": "Trek 2023-2024 Fuel EXe TQ Smart Box Foam Pads",
"price": "50.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44645",
"name": "Trek 2023 Farley Alloy Bottom Bracket Cable Guide",
"price": "50.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44907",
"name": "Trek 56mm Chainstay Bracket",
"price": "50.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31818",
"name": "Trek 2020 Allant+/Diamant Zouma Supreme+ Skidplate",
"price": "1100.0",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41208",
"name": "Trek 2023 Allant+ & Diamant Zouma+ Skidplate",
"price": "300.0",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31271",
"name": "Trek Allant+ 9.9/Diamant Zouma Supreme+ Chainstay Guard",
"price": "200.0",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "28432",
"name": "Fisher Superfly 29 Downtube Guard",
"price": "139.0",
"brand": "Gary Fisher",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "28420",
"name": "Fisher Superfly 29 Chainstay Guard",
"price": "139.0",
"brand": "Gary Fisher",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "31982",
"name": "Trek-Diamant City Chainguard Bracket",
"price": "100.0",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "31528",
"name": "Trek Allant+ & Diamant Zouma+ Skid Plate Motor Armour",
"price": "50.0",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}