What Is Geofencing?

Geofencing is a location-based marketing technique that triggers automated actions when a mobile device enters or exits a predefined virtual boundary around a real-world location. Those actions can include push notifications, ads, or SMS messages. Brands use geofences to deliver hyper-relevant messages at the moment a consumer is physically near a store, event, or competitor location.

GPS, Wi-Fi, cellular data, or RFID signals define the virtual boundary, or “fence.” When a device crosses that boundary, the associated platform fires a trigger. That trigger might serve a discount ad, log a store visit, or suppress a campaign for someone who already converted in person.

How Geofencing Works

A geofence consists of three components: a defined radius, a trigger condition (entry, exit, or dwell), and an action. Marketers set these parameters inside a demand-side platform (DSP) or mobile marketing platform, then the system monitors device location data continuously.

The Basic Trigger Logic

  • Entry trigger: Action fires when the device crosses into the boundary. Common for welcome offers and foot-traffic attribution.
  • Exit trigger: Action fires when the device leaves. Common for re-engagement or post-visit surveys.
  • Dwell trigger: Action fires after the device remains inside the boundary for a set time, such as five minutes. Useful for filtering accidental passers-by from genuine visitors.

Technology Stack

The signal type determines both accuracy and use case. GPS is the most precise outdoors but drains battery faster than other methods. Bluetooth beacons deliver the tightest accuracy indoors.

Signal Type Accuracy Best Use Case
GPS 5–10 meters Outdoor precision targeting
Wi-Fi 15–40 meters Indoor venues, malls, airports
Cellular 100–300 meters Neighborhood-level campaigns
Bluetooth (BLE) 1–3 meters In-venue micro-targeting

Geofencing vs. Geotargeting

Geofencing and geotargeting are related but distinct. Geotargeting delivers ads to users based on a broad location, such as a city or ZIP code, usually pulled from IP address data. Geofencing triggers actions based on real-time physical presence within a precise boundary. A brand can geotarget Chicago residents with awareness ads while running a separate geofence around its Michigan Avenue flagship store to convert foot traffic.

Real-World Applications

Competitive Conquesting

Burger King’s 2018 “Whopper Detour” campaign drew a geofence around every McDonald’s location in the United States, roughly 14,000 restaurants. It offered a one-cent Whopper to any customer who opened the Burger King app within 600 feet of a competitor. The campaign drove 1.5 million app downloads in nine days and generated over 3.5 billion earned media impressions, according to campaign data reported by Adweek. It remains one of the most cited examples of competitive geofencing in retail.

Retail Foot Traffic

Sephora uses geofencing paired with its Beauty Insider loyalty app to push personalized product recommendations and in-store offers when members approach a Sephora location. Internal figures cited by Mobile Marketer indicated a measurable lift in in-store engagement among app users who received location-triggered messages compared to those who received standard push notifications.

Event Marketing

Brands frequently fence stadiums, convention centers, and festival grounds to serve contextual ads during high-dwell periods. A spirits brand sponsoring a music festival might fence the venue grounds and serve cocktail recipe content or nearest-bar prompts exclusively to attendees, limiting spend to the highest-intent audience present.

Key Metrics and Calculations

Geofencing campaigns use several performance indicators beyond standard click-through rate.

Visit Rate

Visit rate measures the percentage of users who were served a geofence-triggered ad and subsequently entered the target location.

Formula:

Visit Rate = (Verified Store Visits / Total Ad Impressions Served) × 100

Industry benchmarks for retail geofencing typically range from 0.5% to 3.0%, though high-intent categories such as automotive dealerships and quick-service restaurants can exceed 5%.

Cost Per Visit (CPV)

Formula:

CPV = Total Campaign Spend / Total Verified Store Visits

For brick-and-mortar retail, CPV provides a cleaner conversion signal than cost per click because it ties ad spend to a physical behavior. A campaign spending $10,000 and driving 2,000 verified visits produces a CPV of $5.00.

Dwell Time as a Quality Signal

Dwell time is the average duration a device spends inside the geofence. It helps separate genuine customers from passersby. A fast-food chain might set a minimum dwell threshold of three minutes before counting a device as a verified visit, reducing noise from pedestrian traffic.

