if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "NZD", "impressions": [ { "id": "41408", "name": "Trek Kovee Pro Clipless Pedal Set", "price": "219.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "30862", "name": "Bontrager Elite Road Pedal Set", "price": "189.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "41406", "name": "Trek Kovee Elite Clipless Pedal Set", "price": "169.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "22371", "name": "Bontrager Comp Road Pedal Set", "price": "149.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "41409", "name": "Trek Line Elite Flat Pedal Set", "price": "129.99", "brand": "Trek", "category": "Bike pedals", "variant": "red", "list": "CATEGORY", "position": 5 } , { "id": "41404", "name": "Trek Kovee Comp Clipless Pedal Set", "price": "119.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "35809", "name": "Bontrager Line Comp Flat Pedal Set", "price": "59.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "orange", "list": "CATEGORY", "position": 7 } , { "id": "41674", "name": "Trek Blendr Saddle Bag", "price": "109.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "30760", "name": "Bontrager Flat Pack", "price": "99.99", "brand": "Bontrager", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "25828", "name": "Bontrager Adventure Top Tube Bag", "price": "79.99", "brand": "Bontrager", "category": "Bike bags", "variant": "black_greylight", "list": "CATEGORY", "position": 10 } , { "id": "47334", "name": "Rapha Rainproof Essentials Case", "price": "70.0", "brand": "Rapha", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "14411", "name": "Bontrager Elite Seat Pack", "price": "49.99", "brand": "Bontrager", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "44797", "name": "Trek CarBack Radar Rear Bike Light", "price": "379.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "23999", "name": "Bontrager Flare RT Rear Bike Light", "price": "99.99", "brand": "Bontrager", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "23709", "name": "Bontrager Ion 200 RT Front Bike Light", "price": "99.99", "brand": "Bontrager", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "25488", "name": "Bontrager XXX Water Bottle Cage", "price": "149.99", "brand": "Bontrager", "category": "Bike water bottles & cages", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "46175", "name": "Trek RSL Aero Water Bottle and Cage", "price": "139.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "white_grey", "list": "CATEGORY", "position": 17 } , { "id": "25487", "name": "Bontrager Pro Water Bottle Cage", "price": "129.99", "brand": "Bontrager", "category": "Bike water bottles & cages", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "47140", "name": "Trek Elite Recycled Water Bottle Cage", "price": "29.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "pinkvisibility", "list": "CATEGORY", "position": 19 } , { "id": "27863", "name": "Bontrager Bat Cage Water Bottle Cage", "price": "24.99", "brand": "Bontrager", "category": "Bike water bottles & cages", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "34500", "name": "Bontrager Aeolus RSL 51 TLR Disc Road Wheel", "price": "2199.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "44492", "name": "Bontrager Aeolus Pro 37V Disc TLR Road Wheel", "price": "1699.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "34499", "name": "Bontrager Aeolus Pro 51 TLR Disc Road Wheel", "price": "1299.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 23 } , { "id": "34590", "name": "Trek Velocis Mips Road Bike Helmet", "price": "499.99", "brand": "Trek", "category": "Bike helmets", "variant": "white", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }