if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "27134",
"name": "Bontrager MTB Clipless Pedal Cleat Set",
"price": "17.49",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27132",
"name": "Bontrager Road Clipless 6 Degree Pedal Cleat Set",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"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": "23016",
"name": "Bontrager Solstice, Vella, Espresso, & Cortado Shoe SPD Plugs",
"price": "8.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44930",
"name": "Bontrager SSR Shoe SPD Plugs",
"price": "8.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44429",
"name": "Wahoo SPEEDPLAY Standard Tension Cleat",
"price": "49.99",
"brand": "Wahoo",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44430",
"name": "Wahoo SPEEDPLAY Easy Tension Cleats",
"price": "49.99",
"brand": "Wahoo",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44431",
"name": "Wahoo SPEEDPLAY Cleat Cover",
"price": "24.99",
"brand": "Wahoo",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}