if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "13656", "name": "Trek Madone 9 Aero Integrated Brake", "price": "309.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "24977", "name": "Trek Madone SLR Brakes", "price": "309.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "30897", "name": "Étrier de frein Bontrager Speed Stop Pro à fixation Direct Mount", "price": "269.99", "brand": "Bontrager", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "13070", "name": "Frein intégré Bontrager Speed Stop", "price": "194.99", "brand": "Bontrager", "category": "Bike brakes, pads, & levers", "variant": "black_greydark", "list": "CATEGORY", "position": 4 } , { "id": "12287", "name": "Freins Trek Speed Concept", "price": "169.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "12787", "name": "Étrier de frein Electra Townie Lee-Chi HV-126", "price": "41.99", "brand": "Electra", "category": "Bike brakes, pads, & levers", "variant": "greylight", "list": "CATEGORY", "position": 6 } , { "id": "14028", "name": "Electra Replacement Loft Brakes", "price": "27.99", "brand": "Lee Chi", "category": "Bike brakes, pads, & levers", "variant": "greylight", "list": "CATEGORY", "position": 7 } , { "id": "10775", "name": "Lee Chi Long Reach Brake Caliper", "price": "23.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 8 } ] } }); } else { console.log("dataLayer"); }