if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "33172",
"name": "Bontrager MIK Commuter Boot Bag",
"price": "94.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33173",
"name": "Bontrager Commuter Single Pannier",
"price": "84.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24465",
"name": "Bontrager City Boot Bag",
"price": "80.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33594",
"name": "Bontrager Town Double Pannier",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41812",
"name": "Trek BellBeats Digital Bike Bell and Speaker",
"price": "99.99",
"brand": "Trek",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47140",
"name": "Trek Elite Recycled Water Bottle Cage",
"price": "9.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35952",
"name": "Electra Pinger Bike Bell",
"price": "17.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22373",
"name": "Bontrager Comp Multi-Tool",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40635",
"name": "Trek Range Boost Mounting Kit",
"price": "379.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}