if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "14508",
"name": "Electra Unicorn Ringer Bike Bell",
"price": "12.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14920",
"name": "Electra Doughnut Ringer Bike Bell",
"price": "12.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "brown_pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14501",
"name": "Electra XOXO Ringer Bike Bell",
"price": "12.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "purple",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40173",
"name": "Electra Gummy Bear Ringer Bike Bell",
"price": "12.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greenlight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30262",
"name": "Electra Jellyfish Domed Linear Bike Bell",
"price": "11.89",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27086",
"name": "Electra Linear Bike Bell",
"price": "11.89",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "bronze",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40195",
"name": "Electra Cairn Linear Bike Bell",
"price": "11.89",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40197",
"name": "Electra Clock Tower Domed Linear Bike Bell",
"price": "11.89",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14477",
"name": "Electra Colour Ringer Bike Bell",
"price": "4.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}