Geofencing is a form of location-based marketing that uses virtual perimeters around a certain location to determine whether a customer is in close proximity to a target location.