if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "34174",
"name": "Electra Townie GO! 5i MIK Rear Rack",
"price": "109.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33710",
"name": "Electra Alloy Wire MIK Basket",
"price": "89.99",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33796",
"name": "Electra All-Weather Woven MIK Basket",
"price": "84.99",
"brand": "Electra",
"category": "Bike baskets",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40888",
"name": "Electra MIK Rear Rack",
"price": "74.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33695",
"name": "Electra Honeycomb Low-Profile MIK Basket",
"price": "69.99",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30378",
"name": "Electra 27.5" MIK Compatible Rear Rack",
"price": "57.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41508",
"name": "Electra Universal MIK Rear Rack Hardware Kit",
"price": "24.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32728",
"name": "Bontrager-Electra MIK Bike Bag Adapter Plate",
"price": "16.99",
"brand": "Bontrager-Electra",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32852",
"name": "Bontrager-Electra MIK Bike Rack Carrier Plate",
"price": "16.99",
"brand": "Bontrager-Electra",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}