Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47147",
"name": "Bolsa para el cuadro Trek Adventure",
"price": "119.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47148",
"name": "Bolsa triangular Trek Adventure",
"price": "74.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47358",
"name": "Bolsa para tubo horizontal Trek Adventure",
"price": "42.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "48444",
"name": "Tornillos moleteados Trek - Paquete de 4",
"price": "7.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41673",
"name": "Bolsa para cuadro Trek Adventure Boss",
"price": "119.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "14.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "14025",
"name": "Bontrager Speed Concept Draft Box II Lid",
"price": "13.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "40646",
"name": "Electra Triangle Frame Bag",
"price": "47.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 8
}
,
{
"id": "35896",
"name": "Bolsa de móvil Electra Ziggy",
"price": "31.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "More Options",
"position": 9
}
,
{
"id": "40317",
"name": "Bolsa para móvil Electra Fern",
"price": "31.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "More Options",
"position": 10
}
,
{
"id": "35897",
"name": "Bolsa para móvil Electra Miami",
"price": "31.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "More Options",
"position": 11
}
,
{
"id": "33770",
"name": "Electra Leopard Phone Bag",
"price": "20.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "More Options",
"position": 12
}
,
{
"id": "38548",
"name": "Trek 2022 Speed Concept SLR Bento Box Assembly",
"price": "24.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "38003",
"name": "Trek 2022 Speed Concept SLR Bento Box Bucket",
"price": "13.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "38387",
"name": "Trek 2022 Speed Concept SLR Bento Box Divider",
"price": "3.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}