if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "34405",
"name": "Electra Solid Colour Twister Bike Bell",
"price": "3.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36719",
"name": "Electra MIK Front Rack",
"price": "25.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}