if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34405",
"name": "Electra Solid Color Fahrraddrehklingel",
"price": "5.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25874",
"name": "Trek Kids Sattelstützenklemme",
"price": "3.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41994",
"name": "Trek Kids' Center Mount 235mm Kickstand",
"price": "17.49",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32536",
"name": "Trek Kids' Center Mount 247mm Kickstand",
"price": "17.49",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}