if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "41416", "name": "Fita de guiador Trek EcoTack", "price": "29.99", "brand": "Trek", "category": "Bike handlebar grips & tape", "variant": "white", "list": "CATEGORY", "position": 1 } , { "id": "23110", "name": "Fita de Guiador de Cortiça com Gel Duplo Bontrager", "price": "7.2", "brand": "Bontrager", "category": "Bike handlebar grips & tape", "variant": "red", "list": "CATEGORY", "position": 2 } , { "id": "37298", "name": "Fita de Guiador Bontrager Perf Line ", "price": "10.8", "brand": "Bontrager", "category": "Bike handlebar grips & tape", "variant": "white", "list": "CATEGORY", "position": 3 } , { "id": "22698", "name": "Fita de Guiador Bontrager de Cortiça com Gel Duplo", "price": "8.0", "brand": "Bontrager", "category": "Bike handlebar grips & tape", "variant": "white", "list": "CATEGORY", "position": 4 } , { "id": "47896", "name": "Conjunto de Fita de guiador Trek Perf Line", "price": "26.99", "brand": "Trek", "category": "Bike handlebar grips & tape", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "48089", "name": "Fita de guiador em cortiça com gel duplo", "price": "19.99", "brand": "Trek", "category": "Bike handlebar grips & tape", "variant": "white", "list": "CATEGORY", "position": 6 } , { "id": "47893", "name": "Fita de guiador em cortiça com gel Trek", "price": "17.99", "brand": "Trek", "category": "Bike handlebar grips & tape", "variant": "red", "list": "CATEGORY", "position": 7 } , { "id": "12523", "name": "Fita do guiador Bontrager Supertack", "price": "7.2", "brand": "Bontrager", "category": "Bike handlebar grips & tape", "variant": "blue", "list": "CATEGORY", "position": 8 } , { "id": "23111", "name": "Fita de Guiador em Cortiça e Gel Fluorescente Bontrager", "price": "7.2", "brand": "Bontrager", "category": "Bike handlebar grips & tape", "variant": "yellowvisibility", "list": "CATEGORY", "position": 9 } ] } }); } else { console.log("dataLayer"); }