if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "22158",
"name": "Bontrager Race Lite Ergo Bar Ends IsoZone Bar Adapters",
"price": "10.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "10311",
"name": "Bouchons pour cintre Bonrager IsoZone",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35187",
"name": "Diamant 136 Bar Ends",
"price": "39.99",
"brand": "Diamant",
"category": "Bike handlebars",
"variant": "purple",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}