if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "25370", "name": "Capacete Bontrager Charge WaveCel Commuter", "price": "115.59", "brand": "Bontrager", "category": "Bike helmets", "variant": "yellowvisibility_black", "list": "CATEGORY", "position": 1 } , { "id": "31565", "name": "Capacete de Montanha Bontrager Rally WaveCel", "price": "81.6", "brand": "Bontrager", "category": "Bike helmets", "variant": "bluelight_bluedark", "list": "CATEGORY", "position": 2 } , { "id": "21849", "name": "Capacete Bontrager Quantum Mips", "price": "76.79", "brand": "Bontrager", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 3 } , { "id": "31568", "name": "Capacete Bontrager Starvos WaveCel", "price": "67.19", "brand": "Bontrager", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 4 } , { "id": "30467", "name": "Capacete Bontrager Solstice Mips", "price": "33.6", "brand": "Bontrager", "category": "Bike helmets", "variant": "blue", "list": "CATEGORY", "position": 5 } , { "id": "30482", "name": "Capacete Bontrager Solstice", "price": "25.19", "brand": "Bontrager", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 6 } , { "id": "40250", "name": "Capacete Trek Circuit WaveCel", "price": "169.99", "brand": "Trek", "category": "Bike helmets", "variant": "greenvisibility_black", "list": "CATEGORY", "position": 7 } , { "id": "36951", "name": "Capacete de Estrada Trek Starvos WaveCel", "price": "119.99", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 8 } , { "id": "36025", "name": "Capacete Trek Solstice MIPS", "price": "69.99", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 9 } , { "id": "36028", "name": "Capacete de ciclismo Trek Solstice", "price": "44.99", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 10 } ] } }); } else { console.log("dataLayer"); }