if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "GBP", "impressions": [ { "id": "33615", "name": "Electra Graffiti Drip Handlebar Bag", "price": "9.99", "brand": "Electra", "category": "Bike bags", "variant": "blue_redlight", "list": "CATEGORY", "position": 1 } , { "id": "14730", "name": "Electra Lifestyle Lux Cool Cat Helmet", "price": "47.99", "brand": "Electra", "category": "Bike helmets", "variant": "pink", "list": "CATEGORY", "position": 2 } , { "id": "21685", "name": "Electra Lifestyle Lux Ace Bike Helmet", "price": "47.99", "brand": "Electra", "category": "Bike helmets", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "34332", "name": "Electra Gnome Lifestyle Lux Bike Helmet", "price": "35.99", "brand": "Electra", "category": "Bike helmets", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "28956", "name": "Electra Sprocket 20˝ Kids' Wheel", "price": "34.99", "brand": "Electra", "category": "Bike wheels", "variant": "greylight", "list": "CATEGORY", "position": 5 } , { "id": "35904", "name": "Electra Ziggy Lifestyle Helmet", "price": "31.99", "brand": "Electra", "category": "Bike helmets", "variant": "tan_blue", "list": "CATEGORY", "position": 6 } , { "id": "33561", "name": "Electra Lifestyle Bike Helmet", "price": "31.99", "brand": "Electra", "category": "Bike helmets", "variant": "orange", "list": "CATEGORY", "position": 7 } , { "id": "35905", "name": "Electra Miami Lifestyle Helmet", "price": "31.99", "brand": "Electra", "category": "Bike helmets", "variant": "teal_pinkdark", "list": "CATEGORY", "position": 8 } , { "id": "34244", "name": "Electra Unicorn Lifestyle Bike Helmet", "price": "31.99", "brand": "Electra", "category": "Bike helmets", "variant": "white", "list": "CATEGORY", "position": 9 } , { "id": "35906", "name": "Electra Tutti Frutti Lifestyle Helmet", "price": "23.99", "brand": "Electra", "category": "Bike helmets", "variant": "pink", "list": "CATEGORY", "position": 10 } , { "id": "25575", "name": "Electra Soft Serve Girls' Fender Set", "price": "49.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "white", "list": "CATEGORY", "position": 11 } , { "id": "25584", "name": "Electra Water Lily Girls' 16˝ Fenders", "price": "49.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "pink", "list": "CATEGORY", "position": 12 } , { "id": "25580", "name": "Electra Sweet Ride Girls' Fender Set", "price": "49.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "teal", "list": "CATEGORY", "position": 13 } , { "id": "25570", "name": "Electra Heartchya Girls' Fender Set", "price": "49.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "white", "list": "CATEGORY", "position": 14 } , { "id": "25540", "name": "Electra Cyclosaurus Boys' Fender Set", "price": "39.99", "brand": "Electra", "category": "Bike fenders & accessories", "variant": "blue_green", "list": "CATEGORY", "position": 15 } , { "id": "37596", "name": "Electra 16˝ Kids' Handlebar", "price": "27.49", "brand": "Electra", "category": "Bike handlebars", "variant": "greylight", "list": "CATEGORY", "position": 16 } , { "id": "12682", "name": "Electra Heartchya Cruiser Bike Saddle", "price": "22.49", "brand": "Electra", "category": "Bike saddles", "variant": "white", "list": "CATEGORY", "position": 17 } , { "id": "37595", "name": "Electra 20˝ Kids' Handlebar", "price": "22.49", "brand": "Electra", "category": "Bike handlebars", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "32678", "name": "Electra Water Lily Cruiser Bike Saddle", "price": "22.49", "brand": "Electra", "category": "Bike saddles", "variant": "white_yellowvisibility", "list": "CATEGORY", "position": 19 } , { "id": "30288", "name": "Electra Small Wired Basket", "price": "16.99", "brand": "Electra", "category": "Bike baskets", "variant": "white", "list": "CATEGORY", "position": 20 } , { "id": "33661", "name": "Electra Tiki Time Domed Linear Bike Bell", "price": "16.99", "brand": "Electra", "category": "Bike bells & horns", "variant": "reddark", "list": "CATEGORY", "position": 21 } , { "id": "14514", "name": "Electra Cool Cat Ringer Bike Bell", "price": "12.99", "brand": "Electra", "category": "Bike bells & horns", "variant": "pink", "list": "CATEGORY", "position": 22 } , { "id": "33652", "name": "Electra Sunrise Ringer Bike Bell", "price": "12.99", "brand": "Electra", "category": "Bike bells & horns", "variant": "reddark", "list": "CATEGORY", "position": 23 } , { "id": "14500", "name": "Electra Ice Cream Ringer Bike Bell", "price": "12.99", "brand": "Electra", "category": "Bike bells & horns", "variant": "white", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }