if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "30863",
"name": "Bontrager Pro Ratchet Multi-Tool",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32853",
"name": "Bontrager Pro Multi-Tool",
"price": "1200.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22373",
"name": "Bontrager Comp Multi-Tool",
"price": "240.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30807",
"name": "Bontrager BITS Integrated Multi-Tool",
"price": "740.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41411",
"name": "Trek Pro BITS Multi-Tool",
"price": "1300.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44751",
"name": "Trek Elite BITS Multi-Tool",
"price": "1000.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "21794",
"name": "Bontrager Pro Flat Pack",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "26602",
"name": "Bontrager Switch Lever Tool",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}