if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47354",
"name": "Chaqueta Rapha Core de mujer para invierno",
"price": "170.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47314",
"name": "Chaqueta impermeable Rapha Core II Mujer",
"price": "160.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36067",
"name": "Trek Circuit Women's Windshell Cycling Jacket",
"price": "63.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36064",
"name": "Chaqueta de ciclismo Trek Circuit Rain Mujer",
"price": "119.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36062",
"name": "Chaqueta de ciclismo Trek Circuit Softshell Mujer",
"price": "99.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24715",
"name": "Chaqueta de ciclismo Bontrager Velocis Softshell Mujer",
"price": "77.5",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}