if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "ZAR", "impressions": [ { "id": "47075", "name": "Fetch+2 Range Extender Mounting Kit", "price": "2600.0", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "40280", "name": "TQ HPR 360 Watt-Hour Battery", "price": "15200.0", "brand": "TQ", "category": "E-bike batteries & parts", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "40281", "name": "TQ HPR Range Extender Battery", "price": "12400.0", "brand": "TQ", "category": "E-bike batteries & parts", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "44848", "name": "Hyena Gen 2 In-Tube 250Wh Battery", "price": "9900.0", "brand": "Hyena", "category": "E-bike batteries & parts", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "41296", "name": "Trek Domane+ AL Rear Hub/Motor", "price": "8900.0", "brand": "Hyena", "category": "E-bike motor parts", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "39112", "name": "Hyena Gen 2 250W 32h 145mm OLD Rear Hub Motor", "price": "7900.0", "brand": "Hyena", "category": "E-bike drivetrain parts", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "40635", "name": "Trek Range Boost Mounting Kit", "price": "7200.0", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "black", "list": "CATEGORY", "position": 7 } , { "id": "33051", "name": "Trek Domane+ HP Seatposts", "price": "4800.0", "brand": "Trek", "category": "E-bike drivetrain parts", "variant": "black_greydark", "list": "CATEGORY", "position": 8 } , { "id": "47895", "name": "Trek Checkmate SLR IsoSpeed Tongue", "price": "4800.0", "brand": "Trek", "category": "Bike frame parts", "variant": "grey", "list": "CATEGORY", "position": 9 } , { "id": "40283", "name": "TQ HPR50 4A Charger With US Cable", "price": "4400.0", "brand": "TQ", "category": "E-bike chargers & parts", "variant": "black", "list": "CATEGORY", "position": 10 } , { "id": "39092", "name": "Hyena Gen 2 In-Tube Controller", "price": "4000.0", "brand": "Hyena", "category": "E-bike accessories", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "40289", "name": "TQ Smart Box", "price": "3800.0", "brand": "TQ", "category": "E-bike controllers & parts", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "41726", "name": "Hyena Loft Go! 7D Gen 2 Controller", "price": "3700.0", "brand": "Hyena", "category": "E-bike controllers & parts", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "40287", "name": "TQ HPR Display/HMI", "price": "3000.0", "brand": "TQ", "category": "E-bike controllers & parts", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "41489", "name": "Trek Fetch+ 2 Footrest", "price": "3000.0", "brand": "Trek", "category": "E-bike accessories", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "41279", "name": "Hyena Domane+ AL Bottom Bracket Torque Sensor", "price": "2800.0", "brand": "Hyena", "category": "E-bike drivetrain parts", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "44371", "name": "Trek 2023 Rail 29 Aluminum Frame Battery Cover", "price": "2700.0", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "teal_greydark", "list": "CATEGORY", "position": 17 } , { "id": "40300", "name": "TQ HPR50 Ebike Main Power Cable Set - Road", "price": "2500.0", "brand": "TQ", "category": "E-bike chargers & parts", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "26942", "name": "Trek Dual Sport+ Battery Cover", "price": "2100.0", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "black_grey", "list": "CATEGORY", "position": 19 } , { "id": "34285", "name": "Trek 2021 Rail 29 Battery Cover", "price": "2100.0", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "orange_greydark", "list": "CATEGORY", "position": 20 } , { "id": "35536", "name": "Trek 2022 District+ 8 RIB Battery Cover", "price": "2100.0", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "gold_grey", "list": "CATEGORY", "position": 21 } , { "id": "32907", "name": "Trek District+ RIB Battery Cover", "price": "2100.0", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "grey_greylight", "list": "CATEGORY", "position": 22 } , { "id": "34145", "name": "Trek Allant+ 9 Battery Cover", "price": "2100.0", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "black_grey", "list": "CATEGORY", "position": 23 } , { "id": "31285", "name": "Trek Allant+ 8 Battery Cover", "price": "2100.0", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "greydark_greenvisibility", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }