if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "36057", "name": "Culote largo con tirantes Trek Circuit Softshell", "price": "129.99", "brand": "Trek", "category": "Men's cycling tights & pants", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "56809", "name": "Maillot térmico con tirantes Santini Lidl-Trek Team Replica", "price": "129.99", "brand": "Santini", "category": "Men's cycling tights & pants", "variant": "bluedark_yellow", "list": "CATEGORY", "position": 2 } , { "id": "36058", "name": "Trek Circuit Thermal Cycling Bib Tight", "price": "99.99", "brand": "Trek", "category": "Men's cycling tights & pants", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "36059", "name": "Trek Circuit Thermal Unpadded Cycling Tight", "price": "59.99", "brand": "Trek", "category": "Men's cycling tights & pants", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "47342", "name": "Culote con tirantes Rapha Core para el invierno", "price": "160.0", "brand": "Rapha", "category": "Men's cycling tights & pants", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "44385", "name": "Culote largo con tirantes Santini Trek-Segafredo Réplica Training Hombre", "price": "97.49", "brand": "Santini", "category": "Men's cycling tights & pants", "variant": "bluedark", "list": "CATEGORY", "position": 6 } , { "id": "45050", "name": "100% Airmatic Mountain Bike Pants", "price": "96.75", "brand": "100%", "category": "Men's cycling tights & pants", "variant": "black", "list": "CATEGORY", "position": 7 } ] } }); } else { console.log("dataLayer"); }