if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "14477",
"name": "Electra Color Ringer Bike Bell",
"price": "6.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34399",
"name": "Electra Rosette Forward Twister Bike Bell",
"price": "6.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34398",
"name": "Electra Offshore Forward Twister Bike Bell",
"price": "6.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white_teal",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34405",
"name": "Electra Solid Color Forward Twister Bike Bell",
"price": "5.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34014",
"name": "Electra Handlebar Streamers",
"price": "5.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "pinkdark_reflective",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}