if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "07745",
"name": "Diamant Retro Klingel Bike Bell",
"price": "109.0",
"brand": "Diamant",
"category": "Bike bells & horns",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "34483",
"name": "Electra Gnome Ringer Bike Bell",
"price": "84.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "29308",
"name": "Electra Domed Ringer Smores Bike Bell",
"price": "125.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "40197",
"name": "Electra Clock Tower Domed Linear Bike Bell",
"price": "229.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "40190",
"name": "Electra Coral Reef Small Ding Dong Bike Bell",
"price": "199.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}