Privacy Considerations

Geofencing depends on access to device location data, which requires explicit user consent under Apple’s App Tracking Transparency (ATT) policy, introduced in iOS 14.5, and the EU’s General Data Protection Regulation (GDPR). Opt-in rates for location tracking dropped significantly after ATT launched in April 2021. Measurement firm Flurry Analytics reported app-level opt-in rates as low as 25% in the United States in the months following the rollout.

Marketers running geofencing campaigns should confirm their data partners use consented, first-party location signals rather than aggregated third-party data of unclear origin. Sensitive locations, including medical facilities, places of worship, and political venues, carry heightened regulatory and reputational risk. Most reputable DSPs exclude these categories by default.

Geofencing and Attribution

One of geofencing’s strongest value propositions is offline attribution. By tracking whether a user who saw a digital ad later appeared inside a store boundary, platforms like Foursquare, GroundTruth, and PlaceIQ can close the loop between online impression and physical visit. This connects geofencing directly to broader omnichannel marketing measurement strategies, where brands track the customer journey across digital and physical touchpoints.

Attribution windows typically range from one to 30 days post-impression, with shorter windows producing more conservative, reliable lift estimates. Advertisers should align the attribution window to realistic consideration cycles for their category.

Setting Up an Effective Geofence

Radius Selection

Smaller radii increase precision but reduce addressable audience size. A 100-meter fence around a single storefront may capture fewer devices than a 500-meter fence, but the closer audience carries stronger purchase intent. In dense urban environments, 100 to 200 meters is often sufficient. In suburban or rural areas, 500 meters to 1 kilometer better accounts for parking lots and pedestrian variance.

Audience Layering

Geofences work best when layered with behavioral or demographic data. A luxury automotive brand might fence a competitor dealership while also filtering for devices with household income signals above a set threshold, keeping spend focused on qualified prospects rather than service customers or casual browsers.

Frequency Capping

Without frequency caps, users who live or work near a geofenced location may receive the same notification repeatedly, generating ad fatigue. Most platforms allow caps by hour, day, or campaign lifetime. A daily cap of one to two impressions per device is a reasonable baseline for retail geofencing.

Where Geofencing Fits in the Marketing Funnel

Geofencing operates most effectively at the consideration and conversion stages of the marketing funnel. It assumes some prior awareness and catches consumers at a moment of physical proximity that correlates with higher purchase readiness. Using it for broad awareness campaigns tends to produce wasted spend, since the addressable audience within any single geofence is inherently limited by how many people visit that location.

For brands with multiple locations or a wide footprint, geofencing scales through networked fences rather than single-site campaigns, covering hundreds of locations simultaneously under unified creative and budget management.

Frequently Asked Questions About Geofencing

What is geofencing in marketing?

Geofencing is a location-based marketing technique that triggers automated actions when a mobile device enters or exits a defined virtual boundary. Marketers use it to deliver push notifications, serve ads, or track store visits based on a consumer’s real-time physical location.

How accurate is geofencing?

Accuracy depends on the signal type. GPS is accurate to 5 to 10 meters outdoors. Wi-Fi resolves to 15 to 40 meters indoors. Cellular triangulation covers 100 to 300 meters for neighborhood-level targeting. Bluetooth beacons can pinpoint activity within 1 to 3 meters inside a venue.

What is the difference between geofencing and geotargeting?

Geotargeting delivers ads based on a broad location like a city or ZIP code, typically using IP address data. Geofencing triggers actions based on real-time physical presence within a precise boundary. Geofencing is more precise and requires device location permissions; geotargeting does not.

Does geofencing require user consent?

Yes. Geofencing requires explicit user opt-in for location data access. Under Apple’s ATT framework and GDPR, users must consent before their location data can be used for ad targeting. Opt-in rates dropped significantly after ATT launched in April 2021, with Flurry Analytics reporting rates as low as 25% in the United States.

What is a good visit rate for a geofencing campaign?

Industry benchmarks for retail geofencing typically range from 0.5% to 3.0%. High-intent categories like automotive dealerships and quick-service restaurants can exceed 5%.