if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "79363",
"name": "Rapha Gore-Tex Windstopper Thermal Hat",
"price": "599.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black_greylight",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "22489",
"name": "Bontrager Kids barnhandske",
"price": "80.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "23840",
"name": "Electra Cruiser 1 Herr kedjeskydd",
"price": "279.0",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "25595",
"name": "Electra Townie Original 7D EQ Dam skärmsats",
"price": "419.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "33877",
"name": "Bontrager Approved TK-32 11-delad frihjulsbody",
"price": "359.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}