if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "14602",
"name": "Bontrager ANT+/BLE Softstrap Herzfrequenzgurt",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49294",
"name": "Wahoo TRACKR Herzfrequenzmesser",
"price": "89.99",
"brand": "Wahoo",
"category": "Bike computers & GPS",
"variant": "black_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "21492",
"name": "Bontrager Softstrap Heart Rate Belt",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}