if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41406",
"name": "Trek Kovee Elite Clipless Pedal Set",
"price": "2000.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41407",
"name": "Trek Line Elite Clipless Pedal Set",
"price": "2400.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41408",
"name": "Trek Kovee Pro Clipless Pedal Set",
"price": "2850.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41405",
"name": "Trek Line Comp Clipless Pedal Set",
"price": "1700.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41404",
"name": "Trek Kovee Comp Clipless Pedal Set",
"price": "1300.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30862",
"name": "Bontrager Elite Road Pedal Set",
"price": "1950.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22371",
"name": "Bontrager Comp Road Pedal Set",
"price": "1600.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22370",
"name": "Bontrager Comp MTB Pedal Set",
"price": "1750.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "27134",
"name": "Bontrager MTB Clipless Pedal Cleat Set",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "27132",
"name": "Bontrager Road Clipless 6 Degree Pedal Cleat Set",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32999",
"name": "Bontrager Road Clipless 9 Degree Pedal Cleat Set",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "45251",
"name": "Trek SPD Pedal Rebuild Kit",
"price": "500.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}