if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "26574",
"name": "Trek Madone SLR Brake Wedges",
"price": "600.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26172",
"name": "Trek Madone 9 Integrated Brake Wedge",
"price": "500.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14989",
"name": "Trek Speed Concept Brake Wedges (V2)",
"price": "400.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "04658",
"name": "Trek Disc Brake Adapter Kit",
"price": "300.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45093",
"name": "Rock Shox 1.5mm Brake Adapter Spacers for 203mm Rotors",
"price": "200.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41471",
"name": "Promax FM160 Front Flat Mount Brake Adapter",
"price": "100.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41470",
"name": "Promax FM160 Rear Flat Mount Brake Adapter",
"price": "100.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}