if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37110",
"name": "Guantes de montaña Trek Evoke Youth Unisex",
"price": "19.99",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37109",
"name": "Guantes de ciclismo Trek de niño unisex",
"price": "19.99",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22489",
"name": "Guantes de ciclismo Bontrager de niño",
"price": "7.5",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}