if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "ZAR", "impressions": [ { "id": "26580", "name": "Trek Madone SLR IsoSpeed Dampers", "price": "600.0", "brand": "Trek", "category": "Bike frame parts", "variant": "black", "list": "PRODUCTSEARCH", "position": 1 } , { "id": "41940", "name": "Trek Domane+ SLR IsoSpeed Cover", "price": "600.0", "brand": "Trek", "category": "E-bike motor parts", "variant": "greendark", "list": "PRODUCTSEARCH", "position": 2 } , { "id": "37729", "name": "Trek Checkpoint SLR IsoSpeed Clip", "price": "300.0", "brand": "Trek", "category": "Bike frame parts", "variant": "black", "list": "PRODUCTSEARCH", "position": 3 } , { "id": "37728", "name": "Trek Checkpoint SLR IsoSpeed Grommet", "price": "200.0", "brand": "Trek", "category": "Bike frame parts", "variant": "black", "list": "PRODUCTSEARCH", "position": 4 } , { "id": "47996", "name": "Trek Checkmate SLR IsoSpeed Cover", "price": "200.0", "brand": "Trek", "category": "Bike frame parts", "variant": "black", "list": "PRODUCTSEARCH", "position": 5 } , { "id": "26814", "name": "Trek Madone SLR IsoSpeed Bushing", "price": "100.0", "brand": "Trek", "category": "Bearings", "variant": "tan", "list": "PRODUCTSEARCH", "position": 6 } , { "id": "25625", "name": "Trek Madone SLR IsoSpeed Hardware", "price": "100.0", "brand": "Trek", "category": "Bike frame parts", "variant": "black", "list": "PRODUCTSEARCH", "position": 7 } , { "id": "24015", "name": "Émonda SL Disc Frameset", "price": "24000.0", "brand": "Trek", "category": "Performance road bikes", "variant": "black_red", "list": "PRODUCTSEARCH", "position": 8 } , { "id": "41292", "name": "Trek Domane SL 7 IsoSpeed Cover", "price": "500.0", "brand": "Trek", "category": "Bike frame parts", "variant": "white", "list": "PRODUCTSEARCH", "position": 9 } , { "id": "44782", "name": "Trek Madone Gen 7 Taillight Mount", "price": "400.0", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "PRODUCTSEARCH", "position": 10 } , { "id": "30404", "name": "Trek 2020 Emonda SL 6 700c Disc Rigid Forks", "price": "6200.0", "brand": "Trek", "category": "Bike forks", "variant": "red_black", "list": "PRODUCTSEARCH", "position": 11 } , { "id": "30402", "name": "Trek 2020 Emonda SL 5 700c Disc Rigid Forks", "price": "6200.0", "brand": "Trek", "category": "Bike forks", "variant": "green", "list": "PRODUCTSEARCH", "position": 12 } , { "id": "46221", "name": "Madone SL 6 AXS Gen 8", "price": "115000.0", "brand": "Trek", "category": "Performance road bikes", "variant": "red", "list": "PRODUCTSEARCH", "position": 13 } , { "id": "47888", "name": "Trek Checkmate SLR 700c Rigid Fork", "price": "9500.0", "brand": "Trek", "category": "Bike forks", "variant": "greendark_greenlight", "list": "PRODUCTSEARCH", "position": 14 } , { "id": "31317", "name": "Trek Madone SLR 700c Rigid Forks", "price": "7900.0", "brand": "Trek", "category": "Bike forks", "variant": "orange", "list": "PRODUCTSEARCH", "position": 15 } , { "id": "38382", "name": "Trek Checkpoint SLR 700c Rigid Fork", "price": "7000.0", "brand": "Trek", "category": "Bike forks", "variant": "gold_grey", "list": "PRODUCTSEARCH", "position": 16 } , { "id": "26871", "name": "Trek Madone SLR Stem - High Fit", "price": "6500.0", "brand": "Trek", "category": "Bike stems & accessories", "variant": "black", "list": "PRODUCTSEARCH", "position": 17 } , { "id": "24976", "name": "Trek Madone SLR Stem - Low fit", "price": "6500.0", "brand": "Trek", "category": "Bike stems & accessories", "variant": "black", "list": "PRODUCTSEARCH", "position": 18 } , { "id": "41855", "name": "Trek Madone SLR 700c Rigid Fork", "price": "5600.0", "brand": "Trek", "category": "Bike forks", "variant": "red", "list": "PRODUCTSEARCH", "position": 19 } , { "id": "26591", "name": "Trek Madone SLR Front Brake Cover", "price": "1800.0", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "reddark_black", "list": "PRODUCTSEARCH", "position": 20 } , { "id": "41942", "name": "Trek Domane+ SLR HPR50 Motor Cover", "price": "1600.0", "brand": "Trek", "category": "E-bike motor parts", "variant": "greendark", "list": "PRODUCTSEARCH", "position": 21 } , { "id": "46159", "name": "Trek Checkpoint SLR Downtube Storage Cover", "price": "1400.0", "brand": "Trek", "category": "Bike frame parts", "variant": "gold", "list": "PRODUCTSEARCH", "position": 22 } , { "id": "46157", "name": "Trek Checkpoint SLR Headset Top Cover", "price": "1200.0", "brand": "Trek", "category": "Bike headsets", "variant": "gold", "list": "PRODUCTSEARCH", "position": 23 } , { "id": "38385", "name": "Trek 2022 Checkpoint SLR Headset Cover", "price": "900.0", "brand": "Trek", "category": "Bike headsets", "variant": "red", "list": "PRODUCTSEARCH", "position": 24 } ] } }); } else { console.log("dataLayer"); }