if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "36412",
"name": "Trek 2022 Session 29 Idler Pulley 3.5mm Spacer",
"price": "100.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31390",
"name": "Prowheel Crankarm Bolts",
"price": "100.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36411",
"name": "Trek 2022 Session 29 Idler Pulley 4.5mm Black Spacer",
"price": "100.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45279",
"name": "Trek Domane+ SLR 2x Crank Spider Spacer",
"price": "100.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44693",
"name": "e*Thirteen e*spec Race Carbon Crank for TQ",
"price": "6400.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44931",
"name": "e*Thirteen e*spec Plus Aluminum Crankarms for Bosch",
"price": "1100.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41243",
"name": "Prowheel EB03 Bosch GEN3 (Mini ISIS) Crank Arm Set",
"price": "500.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44990",
"name": "FSA ML558 Bosch Gen 3 ISIS Crank Arm Bolts - Set of 2",
"price": "200.0",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36832",
"name": "Trek-Diamant Prowheel Crank Preload Bolt",
"price": "100.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}