if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite E-Bike-Reifen",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34577",
"name": "Electra Loft Hybrid Tire",
"price": "23.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12712",
"name": "Electra Amsterdam Hybrid Tire",
"price": "19.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13072",
"name": "Electra Loft Tire",
"price": "19.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "brown_white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12714",
"name": "Electra Townie Original Tire",
"price": "17.5",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}