if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "35212", "name": "Bali Cruiser Go!", "price": "1499.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "tan", "list": "CATEGORY", "position": 1 } , { "id": "35207", "name": "Cruiser Go! Cadre ouvert", "price": "1449.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "orangelight", "list": "CATEGORY", "position": 2 } , { "id": "35206", "name": "Cruiser Go! Cadre triangulaire", "price": "1449.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "36823", "name": "Dual Sport 2 5ème génération", "price": "749.93", "brand": "Trek", "category": "Dual Sport bikes", "variant": "grey", "list": "CATEGORY", "position": 4 } , { "id": "40905", "name": "Dual Sport+ 2 LT", "price": "2249.97", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 5 } , { "id": "35855", "name": "Dual Sport+ 2 Stagger", "price": "1899.93", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "blue", "list": "CATEGORY", "position": 6 } , { "id": "37640", "name": "Fetch+ 2", "price": "4999.97", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "red", "list": "CATEGORY", "position": 7 } , { "id": "37114", "name": "Fetch+ 4", "price": "8499.97", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "red", "list": "CATEGORY", "position": 8 } , { "id": "32769", "name": "FX 1 3e gén.", "price": "459.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "grey", "list": "CATEGORY", "position": 9 } , { "id": "35002", "name": "FX 1 Disc Mid-step 3e gén.", "price": "549.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "grey", "list": "CATEGORY", "position": 10 } , { "id": "35001", "name": "FX 1 disque 3e gén.", "price": "549.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "35004", "name": "FX 2 Disc Mid-step 3e gén.", "price": "649.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "red", "list": "CATEGORY", "position": 12 } , { "id": "35003", "name": "FX 2 disque 3e gén.", "price": "649.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "red", "list": "CATEGORY", "position": 13 } , { "id": "35843", "name": "FX 2 Stagger", "price": "2099.93", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "35021", "name": "FX 3 disque 3e gén.", "price": "799.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "35785", "name": "FX Sport 4", "price": "1249.93", "brand": "Trek", "category": "Active & fitness bikes", "variant": "greendark", "list": "CATEGORY", "position": 16 } , { "id": "35842", "name": "FX+ 2", "price": "2099.93", "brand": "Trek", "category": "Electric hybrid bikes", "variant": "red", "list": "CATEGORY", "position": 17 } , { "id": "33465", "name": "Ghostrider Go!", "price": "2949.93", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "36600", "name": "Kākau Cruiser Go!", "price": "1499.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "brown", "list": "CATEGORY", "position": 19 } , { "id": "36415", "name": "Loft Go! 7D EQ cadre ouvert", "price": "1909.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "pinklight", "list": "CATEGORY", "position": 20 } , { "id": "36414", "name": "Loft Go! 7D EQ à cadre triangulaire", "price": "1909.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "blue", "list": "CATEGORY", "position": 21 } , { "id": "47273", "name": "Ponto Go!", "price": "2999.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "blue", "list": "CATEGORY", "position": 22 } , { "id": "35210", "name": "Shibori Cruiser Go!", "price": "1499.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "blue_white", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }