if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48770",
"name": "Pirelli P ZERO Race TLR RS Rennradreifen",
"price": "89.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45223",
"name": "Pirelli P ZERO Race TLR 4S Rennradreifen",
"price": "89.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46160",
"name": "Pirelli P ZERO Race TLR Rennradreifen",
"price": "79.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "38203",
"name": "Pirelli Cinturato Velo TLR Rennradreifen",
"price": "74.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38201",
"name": "Pirelli P ZERO Race Road Tire",
"price": "69.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38202",
"name": "Pirelli P ZERO Road Tire",
"price": "49.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}