if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "33277",
"name": "Tektro MD-C550 Mechanical Brake Caliper",
"price": "29.99",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41472",
"name": "Promax DSK-330 Mechanical Disc Brake Caliper",
"price": "22.49",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "09969",
"name": "Tektro Novela Mechanical Brake Caliper",
"price": "17.49",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}