if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "35843", "name": "FX+ 2 Stagger", "price": "2099.93", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "35117", "name": "Roscoe 8", "price": "1899.93", "brand": "Trek", "category": "Trail mountain bikes", "variant": "greendark", "list": "CATEGORY", "position": 2 } , { "id": "35069", "name": "X-Caliber 8", "price": "1149.93", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "greydark", "list": "CATEGORY", "position": 3 } , { "id": "35021", "name": "FX 3 Disc Gen 3", "price": "799.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "36823", "name": "Dual Sport 2 Gen 5", "price": "749.93", "brand": "Trek", "category": "Dual Sport bikes", "variant": "grey", "list": "CATEGORY", "position": 5 } , { "id": "36967", "name": "Marlin 7 Gen 3", "price": "749.93", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "grey", "list": "CATEGORY", "position": 6 } , { "id": "36454", "name": "Verve 2 Lowstep Gen 4", "price": "699.93", "brand": "Trek", "category": "Comfort & recreation bikes", "variant": "black", "list": "CATEGORY", "position": 7 } , { "id": "33148", "name": "Marlin 7 Gen 2", "price": "679.93", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "bluedark_grey", "list": "CATEGORY", "position": 8 } , { "id": "32733", "name": "Verve 3 Disc Gen 4", "price": "649.93", "brand": "Trek", "category": "Comfort & recreation bikes", "variant": "blue", "list": "CATEGORY", "position": 9 } , { "id": "32732", "name": "Verve 3 Disc Lowstep Gen 4", "price": "649.93", "brand": "Trek", "category": "Comfort & recreation bikes", "variant": "purple", "list": "CATEGORY", "position": 10 } , { "id": "35004", "name": "FX 2 Disc Mid-step Gen 3", "price": "649.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "red", "list": "CATEGORY", "position": 11 } , { "id": "35066", "name": "Marlin 6 Gen 2", "price": "629.93", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "red_black", "list": "CATEGORY", "position": 12 } , { "id": "32734", "name": "Verve 2 Disc Lowstep Gen 4", "price": "599.93", "brand": "Trek", "category": "Comfort & recreation bikes", "variant": "red", "list": "CATEGORY", "position": 13 } , { "id": "32735", "name": "Verve 2 Disc Gen 4", "price": "599.93", "brand": "Trek", "category": "Comfort & recreation bikes", "variant": "red", "list": "CATEGORY", "position": 14 } , { "id": "34587", "name": "Marlin 5 Gen 2", "price": "579.93", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "greenvisibility_teal", "list": "CATEGORY", "position": 15 } , { "id": "35001", "name": "FX 1 Disc Gen 3", "price": "549.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "36450", "name": "Verve 1 Lowstep Gen 4", "price": "529.93", "brand": "Trek", "category": "Comfort & recreation bikes", "variant": "red", "list": "CATEGORY", "position": 17 } , { "id": "32737", "name": "Verve 1 Disc Gen 4", "price": "429.93", "brand": "Trek", "category": "Comfort & recreation bikes", "variant": "orange", "list": "CATEGORY", "position": 18 } , { "id": "32736", "name": "Verve 1 Disc Lowstep Gen 4", "price": "429.93", "brand": "Trek", "category": "Comfort & recreation bikes", "variant": "white", "list": "CATEGORY", "position": 19 } , { "id": "23094", "name": "Sprocket 1 16" Girls'", "price": "384.93", "brand": "Electra", "category": "Electra kids' bikes", "variant": "green", "list": "CATEGORY", "position": 20 } , { "id": "35869", "name": "Supercaliber Gen 1 Frameset", "price": "5099.99", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "greydark_black", "list": "CATEGORY", "position": 21 } , { "id": "33744", "name": "Farley AL Frameset", "price": "959.93", "brand": "Trek", "category": "Fat bikes", "variant": "bluedark_tealdark", "list": "CATEGORY", "position": 22 } ] } }); } else { console.log("dataLayer"); }