if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "37624",
"name": "Unior Bearing Press Protector 30mm",
"price": "15.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37638",
"name": "Unior Pro Chain Tool Ball",
"price": "7.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32920",
"name": "Unior Hex Wrench",
"price": "4.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}