iBeacons have a strong opt-in framework. Without an app that responds to your beacons, you don't learn anything. Devices don't respond over Bluetooth to an iBeacon, so there isn't an over-the-air exchange. It is technically possible for an app to record the iBeacons it is near and store them on a server somewhere, so you would have to write code to enable that, and run a compatible web service.