Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41406",
"name": "Juego de pedales automáticos Trek Kovee Elite",
"price": "99.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41407",
"name": "Juego de pedales automáticos Trek Line Elite",
"price": "119.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41408",
"name": "Juego de pedales automáticos Trek Kovee Pro",
"price": "119.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41405",
"name": "Juego de pedales automáticos Trek Line Comp",
"price": "89.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41404",
"name": "Juego de pedales automáticos Trek Kovee Comp",
"price": "69.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "30862",
"name": "Juego de pedales Bontrager Elite Carretera",
"price": "109.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "22371",
"name": "Juego de pedales Bontrager Comp Carretera",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22370",
"name": "Juego de pedales Bontrager Comp Montaña",
"price": "42.5",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "27134",
"name": "Juego de calas para pedales automáticos de montaña Bontrager",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "32999",
"name": "Juego de calas para pedales automáticos de 9 grados de carretera Bontrager",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 10
}
,
{
"id": "45251",
"name": "Trek SPD Pedal Rebuild Kit",
"price": "22.49",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}