if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36036",
"name": "Zapatillas de carretera Trek RSL Knit",
"price": "449.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Zapatillas de carretera Trek RSL",
"price": "399.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Zapatillas de carretera Trek Velocis",
"price": "249.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45274",
"name": "Zapatillas de ciclismo de carretera Trek Circuit",
"price": "149.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31573",
"name": "Zapatilla de ciclismo Bontrager Cadence Indoor",
"price": "129.99",
"brand": "Bontrager",
"category": "Indoor cycling shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34132",
"name": "Zapatillas de ciclismo Bontrager Circuit Carretera",
"price": "116.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31571",
"name": "Zapatillas de ciclismo Bontrager SSR Multisport",
"price": "99.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33678",
"name": "Zapatillas de ciclismo Bontrager Solstice Carretera",
"price": "79.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}