if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41463",
"name": "C-Star Hydraulic Brake Hose",
"price": "700.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32115",
"name": "Tektro Hydraulic Brake Hose Kit",
"price": "500.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41544",
"name": "Promax Hydraulic Brake Hose",
"price": "500.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40418",
"name": "C-Star Hydraulic Brake Olives and Barbs - Pack of 10",
"price": "400.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41462",
"name": "C-Star Olive and Barb V2",
"price": "400.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33534",
"name": "Fox Suspension Fork Brake Hose Guide Kit 2020",
"price": "400.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32116",
"name": "Tektro Hydraulic Brake Olive and Barb Hose Fittings - 10 Pack",
"price": "300.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40919",
"name": "Tektro Olive & Barb Dorado Auriga Comp Draco Brake Part - Set of 10",
"price": "300.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "27542",
"name": "Trek Hydraulic Housing Front Frame Grommet",
"price": "200.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41592",
"name": "Promax D-Plug Type Brake Hose Fitting Kit",
"price": "100.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_gold",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}