A method and system for dynamic geohash-based geofencing within a geographic area including obtaining metadata including a campaign identifier and geometric data, generating a geometry using the geometric data, mapping the geometry to a geohash grid to obtain a first geohash set having a first geohash in the geohash grid, storing the first geohash and the campaign identifier in an entry in a geohash index, obtaining a user position within the geographic area from a mobile device, generating a user geohash using the user position, matching the user geohash to the entry in the geohash index, obtaining the campaign identifier from the entry in the geohash index, and providing content corresponding to the campaign identifier to the mobile device.
展开▼