if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41238",
"name": "Gorra de ciclismo de algodón Trek",
"price": "14.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47300",
"name": "Camiseta interior de ciclismo Rapha Lightweight Sleeveless",
"price": "63.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47331",
"name": "Gorra Rapha Trail 6 Panel",
"price": "32.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46737",
"name": "Gorra de ciclismo réplica del equipo Lidl-Trek fabricada por Santini",
"price": "15.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46741",
"name": "Calcetines de ciclismo del equipo Lidl-Trek fabricados por Santini",
"price": "14.99",
"brand": "Santini",
"category": "Men's cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46743",
"name": "Braga para el cuello del equipo Lidl-Trek fabricada por Santini",
"price": "11.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}