if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "33003", "name": "Townie Go! 5i EQ Step-Over", "price": "2949.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "greydark", "list": "CATEGORY", "position": 1 } , { "id": "33004", "name": "Townie Go! 5i EQ à cadre ouvert", "price": "2949.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "white", "list": "CATEGORY", "position": 2 } , { "id": "36414", "name": "Loft Go! 7D EQ à cadre triangulaire", "price": "1909.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "blue", "list": "CATEGORY", "position": 3 } , { "id": "36415", "name": "Loft Go! 7D EQ cadre ouvert", "price": "1909.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "pinklight", "list": "CATEGORY", "position": 4 } , { "id": "35273", "name": "Townie Go! 7D cadre ouvert", "price": "1699.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "yellowvisibility", "list": "CATEGORY", "position": 5 } , { "id": "35272", "name": "Townie Go! 7D cadre triangulaire", "price": "1699.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "greendark", "list": "CATEGORY", "position": 6 } , { "id": "35210", "name": "Shibori Cruiser Go!", "price": "1499.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "blue_white", "list": "CATEGORY", "position": 7 } , { "id": "36600", "name": "Kākau Cruiser Go!", "price": "1499.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "brown", "list": "CATEGORY", "position": 8 } , { "id": "35212", "name": "Bali Cruiser Go!", "price": "1499.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "tan", "list": "CATEGORY", "position": 9 } , { "id": "35207", "name": "Cruiser Go! Cadre ouvert", "price": "1449.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "orangelight", "list": "CATEGORY", "position": 10 } , { "id": "35206", "name": "Cruiser Go! Cadre triangulaire", "price": "1449.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "47273", "name": "Ponto Go!", "price": "2999.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "blue", "list": "CATEGORY", "position": 12 } , { "id": "47938", "name": "Townie Go! 7D EQ à cadre ouvert", "price": "1909.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "yellowvisibility", "list": "CATEGORY", "position": 13 } , { "id": "47937", "name": "Townie Go! 7D EQ cadre diamant", "price": "1909.97", "brand": "Electra", "category": "Electra e-bikes", "variant": "greendark", "list": "CATEGORY", "position": 14 } , { "id": "34871", "name": "Vale Go! 9D EQ", "price": "3719.93", "brand": "Electra", "category": "Electra e-bikes", "variant": "tan", "list": "CATEGORY", "position": 15 } , { "id": "33465", "name": "Ghostrider Go!", "price": "2949.93", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "26947", "name": "Townie Path Go! 10D EQ Step-Over", "price": "3719.93", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 17 } ] } }); } else { console.log("dataLayer"); }