if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "44693", "name": "e*Thirteen e*spec Race Carbon Crank for TQ", "price": "389.99", "brand": "EThirteen", "category": "Bike cranks & chainrings", "variant": "greydark", "list": "CATEGORY", "position": 1 } , { "id": "44931", "name": "e*Thirteen e*spec Plus Aluminum Crankarms for Bosch", "price": "69.99", "brand": "EThirteen", "category": "Bike cranks & chainrings", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "49057", "name": "Prowheel e-Flash ISIS Crank Arms", "price": "64.99", "brand": "Prowheel", "category": "Bike cranks & chainrings", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "41243", "name": "Prowheel EB03 Bosch GEN3 (Mini ISIS) Crank Arm Set", "price": "17.49", "brand": "Prowheel", "category": "Bike cranks & chainrings", "variant": "black", "list": "CATEGORY", "position": 4 } ] } }); } else { console.log("dataLayer"); }