if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "30862", "name": "Bontrager Elite Road Pedal Set", "price": "139.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "44797", "name": "Trek CarBack Radar Rear Bike Light", "price": "264.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "41450", "name": "Trek Ion 200 RT / Flare RT Set", "price": "174.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "46175", "name": "Trek RSL Aero Water Bottle and Cage", "price": "134.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "white_grey", "list": "CATEGORY", "position": 4 } , { "id": "37123", "name": "Trek Ballista Mips Road Bike Helmet", "price": "399.99", "brand": "Trek", "category": "Bike helmets", "variant": "purplelight", "list": "CATEGORY", "position": 5 } , { "id": "34588", "name": "Trek Velocis Mips Road Bike Helmet", "price": "339.93", "brand": "Trek", "category": "Bike helmets", "variant": "purplelight", "list": "CATEGORY", "position": 6 } , { "id": "36036", "name": "Trek RSL Knit Road Cycling Shoe", "price": "664.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white_greylight", "list": "CATEGORY", "position": 7 } , { "id": "35040", "name": "Trek RSL Road Cycling Shoe", "price": "599.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 8 } , { "id": "34133", "name": "Trek Velocis Road Cycling Shoe", "price": "334.99", "brand": "Trek", "category": "Road bike shoes", "variant": "red", "list": "CATEGORY", "position": 9 } , { "id": "48049", "name": "Trek Aero RSL Road Integrated Handlebar/Stem", "price": "849.99", "brand": "Trek", "category": "Bike stems & accessories", "variant": "black_grey", "list": "CATEGORY", "position": 10 } , { "id": "44520", "name": "Trek Aeolus RSL Bike Saddle", "price": "424.99", "brand": "Trek", "category": "Bike saddles", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "47830", "name": "Trek Madone Gen 8 Seatpost", "price": "399.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "red", "list": "CATEGORY", "position": 12 } , { "id": "44751", "name": "Trek Elite BITS Multi-Tool", "price": "54.99", "brand": "Trek", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "41416", "name": "Trek EcoTack Handlebar Tape", "price": "44.99", "brand": "Trek", "category": "Bike handlebar grips & tape", "variant": "white", "list": "CATEGORY", "position": 14 } , { "id": "47896", "name": "Trek Perf Line Handlebar Tape Set", "price": "44.99", "brand": "Trek", "category": "Bike handlebar grips & tape", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "47135", "name": "Trek 2-Bolt Seatpost 7x9mm Saddle Clamp Ears", "price": "35.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "46167", "name": "Trek RSL Aero Water Bottle", "price": "34.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "bluedark_red", "list": "CATEGORY", "position": 17 } , { "id": "47134", "name": "Trek 2-Bolt Seatpost 7x10mm Saddle Clamp Ears", "price": "31.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "25893", "name": "Trek 2-Bolt Seatpost 7x7mm Saddle Clamp Ears", "price": "31.99", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "36401", "name": "Trek Universal Derailleur Hanger", "price": "31.99", "brand": "Trek", "category": "Bike hangers & dropouts", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "46755", "name": "Trek Voda Bio 26oz Water Bottle", "price": "18.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "green", "list": "CATEGORY", "position": 21 } , { "id": "37370", "name": "Trek Voda Flow 21oz Water Bottle", "price": "14.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "white_black", "list": "CATEGORY", "position": 22 } , { "id": "48108", "name": "Trek Madone Gen 8 Blendr Reflector Hardware Kit", "price": "1.99", "brand": "Trek", "category": "Blendr integration", "variant": "black", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }