if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "12095",
"name": "Bontrager Speed Stop Brake Pad Holders",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13657",
"name": "Trek Madone 9 Aero Brake Pad Holders",
"price": "300.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26460",
"name": "Trek Madone SLR Front Brake Cable Stop",
"price": "200.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30734",
"name": "Trek Madone 9 Series Brake Stop with Num Holder",
"price": "200.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26181",
"name": "Trek Speed Concept Gen 1 Front Brake Stud",
"price": "180.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22441",
"name": "Trek Road Brake/Di2 Housing Stop",
"price": "180.0",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25854",
"name": "Trek Speed Concept Aerobar Front Brake Housing Stop",
"price": "140.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "65452",
"name": "Trek-Diamant Post Mount to Flat Mount Adapter Front & Rear",
"price": "140.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30731",
"name": "Trek Madone 9 Series Brake Stop",
"price": "140.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "26180",
"name": "Trek Speed Concept Gen 1 Rear Brake Bracket Bolt",
"price": "40.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}