if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "36036", "name": "Zapatillas de carretera Trek RSL Knit", "price": "449.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white_greylight", "list": "CATEGORY", "position": 1 } , { "id": "35041", "name": "Zapatillas Trek RSL Montaña", "price": "399.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 2 } , { "id": "35040", "name": "Zapatillas de carretera Trek RSL", "price": "399.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 3 } , { "id": "45271", "name": "Zapatillas Trek Cambion Montaña", "price": "279.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "44797", "name": "Luz trasera Trek CarBack Radar", "price": "199.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "45272", "name": "Zapatillas de montaña Trek Foray", "price": "169.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 6 } , { "id": "45106", "name": "Casco Trek Rally WaveCel Montaña", "price": "169.99", "brand": "Trek", "category": "Bike helmets", "variant": "tan_black", "list": "CATEGORY", "position": 7 } , { "id": "45274", "name": "Zapatillas de ciclismo de carretera Trek Circuit", "price": "149.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 8 } , { "id": "47147", "name": "Bolsa para el cuadro Trek Adventure", "price": "119.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "45104", "name": "Casco de montaña Trek Quantum WaveCel", "price": "119.99", "brand": "Trek", "category": "Bike helmets", "variant": "white_gold", "list": "CATEGORY", "position": 10 } , { "id": "47075", "name": "Kit de instalación del módulo de ampliación de la autonomía de la Fetch+2", "price": "109.99", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "46175", "name": "Bidón y portabidón Trek RSL Aero", "price": "99.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "white_grey", "list": "CATEGORY", "position": 12 } , { "id": "41411", "name": "Multiherramienta Trek Pro BITS", "price": "79.99", "brand": "Trek", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "47148", "name": "Bolsa triangular Trek Adventure", "price": "74.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "44751", "name": "Multiherramienta Trek Elite BITS", "price": "49.99", "brand": "Trek", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "47358", "name": "Bolsa para tubo horizontal Trek Adventure", "price": "42.99", "brand": "Trek", "category": "Bike bags", "variant": "black_greylight", "list": "CATEGORY", "position": 16 } , { "id": "46167", "name": "Bidón Trek RSL Aero", "price": "24.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "bluedark_red", "list": "CATEGORY", "position": 17 } , { "id": "47225", "name": "Bolsa de herramientas Trek BITS", "price": "22.99", "brand": "Trek", "category": "Bike bags", "variant": "grey", "list": "CATEGORY", "position": 18 } , { "id": "47226", "name": "Bolsa para cámara Trek BITS", "price": "17.99", "brand": "Trek", "category": "Bike bags", "variant": "grey", "list": "CATEGORY", "position": 19 } , { "id": "47140", "name": "Portabidón Trek Elite Recycled", "price": "12.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "gold", "list": "CATEGORY", "position": 20 } , { "id": "48444", "name": "Tornillos moleteados Trek - Paquete de 4", "price": "7.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "41485", "name": "Tija telescópica Bontrager Line 34.9", "price": "219.99", "brand": "Bontrager", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "37985", "name": "Cubierta Bontrager Aeolus RSL TLR Carretera", "price": "89.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black_tan", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }