if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "USD", "impressions": [ { "id": "28498", "name": "Bontrager E6 Hard-Case Lite E-Bike Tire", "price": "44.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black_reflective", "list": "CATEGORY", "position": 1 } , { "id": "37934", "name": "Electra Attitude Go! 26˝ x 3.0˝ Tire", "price": "45.99", "brand": "Electra", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "45133", "name": "Electra Ponto Go! 20˝ Tire", "price": "44.99", "brand": "Electra", "category": "Bike tires", "variant": "black_reflective", "list": "CATEGORY", "position": 3 } , { "id": "12722", "name": "Electra Cruiser Vintage 26˝ Diamond Tire", "price": "36.99", "brand": "Electra", "category": "Bike tires", "variant": "white", "list": "CATEGORY", "position": 4 } , { "id": "12716", "name": "Electra Cruiser Fatti-O 24˝ Tire", "price": "34.99", "brand": "Electra", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "34514", "name": "Electra Balloon Cruiser Tire", "price": "29.99", "brand": "Electra", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "34706", "name": "Electra Strat-O-Balloon 24˝ Cruiser Tire", "price": "25.99", "brand": "Electra", "category": "Bike tires", "variant": "black_white", "list": "CATEGORY", "position": 7 } , { "id": "12721", "name": "Electra Strat-O-Balloon 26˝ Cruiser Tire", "price": "24.99", "brand": "Electra", "category": "Bike tires", "variant": "black_white", "list": "CATEGORY", "position": 8 } , { "id": "12714", "name": "Electra Townie Original Tires", "price": "23.99", "brand": "Electra", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "12712", "name": "Electra Amsterdam Hybrid 700c Tire", "price": "20.99", "brand": "Electra", "category": "Bike tires", "variant": "black_reflective", "list": "CATEGORY", "position": 10 } , { "id": "13072", "name": "Electra Loft 700c Tire", "price": "20.99", "brand": "Electra", "category": "Bike tires", "variant": "brown_white", "list": "CATEGORY", "position": 11 } , { "id": "12720", "name": "Electra Retrorunner 26˝ Cruiser Tire", "price": "20.99", "brand": "Electra", "category": "Bike tires", "variant": "black_white", "list": "CATEGORY", "position": 12 } , { "id": "12719", "name": "Electra Knobby Cruiser Tires", "price": "20.99", "brand": "Electra", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "34577", "name": "Electra Loft Hybrid Tire", "price": "6.93", "brand": "Electra", "category": "Bike tires", "variant": "brown", "list": "CATEGORY", "position": 14 } , { "id": "44151", "name": "Electra Valve Caps Planets", "price": "1.93", "brand": "Electra", "category": "Bike tubes & tubeless bike tire accessories", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "44148", "name": "Electra Valve Caps Sun Shimmer", "price": "1.93", "brand": "Electra", "category": "Bike tubes & tubeless bike tire accessories", "variant": "white", "list": "CATEGORY", "position": 16 } , { "id": "44149", "name": "Electra Valve Caps Enchanted Jungle", "price": "1.93", "brand": "Electra", "category": "Bike tubes & tubeless bike tire accessories", "variant": "purple", "list": "CATEGORY", "position": 17 } , { "id": "44152", "name": "Electra Valve Caps Cyclosaurus", "price": "1.93", "brand": "Electra", "category": "Bike tubes & tubeless bike tire accessories", "variant": "green", "list": "CATEGORY", "position": 18 } , { "id": "21678", "name": "Electra Lux Fat 26˝ Tire", "price": "83.99", "brand": "Electra", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 19 } ] } }); } else { console.log("dataLayer"); }