if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "46743",
"name": "Santini Lidl-Trek Team Cycling Neck Gaiter",
"price": "139.0",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47331",
"name": "Rapha Trail 6 Panel Cap",
"price": "390.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}