if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47316",
"name": "Chaleco Rapha Core Gilet",
"price": "88.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "55.99",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47318",
"name": "Chaleco Rapha Brevet Gilet",
"price": "135.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37506",
"name": "Chaleco Santini Trek-Segafredo Team Windshell Hombre",
"price": "67.49",
"brand": "Santini",
"category": "Cycling vests",
"variant": "pink",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}