if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "12711", "name": "Electra Delivery 3i Tank Plate", "price": "55.99", "brand": "Electra", "category": "Bike frame parts", "variant": "tan", "list": "CATEGORY", "position": 1 } , { "id": "27158", "name": "Electra Cafe Moto Go! Dropout Kit", "price": "48.99", "brand": "Electra", "category": "Bike hangers & dropouts", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "22778", "name": "Electra Cruiser Lux Ad Panels", "price": "43.99", "brand": "Electra", "category": "Bike frame parts", "variant": "white_black", "list": "CATEGORY", "position": 3 } , { "id": "24293", "name": "Electra Townie Derailleur Hanger", "price": "23.99", "brand": "Electra", "category": "Bike hangers & dropouts", "variant": "grey", "list": "CATEGORY", "position": 4 } , { "id": "37569", "name": "Electra Townie 135 x 12mm Derailleur Hanger", "price": "23.99", "brand": "Electra", "category": "Bike hangers & dropouts", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "44689", "name": "Electra Loft Go! 7D Rear Lower Fender Strut", "price": "17.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "greylight", "list": "CATEGORY", "position": 6 } , { "id": "44690", "name": "Electra Loft Go! 7D Rear Upper Fender Strut", "price": "17.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "greylight", "list": "CATEGORY", "position": 7 } , { "id": "44688", "name": "Electra Loft Go! 7D Front Fender Strut", "price": "17.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "greylight", "list": "CATEGORY", "position": 8 } , { "id": "44687", "name": "Electra Loft Go! 7D Fender Hardware Kit", "price": "16.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "greylight", "list": "CATEGORY", "position": 9 } , { "id": "45455", "name": "Electra Ponto Go! Stem Cover", "price": "16.99", "brand": "Electra", "category": "Bike frame parts", "variant": "black", "list": "CATEGORY", "position": 10 } , { "id": "34817", "name": "Electra Headtube Badge", "price": "13.99", "brand": "Electra", "category": "Bike frame parts", "variant": "greylight", "list": "CATEGORY", "position": 11 } , { "id": "45285", "name": "Electra Ponto Go! Headbadge", "price": "12.99", "brand": "Electra", "category": "Bike frame parts", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "45336", "name": "Electra Ponto Go! Derailleur Hanger", "price": "9.99", "brand": "Electra", "category": "Bike hangers & dropouts", "variant": "greylight", "list": "CATEGORY", "position": 13 } , { "id": "44283", "name": "Electra Loft Go! Seat Tube Badge", "price": "9.99", "brand": "Electra", "category": "Bike frame parts", "variant": "greylight", "list": "CATEGORY", "position": 14 } , { "id": "44700", "name": "Electra Townie Path Go! Fork/Fender Shim", "price": "8.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "12591", "name": "Electra Frame Badge", "price": "8.5", "brand": "Electra", "category": "Bike frame parts", "variant": "greylight", "list": "CATEGORY", "position": 16 } , { "id": "45456", "name": "Electra Ponto Go! Downtube Bumper", "price": "6.49", "brand": "Electra", "category": "Bike frame protection", "variant": "black", "list": "CATEGORY", "position": 17 } , { "id": "45070", "name": "Electra Ponto Go! Fender Spacer", "price": "3.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "42283", "name": "Electra Cable Routing Grommet", "price": "3.99", "brand": "Electra", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "45457", "name": "Electra Ponto Go! Seatstay Cable Cover", "price": "3.99", "brand": "Electra", "category": "Bike frame parts", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "24291", "name": "Trek-Electra Disc Derailleur Hanger", "price": "31.99", "brand": "Bontrager-Electra", "category": "Bike hangers & dropouts", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "41770", "name": "Bontrager-Electra M3 Button Head Bolt", "price": "1.49", "brand": "Bontrager-Electra", "category": "Bike frame parts", "variant": "greylight", "list": "CATEGORY", "position": 22 } ] } }); } else { console.log("dataLayer"); }