if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "41426", "name": "Émonda ALR 5", "price": "2003.0", "brand": "Trek", "category": "Performance road bikes", "variant": "red_reddark", "list": "CATEGORY", "position": 1 } , { "id": "33241", "name": "Kit cadre Procaliber 2ère gén.", "price": "1999.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "white_black", "list": "CATEGORY", "position": 2 } , { "id": "36100", "name": "Émonda ALR 5", "price": "1999.0", "brand": "Trek", "category": "Performance road bikes", "variant": "bluelight_pink", "list": "CATEGORY", "position": 3 } , { "id": "36559", "name": "District+ 2", "price": "1889.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "grey", "list": "CATEGORY", "position": 4 } , { "id": "41607", "name": "Domane AL 4 4e gén.", "price": "1829.0", "brand": "Trek", "category": "Performance road bikes", "variant": "white", "list": "CATEGORY", "position": 5 } , { "id": "41642", "name": "Procaliber 9.6 2ère gén.", "price": "1799.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "blue", "list": "CATEGORY", "position": 6 } , { "id": "33482", "name": "District+ 1 Lowstep", "price": "1749.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "grey", "list": "CATEGORY", "position": 7 } , { "id": "33480", "name": "District+ 1 Midstep", "price": "1657.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "grey", "list": "CATEGORY", "position": 8 } , { "id": "35840", "name": "FX+ 2", "price": "1614.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "red", "list": "CATEGORY", "position": 9 } , { "id": "35841", "name": "FX+ 2 Stagger", "price": "1614.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 10 } , { "id": "35852", "name": "Dual Sport+ 2", "price": "1572.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 11 } , { "id": "37018", "name": "Farley 5", "price": "1544.0", "brand": "Trek", "category": "Fat bikes", "variant": "tealdark_greydark", "list": "CATEGORY", "position": 12 } , { "id": "41618", "name": "Procaliber 8", "price": "1529.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "greylight", "list": "CATEGORY", "position": 13 } , { "id": "35054", "name": "Verve+ 2 Lowstep Gen 2", "price": "1499.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 14 } , { "id": "35118", "name": "Roscoe 9", "price": "1479.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "red", "list": "CATEGORY", "position": 15 } , { "id": "33258", "name": "Procaliber 9.5 2ère gén.", "price": "1449.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "purpledark_black", "list": "CATEGORY", "position": 16 } , { "id": "41615", "name": "Procaliber 6", "price": "1329.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "red", "list": "CATEGORY", "position": 17 } , { "id": "35853", "name": "Dual Sport+ 2 Stagger", "price": "1317.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 18 } , { "id": "29110", "name": "Verve+ 1", "price": "1274.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "greydark", "list": "CATEGORY", "position": 19 } , { "id": "35117", "name": "Roscoe 8", "price": "1232.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "greendark", "list": "CATEGORY", "position": 20 } , { "id": "41587", "name": "Domane AL 2 4e gén.", "price": "1229.0", "brand": "Trek", "category": "Performance road bikes", "variant": "greydark", "list": "CATEGORY", "position": 21 } , { "id": "41217", "name": "Marlin 7 Gen 3", "price": "1179.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "orange", "list": "CATEGORY", "position": 22 } , { "id": "31548", "name": "Roue de route à disque Bontrager Aeolus RSL 37 TLR", "price": "1149.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 23 } , { "id": "34500", "name": "Roue de route à disque Bontrager Aeolus RSL 51 TLR", "price": "1149.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }