if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "47147",
"name": "Trek Adventure stelletaske",
"price": "999.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "47148",
"name": "Trek Adventure trekantet taske",
"price": "599.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "47358",
"name": "Trek Adventure taske til overrør",
"price": "329.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "PRODUCTSEARCH",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}