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