if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "27132",
"name": "Bontrager Road Clipless 6 Degree Pedal Cleat Set",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40457",
"name": "Trek Blendr Fendr",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32999",
"name": "Bontrager Road Clipless 9 Degree Pedal Cleat Set",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46120",
"name": "Lidl-Trek Team 550ml Water Bottle",
"price": "6.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluelight_yellowlight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25254",
"name": "Bontrager Standard Presta Valve Bicycle Tube",
"price": "6.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}