if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "32824",
"name": "Trek Madone SLR/SL Repair Stand Adapter",
"price": "300.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35507",
"name": "Trek Domane MKIII Repair Stand Adapter",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37758",
"name": "Unior Quick Release Double Clamp Repair Stand",
"price": "26100.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40346",
"name": "Unior Electric Repair Stand Clamp Bracket/Handle",
"price": "1600.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37641",
"name": "Unior Replacement Foam Repair Stand SOS Tool Tray",
"price": "200.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37632",
"name": "Unior Pro Truing Stand Handle",
"price": "200.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37633",
"name": "Unior Truing Stand Caliper Tip",
"price": "100.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}