if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41674",
"name": "Trek Blendr Saddle Bag",
"price": "54.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"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": "24663",
"name": "Bontrager Blendr Saddle Accessory Mount",
"price": "7.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14683",
"name": "Bontrager Integrated Speed Storage",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44844",
"name": "Trek Blendr Saddle Bag Mount",
"price": "12.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "26951",
"name": "Bontrager Hilo Saddle Trim Kit",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}