Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41734",
"name": "Perneras Trek Thermal",
"price": "39.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41731",
"name": "Manguitos de ciclismo Trek Thermal",
"price": "29.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "32798",
"name": "Manguitos Santini Trek-Segafredo Team",
"price": "20.99",
"brand": "Santini",
"category": "Trek-Segafredo men's team wear",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "37585",
"name": "Manguitos Santini Trek-Segafredo Team",
"price": "15.0",
"brand": "Santini",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "25032",
"name": "Perneras de ciclismo Bontrager Thermal",
"price": "31.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25030",
"name": "Perneras pirata de ciclismo Bontrager Thermal",
"price": "23.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "14772",
"name": "Perneras de ciclismo Bontrager Halo Thermal",
"price": "22.5",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "25028",
"name": "Manguitos de ciclismo Bontrager Thermal",
"price": "15.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}