if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41463",
"name": "C-Star Hydraulic Brake Hose",
"price": "51.99",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32115",
"name": "Tektro Hydraulic Brake Hose Kit",
"price": "35.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41544",
"name": "Promax Hydraulic Brake Hose",
"price": "34.99",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33534",
"name": "Fox Suspension Fork Brake Hose Guide Kit 2020",
"price": "27.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40418",
"name": "C-Star Hydraulic Brake Olives and Barbs - Pack of 10",
"price": "25.99",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41462",
"name": "C-Star Olive and Barb V2",
"price": "25.99",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32116",
"name": "Tektro Hydraulic Brake Olive and Barb Hose Fittings - 10 Pack",
"price": "20.99",
"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": "19.99",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "27542",
"name": "Trek Hydraulic Housing Front Frame Grommet",
"price": "12.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}