if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36064",
"name": "Chaqueta de ciclismo Trek Circuit Rain Mujer",
"price": "119.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36062",
"name": "Chaqueta de ciclismo Trek Circuit Softshell Mujer",
"price": "99.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "56808",
"name": "Santini Lidl-Trek Replica Race Wind Vest",
"price": "89.99",
"brand": "Santini",
"category": "Men's cycling jackets & vests",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36067",
"name": "Trek Circuit Women's Windshell Cycling Jacket",
"price": "63.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47354",
"name": "Chaqueta Rapha Core de mujer para invierno",
"price": "170.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}