if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "36359", "name": "Fuel EXe 9.8", "price": "6329.0", "brand": "Trek", "category": "Electric mountain bikes", "variant": "blue", "list": "CATEGORY", "position": 1 } , { "id": "36361", "name": "Fuel EXe 9.5", "price": "4429.0", "brand": "Trek", "category": "Electric mountain bikes", "variant": "blue", "list": "CATEGORY", "position": 2 } , { "id": "37062", "name": "Top Fuel 9.8 GX AXS Gen 3", "price": "3639.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "orange", "list": "CATEGORY", "position": 3 } , { "id": "37042", "name": "Powerfly 4 625w Gen 4", "price": "2852.0", "brand": "Trek", "category": "Electric mountain bikes", "variant": "pinklight_greydark", "list": "CATEGORY", "position": 4 } , { "id": "36916", "name": "Allant+ 6", "price": "2634.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 5 } , { "id": "36923", "name": "Allant+ 6 Stagger", "price": "2634.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "grey", "list": "CATEGORY", "position": 6 } , { "id": "35072", "name": "Top Fuel 8 Gen 3", "price": "2479.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "red", "list": "CATEGORY", "position": 7 } , { "id": "35178", "name": "Top Fuel 9.7 Gen 3", "price": "2459.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "blue", "list": "CATEGORY", "position": 8 } , { "id": "33480", "name": "District+ 1 Midstep", "price": "2031.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "grey", "list": "CATEGORY", "position": 9 } , { "id": "33481", "name": "District+ 1", "price": "1954.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "grey", "list": "CATEGORY", "position": 10 } , { "id": "36559", "name": "District+ 2", "price": "1934.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "grey", "list": "CATEGORY", "position": 11 } , { "id": "35840", "name": "FX+ 2", "price": "1631.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "red", "list": "CATEGORY", "position": 12 } , { "id": "35841", "name": "FX+ 2 Stagger", "price": "1631.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 13 } , { "id": "35852", "name": "Dual Sport+ 2", "price": "1597.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 14 } , { "id": "35054", "name": "Verve+ 2 Lowstep Gen 2", "price": "1552.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 15 } , { "id": "35118", "name": "Roscoe 9", "price": "1495.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "red", "list": "CATEGORY", "position": 16 } , { "id": "35853", "name": "Dual Sport+ 2 Stagger", "price": "1359.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 17 } , { "id": "29110", "name": "Verve+ 1", "price": "1319.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "greydark", "list": "CATEGORY", "position": 18 } , { "id": "35025", "name": "Verve+ 1 Lowstep", "price": "1319.0", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "orange", "list": "CATEGORY", "position": 19 } , { "id": "35117", "name": "Roscoe 8", "price": "1274.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "greendark", "list": "CATEGORY", "position": 20 } , { "id": "35055", "name": "FX 3 Disc Stagger Gen 3", "price": "773.0", "brand": "Trek", "category": "Active & fitness bikes", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "35021", "name": "FX 3 Disc Gen 3", "price": "773.0", "brand": "Trek", "category": "Active & fitness bikes", "variant": "white", "list": "CATEGORY", "position": 22 } , { "id": "35004", "name": "FX 2 Disc Mid-step Gen 3", "price": "494.0", "brand": "Trek", "category": "Active & fitness bikes", "variant": "red", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }