if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "NZD", "impressions": [ { "id": "14527", "name": "Electra Surf Shortboard Rack", "price": "259.99", "brand": "Electra", "category": "Bike racks", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "22065", "name": "Electra Loft GO! 700c Mudguard Set", "price": "202.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "27157", "name": "Electra Café Moto Go! Chainguard", "price": "171.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "14318", "name": "Electra Lifestyle Lux Solid Color Helmet", "price": "159.99", "brand": "Electra", "category": "Bike helmets", "variant": "greylight", "list": "CATEGORY", "position": 4 } , { "id": "14618", "name": "Electra Woven Plastic Basket", "price": "159.99", "brand": "Electra", "category": "Bike baskets", "variant": "brown", "list": "CATEGORY", "position": 5 } , { "id": "33694", "name": "Electra Honeycomb QR Front Basket", "price": "149.99", "brand": "Electra", "category": "Bike baskets", "variant": "white", "list": "CATEGORY", "position": 6 } , { "id": "40888", "name": "Electra MIK Rear Rack", "price": "149.99", "brand": "Electra", "category": "Bike racks", "variant": "greylight", "list": "CATEGORY", "position": 7 } , { "id": "34334", "name": "Electra Honeycomb Lifestyle Lux Bike Helmet", "price": "149.99", "brand": "Electra", "category": "Bike helmets", "variant": "yellow", "list": "CATEGORY", "position": 8 } , { "id": "32707", "name": "Electra Super Deluxe Tandem Front Chainguard", "price": "138.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "bluelight", "list": "CATEGORY", "position": 9 } , { "id": "26739", "name": "Electra Townie Go! 8D Chainguard", "price": "128.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "purplelight", "list": "CATEGORY", "position": 10 } , { "id": "31488", "name": "Electra Vale GO! Chainguard", "price": "126.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "tan", "list": "CATEGORY", "position": 11 } , { "id": "14742", "name": "Electra Townie GO! 8i Chainguard", "price": "125.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "pink", "list": "CATEGORY", "position": 12 } , { "id": "22219", "name": "Electra Townie Commute GO! Chainguard", "price": "125.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "white_greylight", "list": "CATEGORY", "position": 13 } , { "id": "28374", "name": "Electra Townie GO! 8i Ladies' Chainguard", "price": "125.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "greylight", "list": "CATEGORY", "position": 14 } , { "id": "25595", "name": "Electra Townie Original 7D EQ Ladies' Fender Set", "price": "125.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "white", "list": "CATEGORY", "position": 15 } , { "id": "25961", "name": "Electra Cruiser 26˝ Alloy Rear Rack", "price": "125.99", "brand": "Electra", "category": "Bike racks", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "25977", "name": "Electra GO! Dual Leg Adjustable Kickstand", "price": "123.99", "brand": "Electra", "category": "Bike kickstands", "variant": "greylight", "list": "CATEGORY", "position": 17 } , { "id": "36012", "name": "Electra Plasket Basket", "price": "119.99", "brand": "Electra", "category": "Bike baskets", "variant": "orange", "list": "CATEGORY", "position": 18 } , { "id": "22850", "name": "Electra Ace GO! Chainguards", "price": "114.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "32708", "name": "Electra Modern DLX Tandem Front Chainguard", "price": "111.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "white", "list": "CATEGORY", "position": 20 } , { "id": "30289", "name": "Electra Townie Original 26˝ Aluminum Fender Set", "price": "109.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "35723", "name": "Electra Cruiser Go!/Townie Go! 7D Mudguard Set", "price": "109.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "32767", "name": "Electra Super Deluxe Tandem Rear Chainguard", "price": "101.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "bluelight", "list": "CATEGORY", "position": 23 } , { "id": "32768", "name": "Electra Modern DLX Tandem Rear Chainguard", "price": "101.99", "brand": "Electra", "category": "Bike chainguards & chain cases", "variant": "white", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }