if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "27135", "name": "Bontrager Universal Road/CX/MTB Fender Set", "price": "84.99", "brand": "Bontrager", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "44947", "name": "Trek Enduro Front Fender", "price": "19.99", "brand": "Trek", "category": "Bike fenders & accessories", "variant": "orange", "list": "CATEGORY", "position": 2 } , { "id": "36444", "name": "Garmin Rally XC100 Single-Sensing Power Meter Pedal Set", "price": "809.99", "brand": "Garmin", "category": "Bike pedals", "variant": "grey", "list": "CATEGORY", "position": 3 } , { "id": "22030", "name": "Crankbrothers Candy 7 Pedal Set", "price": "269.99", "brand": "Crankbrothers", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "21587", "name": "Crankbrothers Stamp 7 Large Pedal Set", "price": "259.99", "brand": "Crankbrothers", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "27634", "name": "Crankbrothers Stamp 7 Small Pedal Set", "price": "259.99", "brand": "Crankbrothers", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "22034", "name": "Crankbrothers Eggbeater 3 Pedal Set", "price": "219.99", "brand": "Crankbrothers", "category": "Bike pedals", "variant": "black_greylight", "list": "CATEGORY", "position": 7 } , { "id": "41408", "name": "Trek Kovee Pro Clipless Pedal Set", "price": "199.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "21586", "name": "Crankbrothers Double Shot Pedal Set", "price": "144.99", "brand": "Crankbrothers", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "24661", "name": "Crankbrothers Candy 2 Pedal Set", "price": "144.99", "brand": "Crankbrothers", "category": "Bike pedals", "variant": "grey", "list": "CATEGORY", "position": 10 } , { "id": "41406", "name": "Trek Kovee Elite Clipless Pedal Set", "price": "144.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "41410", "name": "Trek Line Pro Flat Pedal Set", "price": "134.99", "brand": "Trek", "category": "Bike pedals", "variant": "orange", "list": "CATEGORY", "position": 12 } , { "id": "41407", "name": "Trek Line Elite Clipless Pedal Set", "price": "134.93", "brand": "Trek", "category": "Bike pedals", "variant": "purpledark", "list": "CATEGORY", "position": 13 } , { "id": "41405", "name": "Trek Line Comp Clipless Pedal Set", "price": "99.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "24660", "name": "Crankbrothers Candy 1 Pedal Set", "price": "89.99", "brand": "Crankbrothers", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "41404", "name": "Trek Kovee Comp Clipless Pedal Set", "price": "84.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "41409", "name": "Trek Line Elite Flat Pedal Set", "price": "74.99", "brand": "Trek", "category": "Bike pedals", "variant": "red", "list": "CATEGORY", "position": 17 } , { "id": "22370", "name": "Bontrager Comp MTB Pedal Set", "price": "54.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "23423", "name": "Bontrager Line Elite MTB Pedal Set", "price": "49.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "44426", "name": "Trek Line Comp Flat Pedal Set", "price": "44.99", "brand": "Trek", "category": "Bike pedals", "variant": "orange", "list": "CATEGORY", "position": 20 } , { "id": "34744", "name": "Bontrager Rapid Pack Hydro", "price": "134.99", "brand": "Bontrager", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "14798", "name": "Bontrager Rapid Pack", "price": "84.99", "brand": "Bontrager", "category": "Bike bags", "variant": "greendark", "list": "CATEGORY", "position": 22 } , { "id": "14405", "name": "Bontrager Pro Ride Wallet Plus", "price": "24.93", "brand": "Bontrager", "category": "Bike bags", "variant": "white_black", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }