if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "21503",
"name": "Borlas de colores Trek para niños",
"price": "4.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "11155",
"name": "Adaptador para avance de manillar Bontrager Satellite Plus IsoZone",
"price": "17.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "10311",
"name": "Tapones de manillar IsoZone Bontrager",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34014",
"name": "Electra Handlebar Streamers",
"price": "5.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "pinkdark_reflective",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}