if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "31938", "name": "Panier pour animal Electra Basil MIK", "price": "249.99", "brand": "Electra", "category": "Bike baskets", "variant": "white", "list": "CATEGORY", "position": 1 } , { "id": "34174", "name": "Electra Townie GO! Porte-bagages arrière MIK 5i", "price": "159.99", "brand": "Electra", "category": "Bike racks", "variant": "orange", "list": "CATEGORY", "position": 2 } , { "id": "33711", "name": "Caisse en bois Electra MIK", "price": "158.99", "brand": "Electra", "category": "Bike baskets", "variant": "brown", "list": "CATEGORY", "position": 3 } , { "id": "33796", "name": "Panier MIK tissé tout temps d’Electra", "price": "134.99", "brand": "Electra", "category": "Bike baskets", "variant": "grey", "list": "CATEGORY", "position": 4 } , { "id": "40888", "name": "Porte-bagages arrière MIK Electra", "price": "119.99", "brand": "Electra", "category": "Bike racks", "variant": "greylight", "list": "CATEGORY", "position": 5 } , { "id": "36719", "name": "Porte-bagages avant MIK Electra", "price": "84.99", "brand": "Electra", "category": "Bike racks", "variant": "greylight", "list": "CATEGORY", "position": 6 } , { "id": "33777", "name": "Sacoche arrière Electra, charbon", "price": "79.93", "brand": "Electra", "category": "Bike bags", "variant": "greydark", "list": "CATEGORY", "position": 7 } , { "id": "31939", "name": "Caisse Basil Electra", "price": "64.99", "brand": "Electra", "category": "Bike baskets", "variant": "tealdark", "list": "CATEGORY", "position": 8 } , { "id": "33695", "name": "Panier MIK profil bas Electra Honeycomb", "price": "51.93", "brand": "Electra", "category": "Bike baskets", "variant": "pinklight", "list": "CATEGORY", "position": 9 } , { "id": "30378", "name": "Electra Vale MIK Compatible Rear Rack", "price": "39.93", "brand": "Electra", "category": "Bike racks", "variant": "greylight", "list": "CATEGORY", "position": 10 } , { "id": "41508", "name": "Electra Universal MIK Rear Rack Hardware Kit", "price": "37.99", "brand": "Electra", "category": "Bike racks", "variant": "greylight", "list": "CATEGORY", "position": 11 } , { "id": "32852", "name": "Plaque de porte-bagages MIK Bontrager-Electra", "price": "34.99", "brand": "Bontrager-Electra", "category": "Bike racks", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "32728", "name": "Plaque d’adaptation pour sacoche Bontrager/Electra MIK", "price": "34.99", "brand": "Bontrager-Electra", "category": "Bike racks", "variant": "black", "list": "CATEGORY", "position": 13 } ] } }); } else { console.log("dataLayer"); }