if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "24588",
"name": "Trek Bosch Gen 3 Alloy Chainguard",
"price": "1900.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31823",
"name": "Trek 2020 Top Fuel 29 Chain Guide",
"price": "1300.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44932",
"name": "e*Thirteen e*Spec Chainguide for 55mm Chainline for Bosch",
"price": "800.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42020",
"name": "Trek Carbon Road Adjustable Chainkeeper",
"price": "500.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30974",
"name": "Trek Precaliber 20 Chainguard",
"price": "300.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30972",
"name": "Trek Precaliber 12 Chainguard",
"price": "300.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30973",
"name": "Trek Precaliber 16 Chainguard",
"price": "300.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35667",
"name": "Trek 2021 E-Caliber 29 Chainstay Bridge M6x1x20mm Bolts",
"price": "200.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34642",
"name": "Trek G3 Motor Mount Chain Guide",
"price": "100.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34996",
"name": "Trek-Diamant Bosch Gen 3 V2 Chainguard",
"price": "1000.0",
"brand": "Trek-Diamant",
"category": "Bike chainguards & chain cases",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "34629",
"name": "Trek-Diamant Chainguard Top Cover",
"price": "900.0",
"brand": "Trek-Diamant",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "31488",
"name": "Electra Vale GO! Chainguard",
"price": "900.0",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "tan",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "26692",
"name": "Trek Super Commuter+/Zouma+ Chainring Guard",
"price": "800.0",
"brand": "Ride+",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35463",
"name": "Trek-Diamant Chainguard Top Cover Assembly Kit",
"price": "500.0",
"brand": "Trek-Diamant",
"category": "Bike chainguards & chain cases",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}