if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "34883",
"name": "Trek Kids' Crankset",
"price": "700.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35529",
"name": "Trek Wheel Top Alloy Kids' Crankset",
"price": "700.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45448",
"name": "Trek Wheel Top 20" Crankset",
"price": "400.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26247",
"name": "Bosch Gen 2&4 (ISIS) Crank Arm Set with Guard",
"price": "1700.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12310",
"name": "Bosch Gen 3 (Mini ISIS) Crank Arm Set",
"price": "1600.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28409",
"name": "Bosch Gen 2 & 4 (ISIS) Crank Arm Set",
"price": "1100.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "26246",
"name": "Bosch Gen 2&4 (ISIS) Crank Arm Set",
"price": "1100.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35944",
"name": "Electra Townie Go! 7d Gen 2 Crankset",
"price": "1000.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35945",
"name": "Electra Cruiser Go! Crankset",
"price": "1000.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36161",
"name": "Trek-Diamant Wheel Top DCRX1 Double Crankset",
"price": "700.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "45291",
"name": "Prowheel Kids' 30T Crank",
"price": "700.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37658",
"name": "Prowheel PRO-D42P Crankset",
"price": "700.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40461",
"name": "Prowheel ISIS Bosch Gen 2 & 4 Crank Arms",
"price": "500.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35297",
"name": "Trek-Diamant Wheel Top G4XD Triple Crank",
"price": "400.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}