if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "13091",
"name": "Bontrager XDR 12 mm Drive Side Axle End Cap",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "31626",
"name": "Bontrager Rhythm Elite Axle End Cap Kit",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "31624",
"name": "Bontrager Race Lite 15 mm Axle End Cap Kit",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"list": "PRODUCTSEARCH",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}