if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "47338", "name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor", "price": "24.99", "brand": "Tektro", "category": "Bike brakes, pads, & levers", "variant": "grey", "list": "CATEGORY", "position": 1 } , { "id": "40916", "name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor", "price": "19.99", "brand": "Tektro", "category": "Bike brakes, pads, & levers", "variant": "grey", "list": "CATEGORY", "position": 2 } , { "id": "42206", "name": "C-Star RT900 Centerlock Brake Rotor", "price": "14.99", "brand": "C-Star", "category": "Bike brakes, pads, & levers", "variant": "greylight_black", "list": "CATEGORY", "position": 3 } , { "id": "33288", "name": "Tektro 6-bolt Disc Brake Rotor", "price": "13.99", "brand": "Tektro", "category": "Bike brakes, pads, & levers", "variant": "greylight", "list": "CATEGORY", "position": 4 } , { "id": "32117", "name": "Tektro SP-SS20 Speed Sensor Magnet for Centerlock Rotor", "price": "12.99", "brand": "Trek", "category": "Bike brakes, pads, & levers", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "33286", "name": "Tektro Centerlock Disc Brake Rotor", "price": "12.99", "brand": "Tektro", "category": "Bike brakes, pads, & levers", "variant": "black_greylight", "list": "CATEGORY", "position": 6 } , { "id": "48305", "name": "Tektro TR-52 6-Bolt Disc Brake Rotor", "price": "11.99", "brand": "Tektro", "category": "Bike brakes, pads, & levers", "variant": "greylight", "list": "CATEGORY", "position": 7 } , { "id": "42207", "name": "C-Star RT553 6-Bolt Brake Rotor", "price": "10.99", "brand": "C-Star", "category": "Bike brakes, pads, & levers", "variant": "greylight", "list": "CATEGORY", "position": 8 } ] } }); } else { console.log("dataLayer"); }