Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37083",
"name": "Camiseta técnica Trek Evoke Montaña Mujer",
"price": "23.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "More Options",
"position": 1
}
,
{
"id": "37082",
"name": "Camiseta técnica Trek Evoke Montaña",
"price": "23.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "45017",
"name": "Maillot de manga larga Airmatic 100% Trek Factory Racing",
"price": "64.99",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "56815",
"name": "Santini Trek Factory Racing Men's Team Replica Cycling Jersey",
"price": "89.99",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "44138",
"name": "Maillot de ciclismo réplica Santini Trek Factory Racing Mujer",
"price": "71.99",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "40630",
"name": "Maillot de ciclismo Santini réplica de la campeona del mundo del Trek Factory Racing para mujer",
"price": "36.0",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "white_yellow",
"list": "More Options",
"position": 6
}
,
{
"id": "22797",
"name": "Camiseta técnica de ciclismo Bontrager Evoke Montaña Mujer",
"price": "20.99",
"brand": "Bontrager",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 7
}
,
{
"id": "22790",
"name": "Camiseta técnica de ciclismo Bontrager Quantum Fitness",
"price": "12.0",
"brand": "Bontrager",
"category": "Fitness & commuter apparel",
"variant": "yellowvisibility",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}