if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "22738",
"name": "Bolsa trasera Bontrager MIK Utility Trunk",
"price": "103.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33172",
"name": "Bolsa trasera Bontrager MIK Commuter",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24465",
"name": "Bolsa trasera Bontrager City Trunk",
"price": "93.49",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33777",
"name": "Bolsa para portabultos trasero Electra Charcoal",
"price": "95.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40322",
"name": "Bolsa trasera Electra Fern",
"price": "95.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35100",
"name": "Bontrager-Electra MIK Stick",
"price": "10.99",
"brand": "Basil",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}