if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "NZD", "impressions": [ { "id": "42278", "name": "Trek Speed Concept SLR Seatmast", "price": "799.99", "brand": "Trek", "category": "Bike frame parts", "variant": "red_black", "list": "CATEGORY", "position": 1 } , { "id": "41991", "name": "Trek 2023 Madone SL Replacement Seatmasts", "price": "733.99", "brand": "Trek", "category": "Bike frame parts", "variant": "greydark_black", "list": "CATEGORY", "position": 2 } , { "id": "36135", "name": "Trek Madone SL Seatmasts", "price": "699.99", "brand": "Trek", "category": "Bike frame parts", "variant": "red", "list": "CATEGORY", "position": 3 } , { "id": "42026", "name": "Trek Domane MKIV IsoSpeed Hardware Kit", "price": "699.99", "brand": "Trek", "category": "Bike frame parts", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "26638", "name": "Trek Madone SLR Seatmasts", "price": "689.99", "brand": "Trek", "category": "Bike frame parts", "variant": "black_greydark", "list": "CATEGORY", "position": 5 } , { "id": "24997", "name": "Trek Madone SLR Colour-Matched Carbon Internal Seatmast Cap", "price": "556.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "red", "list": "CATEGORY", "position": 6 } , { "id": "30477", "name": "Trek Madone SL Colour-Matched Carbon Internal Seatmast Cap", "price": "499.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "blue", "list": "CATEGORY", "position": 7 } , { "id": "30668", "name": "Trek Domane SLR Colour-Matched Carbon Internal Seatmast Cap", "price": "499.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "red", "list": "CATEGORY", "position": 8 } , { "id": "33924", "name": "Trek Domane SL Color-Matched Carbon Internal Seatmast Cap", "price": "428.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "black_greydark", "list": "CATEGORY", "position": 9 } , { "id": "47895", "name": "Trek Checkmate SLR IsoSpeed Tongue", "price": "399.99", "brand": "Trek", "category": "Bike frame parts", "variant": "grey", "list": "CATEGORY", "position": 10 } , { "id": "42049", "name": "Trek Domane MKIV IsoSpeed Tongues", "price": "399.99", "brand": "Trek", "category": "Bike frame parts", "variant": "grey_black", "list": "CATEGORY", "position": 11 } , { "id": "28220", "name": "Trek Powerfly FS Bosch Motor Armor", "price": "332.99", "brand": "Trek", "category": "Bike frame protection", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "44371", "name": "Trek 2023 Rail 29 Aluminum Frame Battery Cover", "price": "319.99", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "teal_greydark", "list": "CATEGORY", "position": 13 } , { "id": "34015", "name": "Trek Colour-Matched Matte Carbon Seat Mast Cap & 7 mm Round Ears", "price": "299.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "11255", "name": "Trek Colour-Matched Carbon Seatmast Cap & 7 mm Round Ears", "price": "299.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "45594", "name": "MRP MXg Bash Guard & Chain Guide for Trek 2024 Slash", "price": "299.99", "brand": "Trek", "category": "Bike chain guides", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "48285", "name": "Trek Top Fuel 29 Gen 6 Storage Door Cover - Carbon Models", "price": "229.99", "brand": "Trek", "category": "Bike frame parts", "variant": "gold", "list": "CATEGORY", "position": 17 } , { "id": "48286", "name": "Trek Top Fuel 29 Gen 6 Storage Door Cover - Aluminum Models", "price": "229.99", "brand": "Trek", "category": "Bike frame parts", "variant": "tan", "list": "CATEGORY", "position": 18 } , { "id": "37004", "name": "Trek Speed Concept X-Large Gen 1 Front Brake Cover", "price": "219.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "36983", "name": "Trek Speed Concept X-Small/Medium Gen 2 Front Brake Cover", "price": "219.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "37003", "name": "Trek Speed Concept Large Gen 1 Front Brake Cover", "price": "219.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "36981", "name": "Trek Speed Concept X-Large Gen 2 Front Brake Cover", "price": "219.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "37002", "name": "Trek Speed Concept X-Small/Medium Gen 1 Front Brake Cover", "price": "219.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 23 } , { "id": "36982", "name": "Trek Speed Concept Small Gen 2 Front Brake Cover", "price": "219.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }