if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "33700", "name": "Casco Electra Go! Mips", "price": "95.99", "brand": "Electra", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 1 } , { "id": "21661", "name": "Electra Heartchya Bike Helmet", "price": "71.99", "brand": "Electra", "category": "Bike helmets", "variant": "white", "list": "CATEGORY", "position": 2 } , { "id": "33698", "name": "Casco Electra Lifestyle Lux Solid Color", "price": "63.99", "brand": "Electra", "category": "Bike helmets", "variant": "white", "list": "CATEGORY", "position": 3 } , { "id": "34333", "name": "Casco per bici Electra Mountain Sky Lifestyle Lux", "price": "63.99", "brand": "Electra", "category": "Bike helmets", "variant": "black_white", "list": "CATEGORY", "position": 4 } , { "id": "21685", "name": "Casco per bici Electra Lifestyle Lux Ace", "price": "63.99", "brand": "Electra", "category": "Bike helmets", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "14730", "name": "Casco Electra Lifestyle Lux Cool Cat", "price": "63.99", "brand": "Electra", "category": "Bike helmets", "variant": "pink", "list": "CATEGORY", "position": 6 } , { "id": "14127", "name": "Casco Electra Lifestyle Lux Soft Serve Graphic", "price": "40.0", "brand": "Electra", "category": "Bike helmets", "variant": "white_teal", "list": "CATEGORY", "position": 7 } , { "id": "34332", "name": "Casco per bici Electra Gnome Lifestyle", "price": "40.0", "brand": "Electra", "category": "Bike helmets", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "34245", "name": "Casco per bici Electra EBC 3000 Lifestyle", "price": "39.99", "brand": "Electra", "category": "Bike helmets", "variant": "grey", "list": "CATEGORY", "position": 9 } , { "id": "35904", "name": "Casco Electra Ziggy Lifestyle", "price": "39.99", "brand": "Electra", "category": "Bike helmets", "variant": "tan_blue", "list": "CATEGORY", "position": 10 } , { "id": "35905", "name": "Casco Electra Miami Lifestyle", "price": "39.99", "brand": "Electra", "category": "Bike helmets", "variant": "teal_pinkdark", "list": "CATEGORY", "position": 11 } , { "id": "33561", "name": "Casco per bici Electra Lifestyle", "price": "39.99", "brand": "Electra", "category": "Bike helmets", "variant": "orange", "list": "CATEGORY", "position": 12 } , { "id": "34244", "name": "Casco per bici Electra Unicorn Lifestyle", "price": "39.99", "brand": "Electra", "category": "Bike helmets", "variant": "white", "list": "CATEGORY", "position": 13 } , { "id": "35906", "name": "Casco Electra Tutti Frutti Lifestyle", "price": "25.0", "brand": "Electra", "category": "Bike helmets", "variant": "pink", "list": "CATEGORY", "position": 14 } , { "id": "25382", "name": "Bontrager-Electra Fidlock SNAP Helmet Buckle", "price": "9.99", "brand": "Bontrager-Electra", "category": "Bike helmets", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "22829", "name": "Visiera per casco Electra", "price": "8.99", "brand": "Electra", "category": "Bike helmets", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "22830", "name": "Imbottiture per casco Electra", "price": "3.99", "brand": "Electra", "category": "Bike helmets", "variant": "black", "list": "CATEGORY", "position": 17 } ] } }); } else { console.log("dataLayer"); }