if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "GBP", "impressions": [ { "id": "40320", "name": "Electra Fern Cylinder Handlebar Bag", "price": "27.99", "brand": "Electra", "category": "Bike bags", "variant": "greendark", "list": "CATEGORY", "position": 1 } , { "id": "34327", "name": "Electra Navigator Go! 26˝ Mudguard Set", "price": "129.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "blue", "list": "CATEGORY", "position": 2 } , { "id": "34325", "name": "Electra Ghostrider Go! 26˝ Mudguard Set", "price": "129.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "34326", "name": "Electra Ace of Spades Go! 26˝ Mudguard Set V2", "price": "119.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "34174", "name": "Electra Townie GO! 5i MIK Rear Rack", "price": "109.99", "brand": "Electra", "category": "Bike racks", "variant": "orange", "list": "CATEGORY", "position": 5 } , { "id": "30193", "name": "Electra Commuter Mips Bike Helmet", "price": "89.99", "brand": "Electra", "category": "Bike helmets", "variant": "white", "list": "CATEGORY", "position": 6 } , { "id": "33711", "name": "Electra Wooden MIK Bike Crate", "price": "83.99", "brand": "Electra", "category": "Bike baskets", "variant": "brown", "list": "CATEGORY", "position": 7 } , { "id": "33700", "name": "Electra Go! Mips Bike Helmet", "price": "79.99", "brand": "Electra", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 8 } , { "id": "36235", "name": "Electra Townie Go! 7D & Cruiser Go! Light Kit", "price": "79.99", "brand": "Electra", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "40322", "name": "Electra Fern Boot Bag", "price": "79.99", "brand": "Electra", "category": "Bike bags", "variant": "greendark", "list": "CATEGORY", "position": 10 } , { "id": "21664", "name": "Electra Commute Mips Bike Helmet", "price": "76.99", "brand": "Electra", "category": "Bike helmets", "variant": "purpledark", "list": "CATEGORY", "position": 11 } , { "id": "21656", "name": "Electra Wired Front Tray", "price": "75.99", "brand": "Electra", "category": "Bike baskets", "variant": "greylight", "list": "CATEGORY", "position": 12 } , { "id": "31474", "name": "Electra Townie Go! 7D Rear Rack", "price": "74.99", "brand": "Electra", "category": "Bike racks", "variant": "greylight", "list": "CATEGORY", "position": 13 } , { "id": "31043", "name": "Electra Townie Path Rear Rack", "price": "69.99", "brand": "Electra", "category": "Bike racks", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "32695", "name": "Electra Fashion Kids' Cruiser 16˝ Mudguard Sets", "price": "69.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "red", "list": "CATEGORY", "position": 15 } , { "id": "33777", "name": "Electra Charcoal Trunk Rear Rack Bag", "price": "69.99", "brand": "Electra", "category": "Bike bags", "variant": "greydark", "list": "CATEGORY", "position": 16 } , { "id": "22214", "name": "Electra Townie Commute Rear Rack", "price": "69.99", "brand": "Electra", "category": "Bike racks", "variant": "white_black", "list": "CATEGORY", "position": 17 } , { "id": "33709", "name": "Electra Alloy Wire QR Front Basket", "price": "67.99", "brand": "Electra", "category": "Bike baskets", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "32326", "name": "Electra Townie Path Go! Aluminium Mudguard Set", "price": "64.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "greendark", "list": "CATEGORY", "position": 19 } , { "id": "34172", "name": "Electra Townie Go! 5i 26˝ Mudguard Set", "price": "64.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "greendark", "list": "CATEGORY", "position": 20 } , { "id": "34371", "name": "Electra 2021 Townie Go! 8D 26" Mudguard Set", "price": "64.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "red", "list": "CATEGORY", "position": 21 } , { "id": "33707", "name": "Electra All-Weather Woven Front QR Basket", "price": "63.99", "brand": "Electra", "category": "Bike baskets", "variant": "grey", "list": "CATEGORY", "position": 22 } , { "id": "27984", "name": "Electra Townie Go! 8D 26" Mudguard Set", "price": "59.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "purplelight", "list": "CATEGORY", "position": 23 } , { "id": "33703", "name": "Electra Stainless Wire QR Front Basket", "price": "59.99", "brand": "Electra", "category": "Bike baskets", "variant": "black", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }