if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "34948",
"name": "Bontrager Approved Loose Ball Front 6-Bolt Hub Axle Kit",
"price": "219.0",
"brand": "Trek",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "34951",
"name": "Bontrager Approved Loose Ball City/MTB Rear Hub Axle Kit",
"price": "219.0",
"brand": "Trek",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "35241",
"name": "Trek-Diamant SKS 700C x 46mm Tall 113-Degree Front Fender",
"price": "299.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "33708",
"name": "Electra All-Weather vevd sykkelkurv",
"price": "475.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "33707",
"name": "Electra All-Weather QR vevd frontkurv",
"price": "607.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "12835",
"name": "Electra Amsterdam hjul",
"price": "1949.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}