if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "48648",
"name": "Trek Lidl-Trek Helmet Decal Set",
"price": "90.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28791",
"name": "Bontrager XXX WaveCel Trek-Segafredo Decal Set",
"price": "119.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black_white",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}