if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "44545",
"name": "Sinter-skivebremseklodser med Endurance-gummiblanding",
"price": "219.0",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44543",
"name": "Sinter-skivebremseklodser med Performance-gummiblanding",
"price": "219.0",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44544",
"name": "Sinter-skivebremseklodser med Race-gummiblanding",
"price": "219.0",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44542",
"name": "Sinter-skivebremseklodser med Standard-gummiblanding",
"price": "109.0",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}