if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "35041", "name": "Trek RSL Mountain Bike Shoe", "price": "599.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 1 } , { "id": "35040", "name": "Trek RSL Road Cycling Shoe", "price": "599.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 2 } , { "id": "42257", "name": "Trek RSL Bike Saddle", "price": "424.99", "brand": "Trek", "category": "Bike saddles", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "45271", "name": "Trek Cambion Mountain Bike Shoe", "price": "349.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "48435", "name": "Trek Velocis Road Cycling Shoe", "price": "339.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 5 } , { "id": "41485", "name": "Bontrager Line 34.9 Dropper Seatpost", "price": "264.99", "brand": "Bontrager", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "44797", "name": "Trek CarBack Radar Rear Bike Light", "price": "264.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 7 } , { "id": "45105", "name": "Trek Rally WaveCel Mountain Bike Helmet", "price": "214.99", "brand": "Trek", "category": "Bike helmets", "variant": "tan_black", "list": "CATEGORY", "position": 8 } , { "id": "42198", "name": "Trek Charge WaveCel Commuter Helmet", "price": "214.99", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 9 } , { "id": "45272", "name": "Trek Foray Mountain Bike Shoe", "price": "204.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 10 } , { "id": "45273", "name": "Trek Foray Wide Mountain Bike Shoe", "price": "204.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "45274", "name": "Trek Circuit Road Cycling Shoe", "price": "189.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 12 } , { "id": "45275", "name": "Trek Circuit Wide Road Cycling Shoe", "price": "189.99", "brand": "Trek", "category": "Road bike shoes", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "47147", "name": "Trek Adventure Frame Bag", "price": "174.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "49982", "name": "Trek Powerfly+ MIK Rear Rack", "price": "174.99", "brand": "Trek", "category": "Bike racks", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "45079", "name": "Trek Quantum WaveCel Mountain Bike Helmet", "price": "169.99", "brand": "Trek", "category": "Bike helmets", "variant": "purplelight", "list": "CATEGORY", "position": 16 } , { "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": 17 } , { "id": "37985", "name": "Bontrager Aeolus RSL TLR Road Tire", "price": "119.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black_tan", "list": "CATEGORY", "position": 18 } , { "id": "47148", "name": "Trek Adventure Triangle Bag", "price": "114.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "41741", "name": "Trek Softshell Cycling Shoe Cover", "price": "99.99", "brand": "Trek", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "41742", "name": "Trek Waterproof Cycling Shoe Cover", "price": "99.99", "brand": "Trek", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "44588", "name": "Bontrager Brevard RSL SE TLR MTB Tire", "price": "94.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "44752", "name": "Bontrager Vallnord RSL XR TLR MTB Tire", "price": "94.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 23 } , { "id": "44483", "name": "Bontrager Girona RSL GR TLR Gravel Tire", "price": "94.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }