if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "NZD", "impressions": [ { "id": "27138", "name": "Electra Café Moto GO! Fork", "price": "466.99", "brand": "Electra", "category": "Bike forks", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "31485", "name": "Electra Vale GO! 27.5" Fork", "price": "459.99", "brand": "Electra", "category": "Bike forks", "variant": "greydark_grey", "list": "CATEGORY", "position": 2 } , { "id": "32327", "name": "Electra Townie Path Go! Rigid Forks", "price": "425.99", "brand": "Electra", "category": "Bike forks", "variant": "pinkdark", "list": "CATEGORY", "position": 3 } , { "id": "31466", "name": "Electra Townie Path 9D Men's 27.5˝ Fork", "price": "279.99", "brand": "Electra", "category": "Bike forks", "variant": "blue_white", "list": "CATEGORY", "position": 4 } , { "id": "31467", "name": "Electra Townie Path 9D Ladies' 27.5˝ Fork", "price": "279.99", "brand": "Electra", "category": "Bike forks", "variant": "blue_white", "list": "CATEGORY", "position": 5 } , { "id": "26335", "name": "Electra Ace Of Spades GO! 26" Fork", "price": "259.99", "brand": "Electra", "category": "Bike forks", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "14527", "name": "Electra Surf Shortboard Rack", "price": "259.99", "brand": "Electra", "category": "Bike racks", "variant": "black", "list": "CATEGORY", "position": 7 } , { "id": "27777", "name": "Electra Townie Commute 27D EQ/GO! Men's 700c Fork", "price": "250.99", "brand": "Electra", "category": "Bike forks", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "27783", "name": "Electra Townie Commute 8D EQ Men's 700c Fork", "price": "249.99", "brand": "Electra", "category": "Bike forks", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "27776", "name": "Electra Townie Commute 27D EQ/GO! Ladies' 700c Fork", "price": "242.99", "brand": "Electra", "category": "Bike forks", "variant": "black", "list": "CATEGORY", "position": 10 } , { "id": "27779", "name": "Electra Townie Commute 27D/GO! Ladies' 700c Fork", "price": "234.99", "brand": "Electra", "category": "Bike forks", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "44110", "name": "Electra Townie Go! 8i Step-Over 26˝ Rigid Fork", "price": "234.99", "brand": "Electra", "category": "Bike forks", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "22216", "name": "Electra Townie Commute 27D EQ Men's 700C Fork", "price": "209.99", "brand": "Electra", "category": "Bike forks", "variant": "greylight", "list": "CATEGORY", "position": 13 } , { "id": "31487", "name": "Electra Vale GO! RIB Battery Covers", "price": "204.99", "brand": "Electra", "category": "E-bike batteries & parts", "variant": "tan", "list": "CATEGORY", "position": 14 } , { "id": "22065", "name": "Electra Loft GO! 700c Mudguard Set", "price": "202.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "21678", "name": "Electra Lux Fat 26˝ Tyre", "price": "201.99", "brand": "Electra", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "28576", "name": "Electra Vinyl Ergo Bike Saddle", "price": "192.99", "brand": "Electra", "category": "Bike saddles", "variant": "grey", "list": "CATEGORY", "position": 17 } , { "id": "26738", "name": "Electra Townie Go! 8D 26˝ Fork", "price": "189.99", "brand": "Electra", "category": "Bike forks", "variant": "purplelight", "list": "CATEGORY", "position": 18 } , { "id": "27782", "name": "Electra Townie Commute 8D EQ Ladies' 700c Fork", "price": "189.99", "brand": "Electra", "category": "Bike forks", "variant": "bluedark", "list": "CATEGORY", "position": 19 } , { "id": "31944", "name": "Electra Townie Go! 8i Ladie's Disc Brake Rigid Forks", "price": "189.99", "brand": "Electra", "category": "Bike forks", "variant": "pink", "list": "CATEGORY", "position": 20 } , { "id": "34153", "name": "Electra Cruiser Lux 1 24˝ Fork", "price": "183.99", "brand": "Electra", "category": "Bike forks", "variant": "white", "list": "CATEGORY", "position": 21 } , { "id": "34152", "name": "Electra Cruiser Lux 7D 26˝ Fork", "price": "183.99", "brand": "Electra", "category": "Bike forks", "variant": "white", "list": "CATEGORY", "position": 22 } , { "id": "34154", "name": "Electra Cruiser Lux 7D 24˝ Fork", "price": "183.99", "brand": "Electra", "category": "Bike forks", "variant": "white", "list": "CATEGORY", "position": 23 } , { "id": "34151", "name": "Electra Cruiser Lux 1 26˝ Fork", "price": "183.99", "brand": "Electra", "category": "Bike forks", "variant": "white", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }