if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "", "impressions": [ { "id": "14514", "name": "Electra Cool Cat Ringer Bike Bell", "price": "", "brand": "Electra", "category": "Bike bells & horns", "variant": "pink", "list": "CATEGORY", "position": 1 } , { "id": "14647", "name": "Electra Lifestyle Lux Cool Cat Helmet", "price": "", "brand": "Electra", "category": "Bike helmets", "variant": "pink", "list": "CATEGORY", "position": 2 } , { "id": "34245", "name": "Electra EBC 3000 Lifestyle Bike Helmet", "price": "", "brand": "Electra", "category": "Bike helmets", "variant": "grey", "list": "CATEGORY", "position": 3 } , { "id": "35898", "name": "Electra Ziggy Saddle Bag", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "brown_blue", "list": "CATEGORY", "position": 4 } , { "id": "35902", "name": "Electra Tutti Frutti Lifestyle Helmet", "price": "", "brand": "Electra", "category": "Bike helmets", "variant": "pink", "list": "CATEGORY", "position": 5 } , { "id": "35904", "name": "Electra Ziggy Lifestyle Helmet", "price": "", "brand": "Electra", "category": "Bike helmets", "variant": "tan_blue", "list": "CATEGORY", "position": 6 } , { "id": "36007", "name": "Electra Ziggy Bar End Mirror", "price": "", "brand": "Electra", "category": "Bike mirrors", "variant": "tan_blue", "list": "CATEGORY", "position": 7 } , { "id": "40324", "name": "Electra Fern Pannier Bag", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "black_grey", "list": "CATEGORY", "position": 8 } , { "id": "33770", "name": "Electra Leopard Phone Bag", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "white_purplelight", "list": "CATEGORY", "position": 9 } , { "id": "35706", "name": "Electra Gnome Elastomer Saddle", "price": "", "brand": "Electra", "category": "Bike saddles", "variant": "black", "list": "CATEGORY", "position": 10 } , { "id": "35897", "name": "Electra Miami Phone Bag", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "teal_pinkdark", "list": "CATEGORY", "position": 11 } , { "id": "35899", "name": "Electra Miami Saddle Bag", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "teal_pinkdark", "list": "CATEGORY", "position": 12 } , { "id": "40316", "name": "Electra Fern Saddle Bag", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "greendark", "list": "CATEGORY", "position": 13 } , { "id": "35710", "name": "Electra Gnome Rubber Grips", "price": "", "brand": "Electra", "category": "Bike handlebar grips & tape", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "35894", "name": "Electra Gnome Handlebar Bag", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "35900", "name": "Electra Ziggy Lifestyle Helmet", "price": "", "brand": "Electra", "category": "Bike helmets", "variant": "tan_blue", "list": "CATEGORY", "position": 16 } , { "id": "35905", "name": "Electra Miami Lifestyle Helmet", "price": "", "brand": "Electra", "category": "Bike helmets", "variant": "teal_pinkdark", "list": "CATEGORY", "position": 17 } , { "id": "35933", "name": "Electra Retro Stripe Forward Twister Bike Bell", "price": "", "brand": "Electra", "category": "Bike bells & horns", "variant": "black_bronze", "list": "CATEGORY", "position": 18 } , { "id": "36009", "name": "Electra Retrostripe Bar End Mirror", "price": "", "brand": "Electra", "category": "Bike mirrors", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "33655", "name": "Electra Leopard Domed Ringer Bike Bell", "price": "", "brand": "Electra", "category": "Bike bells & horns", "variant": "white", "list": "CATEGORY", "position": 20 } , { "id": "33612", "name": "Electra Leopard Handlebar Bag with Lid", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "white_purplelight", "list": "CATEGORY", "position": 21 } , { "id": "35892", "name": "Electra Ziggy Handlebar Bag", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "brown_blue", "list": "CATEGORY", "position": 22 } , { "id": "33613", "name": "Electra EBC 3000 Handlebar Bag", "price": "", "brand": "Electra", "category": "Bike bags", "variant": "greylight_white", "list": "CATEGORY", "position": 23 } , { "id": "35713", "name": "Electra Retro Stripe Rubber Grips", "price": "", "brand": "Electra", "category": "Bike handlebar grips & tape", "variant": "black", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }