if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "38387",
"name": "Trek 2022 Speed Concept SLR Bento Box Divider",
"price": "3.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47332",
"name": "Rapha Bar Bag",
"price": "55.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35100",
"name": "Bontrager-Electra MIK Stick",
"price": "8.99",
"brand": "Basil",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25932",
"name": "Bontrager Basic Handlebar Bag Hardware Kit",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}