if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "GBP", "impressions": [ { "id": "44425", "name": "Wahoo SPEEDPLAY ZERO Pedals", "price": "199.99", "brand": "Wahoo", "category": "Bike pedals", "variant": "greylight_black", "list": "CATEGORY", "position": 1 } , { "id": "30862", "name": "Bontrager Elite Road Pedal Set", "price": "99.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "44797", "name": "Trek CarBack Radar Rear Bike Light", "price": "169.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "41450", "name": "Trek Ion 200 RT / Flare RT Set", "price": "89.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "46175", "name": "Trek RSL Aero Water Bottle and Cage", "price": "89.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "white_grey", "list": "CATEGORY", "position": 5 } , { "id": "37124", "name": "Trek Ballista Mips Road Bike Helmet", "price": "229.99", "brand": "Trek", "category": "Bike helmets", "variant": "white", "list": "CATEGORY", "position": 6 } , { "id": "34589", "name": "Trek Velocis Mips Road Bike Helmet", "price": "183.99", "brand": "Trek", "category": "Bike helmets", "variant": "purplelight", "list": "CATEGORY", "position": 7 } , { "id": "48049", "name": "Trek Aero RSL Road Integrated Handlebar/Stem", "price": "599.99", "brand": "Trek", "category": "Bike stems & accessories", "variant": "black_grey", "list": "CATEGORY", "position": 8 } , { "id": "36036", "name": "Trek RSL Knit Road Cycling Shoes", "price": "399.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white_greylight", "list": "CATEGORY", "position": 9 } , { "id": "35040", "name": "Trek RSL Road Cycling Shoes", "price": "349.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 10 } , { "id": "47830", "name": "Trek Madone Gen 8 Seat Post", "price": "339.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "red", "list": "CATEGORY", "position": 11 } , { "id": "34133", "name": "Trek Velocis Road Cycling Shoes", "price": "229.99", "brand": "Trek", "category": "Road bike shoes", "variant": "red", "list": "CATEGORY", "position": 12 } , { "id": "44520", "name": "Trek Aeolus RSL Bike Saddle", "price": "215.99", "brand": "Trek", "category": "Bike saddles", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "44751", "name": "Trek Elite BITS Multi-Tool", "price": "44.99", "brand": "Trek", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "41416", "name": "Trek EcoTack Handlebar Tape", "price": "26.99", "brand": "Trek", "category": "Bike handlebar grips & tape", "variant": "white", "list": "CATEGORY", "position": 15 } , { "id": "47896", "name": "Trek Perf Line Handlebar Tape Set", "price": "24.99", "brand": "Trek", "category": "Bike handlebar grips & tape", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "36401", "name": "Trek Universal Derailleur Hanger", "price": "22.49", "brand": "Trek", "category": "Bike hangers & dropouts", "variant": "black", "list": "CATEGORY", "position": 17 } , { "id": "25893", "name": "Trek 2-Bolt Seatpost 7x7mm Saddle Clamp Ears", "price": "19.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "47134", "name": "Trek 2-Bolt Seatpost 7x10mm Saddle Clamp Ears", "price": "19.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "46167", "name": "Trek RSL Aero Water Bottle", "price": "19.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "bluedark_red", "list": "CATEGORY", "position": 20 } , { "id": "47135", "name": "Trek 2-Bolt Seatpost 7x9mm Saddle Clamp Ears", "price": "17.49", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "48108", "name": "Trek Madone Gen 8 Blendr Reflector Hardware Kit", "price": "1.99", "brand": "Trek", "category": "Blendr integration", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "14411", "name": "Bontrager Elite Seat Pack", "price": "19.99", "brand": "Bontrager", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }