Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "26172",
"name": "Trek Madone 9 Integrated Brake Wedge",
"price": "500.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "14989",
"name": "Trek Speed Concept Brake Wedges (V2)",
"price": "400.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "04658",
"name": "Trek Disc Brake Adapter Kit",
"price": "300.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"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": "More Options",
"position": 4
}
,
{
"id": "41471",
"name": "Promax FM160 Front Flat Mount Brake Adapter",
"price": "100.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41470",
"name": "Promax FM160 Rear Flat Mount Brake Adapter",
"price": "100.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}