if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "41505",
"name": "Trek 55mm High 35 Degree Rise Stem",
"price": "219.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "34025",
"name": "Trek Riser 25.4 20 Degree Cruiser Handlebar",
"price": "229.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "229.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}