if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41743",
"name": "Guantes de ciclismo Trek Circuit Waterproof Winter",
"price": "59.99",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41744",
"name": "Guantes de ciclismo Trek Circuit Windshell",
"price": "49.99",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41745",
"name": "Guantes de ciclismo Trek Circuit Thermal",
"price": "39.99",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37098",
"name": "Guantes largos de ciclismo Trek Circuit Twin Gel Unisex",
"price": "34.99",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37106",
"name": "Guantes de montaña Trek Evoke Unisex",
"price": "23.99",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31923",
"name": "Guantes de montaña 100% Ridecamp",
"price": "24.99",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}