Let’s talk about geofencing marketing, and not the sci-fi-sounding kind. I’m talking about drawing invisible lines around real-world locations and using them to trigger targeted digital campaigns that reach people where and when it counts.
Sounds like magic? It’s not. It’s math, mobile signals and a little marketing moxie. It also only works when the fences, the data and the measurement behind it are handled with care. This guide covers what geofencing is, how fences are built, the data they depend on, how companies use them, how to run a campaign, what to measure and how the fees work.
In this guide
- What geofencing is
- Geofencing vs geotargeting
- How geofencing works
- How fences are built
- The data geofencing needs
- Ways companies use geofencing
- Implementing a campaign step by step
- What to measure
- What geofencing costs and how fees are structured
- Getting started
What geofencing is
Geofencing is a location-based technology that creates a virtual boundary, a geofence, around a specific area: a store, a stadium, even a competitor’s parking lot. When someone enters or exits that area with a location-enabled device (usually a smartphone), it triggers a pre-set action. The crossing is detected using GPS, RFID, Wi-Fi or cellular data.
A fence can be as small as a building or as large as a city, and it doesn’t have to be a circle or rectangle. In marketing, the triggered action is usually one of these:
- Showing a mobile ad
- Sending a push notification or text message
- Adding the device to a custom audience list
- Tracking foot traffic behavior for future retargeting
We’ve all had the moment where an ad arrives with uncanny timing. You leave a big-box retailer and 15 minutes later you’re seeing a promo for its competitor. That’s geofencing. Done well, it isn’t creepy. It’s smart, relevant and strategic, for four reasons:
- Relevance. You engage people based on where they actually are, not where you hope they’ll be.
- Timing. A message during or right after a visit is more likely to be remembered and acted on.
- Competitive edge. You can fence your competitors’ locations and reach their customers with a better offer.
- Insight. Even without ads, geofencing gives you foot traffic data that helps measure campaign effectiveness.
Geofencing vs geotargeting
The two terms get used as if they mean the same thing. They don’t.
Geotargeting is a setting available in most digital and social ad campaigns that limits the geography where the campaign runs. You can target by country, state, city, zip code or even IP address, and combine geography with demographic and behavioral factors. A winter clothing retailer might target cold-weather states in the fall. Most major channels support it: search ads (Google, Bing), social ads (Facebook, Instagram, LinkedIn), display advertising and email marketing platforms.
Geofencing takes location-based marketing to a much more precise level. The boundary sits around a hyper-specific place such as a building, a park or a stadium, often to within a few meters of its perimeter. It is most often used with mobile conquesting campaigns, which try to win over a competitor’s customers.
Put simply, geotargeting gives you broad geographic segmentation for your digital and email marketing, while geofencing gives you precise engagement around specific places. A complete location strategy uses both.
How geofencing works
Under the hood there are three parts:
- Boundary definition. The boundary is defined in mapping software or through an API, using latitude and longitude coordinates that outline the perimeter.
- Trigger. When a location-enabled device crosses the boundary, the system recognizes the entry or exit. This depends on the device regularly sharing its location with the application that controls the fence.
- Response. The system carries out a predetermined action, from a simple push notification to an automated workflow in a connected system.
In an advertising campaign, when a mobile device enters or exits the fenced space, its owner can be shown your ad in their phone apps or mobile browser. They can also be retargeted with more ad impressions on their mobile or desktop devices for days or weeks after they’ve left.
Is it legal?
Yes. Geofencing relies on device-level location permissions and anonymized data. You’re not targeting Jane Smith personally. You’re targeting a device that visited a location. Run with proper consent and data handling, it can meet privacy rules such as GDPR and CCPA, and it is worth confirming the specifics for your situation.
Privacy concerns are real, though, and respecting them is good business. Be transparent about data collection, make opting out easy and confirm opt-in compliance with privacy regulations. If your geofencing feels stalker-ish, you’re doing it wrong. It pays to work with someone who knows how to do this ethically and effectively (that’s us).
How fences are built
Campaigns come in two main types, evergreen and event-based, and the fence itself can be drawn in more than one way.
Evergreen fences
Evergreen fences are permanent boundaries that stay active around the clock. They suit fixed locations like retail stores, restaurants and corporate offices. An evergreen campaign might target, say, 50 competitor locations to try to win their customers over to your brand.
They scale well. A business can run anywhere from 10 to 1,000 or more fences at the same time, which suits chains and franchises. They are also persistent: once set up, the fences keep collecting data and triggering actions, and people who leave the fenced area can still be retargeted for a month or more.
Event-based fences
Event-based fences are temporary. They are built for trade shows, conferences, concerts and sporting events, or for pop-up shops and seasonal promotions, and they are usually live for only a few days.
Their strength is the audience: attendees at an industry conference or trade show are a concentrated group of interested prospects. After the fence is switched off, you can keep retargeting the devices it captured, typically for the next 30 to 60 days.
Polygons and radius fences
The most accurate way to draw either kind of fence is polygon mapping: a custom-shaped boundary that follows the contours of a building, event space or property. A tight perimeter captures people who actually visited, not people who happened to be nearby. That matters most in shopping malls and dense urban districts, where looser targeting counts nearby pedestrians and parking lot visitors as customers.
The simpler alternative is a radius around a point, and the right size depends on the business. A coffee shop might use a tight 100-meter radius to catch foot traffic, while a furniture store could cast a 2-mile net, since people drive further for big purchases.
Either way, size matters. Test different sizes and see which performs best without becoming annoying.
The data geofencing needs
Let’s get something straight: geofencing isn’t magic. I know, shocking. But you’d be surprised how many marketers treat it like fairy dust that automatically turns everyone inside a virtual fence into a customer.
When geofencing campaigns fail, it is usually not because the technology doesn’t work. It’s because the marketer jumped straight into tactical execution without building the analytical foundation that makes geofencing effective. Without good data, you’re broadcasting generic messages to random people who happen to be standing in the right place at the wrong time, and hoping that proximity equals purchase intent.
Five foundational data sources
- Points of interest (POI) data. The specific places that attract people: shopping centers, restaurants, landmarks. Good POI data carries more than coordinates. It includes operating hours, visitor frequency and category classifications.
- Property data. Property boundaries and characteristics, which keep fences aligned with the physical world and separate residential, commercial and mixed-use areas.
- Mobility data. Movement patterns that show where your audience travels, and the high-traffic times and locations that shape timing and placement.
- Demographic data. Age, income and preferences, so fences sit in areas populated by the people you want to reach.
- Transportation data. Public transit routes, vehicle patterns and transportation hubs, which help you line fences up with the flow of commuters and travelers.
Layers that sharpen targeting
On top of those sources, effective campaigns put several layers of data to work together:
- Historical foot traffic. Understand patterns, peak times and seasonal variation before you draw your first fence. This is about numbers, not gut feel.
- Demographic and psychographic overlays. Just because someone walks past your competitor doesn’t mean they’re your ideal customer. The person at that luxury car dealership might be a window shopper, a service customer or someone who just parked there. Purchase behavior, demographics and lifestyle indicators help tell them apart. When choosing areas, look for census block groups that match your ideal customer profile.
- Real-time behavioral signals. How long did someone linger? Did they enter the location or walk by? Are they a repeat visitor or a first-timer?
- Competitive intelligence. Your competitors’ customer patterns, peak times and seasonal trends show where you can intercept their audience or defend your own territory.
What good data has to deliver
Whoever supplies your data, check four things: location accuracy, freshness (regular updates as demographics and movement patterns change), coverage of all relevant points of interest, and compliance with data protection and privacy laws.
Poor data shows up as three familiar mistakes: fences stretched so wide that they lose precision, dilute the audience and raise costs, fences placed near the wrong demographics, and fences so small that they miss valuable prospects and make a sound strategy look ineffective.
Ways companies use geofencing
Winning competitors’ customers
One of the most effective strategies is fencing a competitor’s location. Competitor conquesting, as it’s often called, reaches people who already want your type of product but may not have considered your business.
Say you own a local coffee shop. You could fence the popular chain down the street, so customers who walk in there get an offer of 20% off at your shop instead.
An automotive dealership ran what it called a conquest campaign by fencing competing dealerships. People who visited a rival later saw ads highlighting financing options, exclusive inventory or special promotions. It worked best during holiday sales events and end-of-model-year clearances, when shoppers were actively comparing options.
Events and trade shows
People at an event are already in a heightened state of interest.
- A fitness brand I worked with at my previous agency wanted to boost engagement at a marathon. We set up a geofence around the event area, and as runners and spectators arrived they received messages promoting the brand’s booth and offering exclusive discounts on sports gear. The campaign drove traffic to the booth, followed by a spike in app downloads and online sales in the weeks after.
- A marketing technology firm fenced major marketing conferences, even ones where it wasn’t exhibiting, and delivered content and special offers to attendees.
- A beverage company built temporary fences around music festivals, sporting events and concerts. Pre-event messages carried offers redeemable on site, real-time notifications pointed people to branded experiences and sampling stations, and post-event remarketing continued for up to a month.
- A car dealership fenced a local auto show to track foot traffic. By watching who entered the fence and who responded to its offers, it could see which models drew the most interest and follow up with targeted promotions.
Driving store visits
- A fashion retailer fenced a popular shopping mall and sent shoppers within a mile of its store a mobile coupon for 15% off if they visited within two hours. The time limit created urgency, and the retailer saw more store visits during that window.
- A boutique geofences the local mall. Someone walking by Nordstrom gets an Instagram Story ad for 20% off a curated collection a few blocks away.
- A burger joint geofences nearby offices from 11 a.m. to 2 p.m. and runs Google Display ads for a lunch special.
- A clinic geofences local gyms to reach fitness-minded people with flu shot reminders or sports therapy offers.
- A college geofences community college campuses and high school events to promote application deadlines and open houses.
B2B and account-based marketing
Geofencing is not only a consumer tactic. B2B companies fence the office buildings where their ideal clients work. A software company specializing in HR solutions fenced corporate offices that housed large HR departments and served ads to devices inside those zones, reaching decision-makers during the workday.
Loyalty and repeat visits
Fencing your own locations adds immediacy to a loyalty program. Imagine a restaurant chain that sends loyalty members an offer (a free appetizer, a discount on the next meal) when they come nearby, tailored to their preferences or past orders.
One retailer went further. It drew precise fences around its own stores and competitors’ buildings, then layered in mobility data to separate true store visits from nearby foot traffic. That let it tailor campaigns to visit patterns:
- First-time visitors received welcome incentives
- Occasional shoppers saw loyalty program promotions
- Lapsed customers got personalized “we miss you” campaigns
Measurement and market research
Geofencing is also a research tool. We use it to collect behavioral data, segment audiences by physical movement and measure the real-world impact of marketing. If you’re not doing this, you’re flying blind.
One company used it to measure outdoor advertising. It matched GPS data from mobile devices to points of interest and drew fences from property data that mirrored the layout of retail locations. With fences on exact property boundaries, it could tell genuine store visits from simple proximity and see which billboard placements drove visits, not just impressions.
Implementing a campaign step by step
Starting doesn’t require a computer science degree or a massive budget. Major advertising platforms such as Google Ads and Facebook Ads Manager, along with specialized location marketing platforms, offer location targeting that takes about as long to set up as a regular campaign. Here is the sequence.
1. Set the objective and the campaign type
The campaigns that work share four things: clearly defined objectives, precise geographic targeting, compelling offers and solid tracking. Decide what the campaign is for, and whether that calls for evergreen or event-based fences.
2. Choose locations deliberately
Candidates include your own stores (to re-engage visitors who didn’t buy), competitor locations, event venues and even residential areas where your ideal customers live. Don’t scatter fences everywhere hoping something sticks, and don’t simply draw a circle around your own address.
3. Draw and test the fence
Size the fence to the goal, test the boundaries before launch and set appropriate entry and exit triggers.
4. Set audience rules
Do you want to reach people during the visit, afterward or both? How long should a device stay in your custom audience?
The biggest beginner mistake is treating geofencing like a digital billboard and sending everyone the same message. Segment the audience and adjust messages by time of day, weather or previous interactions with your brand.
Cap frequency too. Nobody wants five notifications from the same store during one shopping trip. Set limits and watch unsubscribe rates, the early warning for an overly aggressive campaign.
5. Get the timing right
Match messages to your audience’s routines. A coffee shop might target morning commuters between 6:00 and 9:00 AM, while a restaurant focuses on the lunch crowd from 11:00 AM to 2:00 PM. Consider peak traffic hours, popular times for your type of business, local events and seasonal variation.
6. Write creative that fits the context
Tie the message to the location. If you’re fencing a car dealership, don’t show a mattress ad. You’re interrupting someone’s day, so make it worth their while: “20% off your next latte, valid for the next hour” works better than “Visit our website to learn more about our coffee.” Create urgency, offer real value and make the next step simple.
7. Measure, test and scale
Start small, with one or two locations or events. Perfect the approach, then scale. Each location may need adjustments for local behavior, competition and demographics. What works downtown might flop in the suburbs.
Then keep going. Consistent, year-round campaigns do more than sporadic bursts: they build brand awareness, gather data across seasons, reveal patterns in customer behavior and keep lead generation steady. One restaurant group found that keeping its campaigns running through traditionally slow periods helped stabilize customer flow.
Later, look at advanced features: audience layering (location plus demographic or behavioral targeting), sequential messaging (different messages for repeat visitors) and cross-device targeting (reaching people on multiple devices based on location history).
What to measure
The common mistake is measuring geofencing like a display ad campaign: click-through rates, impressions, basic engagement. That’s like judging a restaurant by how many people walk past it instead of how many eat there and come back. Geofencing’s real power shows up offline, so measure the full journey from digital touchpoint to physical action. Solid tracking and analytics make that possible.
Delivery and engagement
Start with the basics: impressions (how many people received your message inside the fenced area), click-through rate, conversions after the ad, and engagement by time of day. Some locations peak during the morning commute, others at lunch or in the evening.
Visit behavior
- Dwell time: how long people stay inside the fence. Longer stays usually mean active engagement with the location and good targets for immediate offers. Brief stays suggest people passing through, who need a message that lands quickly.
- Frequency and recency: how often people enter a fence and how recently. Regular visitors show strong affinity. People who haven’t been back lately may respond to win-back campaigns.
- Location accuracy: GPS precision ratings and boundary breach confidence scores, which show how reliably entries and exits are detected.
Competitive metrics
- Conquest metrics: how many competitor visitors you reach and whether they go on to engage with your brand or locations
- Cross-shopping analysis: movement between your locations and competitors’. People who visit both are candidates for retention campaigns. People who visit competitors but not you are conquest opportunities.
- Market penetration: the share of people in your target areas who receive and engage with your campaign. Low penetration can mean boundaries are too tight or frequency too low. High penetration with low engagement points to a messaging or offer problem.
Attribution and return
- Store visit attribution: how many people who received a geofenced message later visited a physical location
- Incremental lift: the additional business the campaign generated, measured by comparing people who were exposed against a control group who weren’t. Without that comparison, you’re measuring correlation, not causation.
- Cross-device attribution: someone might see your ad on their phone near a competitor, research you on a laptop at home and visit your store the next weekend. A location-based message can influence a purchase hours or days later.
- Revenue attribution: connecting exposure to purchases through customer matching and transaction tracking, including assisted conversions that complete through another channel or location
- Return on ad spend (ROAS) and conversion rate per location
- Long-term value: customer lifetime value and retention, beyond the immediate conversion
Turning measurement into optimization
Raw data is worthless without action. Use it to keep adjusting fence placement, audience targeting, message timing and creative.
Start with heat mapping to find the highest-converting fence locations and times. Maybe the fence around your competitor works at weekday lunch hours but fails on weekends. Maybe the shopping center fence performs better on the parking lot than on individual stores. One retail chain analyzed dwell time patterns and shifted its ad delivery to match peak engagement periods.
Then segment by location behavior. People who visit several competitor locations behave differently from occasional visitors, and frequent visitors to premium retailers have different motivations from bargain hunters.
The bottom line: geofencing without analytics is just expensive spam with GPS coordinates.
What geofencing costs and how fees are structured
Geofencing isn’t only for big brands with huge marketing budgets, and it isn’t about throwing money at more ads. The idea is to use location to outsmart, not outspend.
Our geofencing pricing is based on ad impressions, not clicks. You pay each time your ad is displayed to a potential customer inside your defined fence, not for clicks or conversions. That has two practical advantages:
- Broader visibility. You reach everyone in the target area, not just the people who click.
- Predictable budgeting. You can set exact impression goals and plan spend around them.
Pricing is tiered by monthly impression volume, which works for small businesses and large enterprises alike, and it includes targeting, analytics and reporting. If you’re new to geofencing, we can help you work out the right impression volume for your goals and market size.
Getting started
Geofencing earns its place if you want to:
- Take market share from nearby competitors
- Drive real-world foot traffic
- Understand your customers’ physical behaviors
- Build tightly focused retargeting audiences
Start with one or two locations or a single event, measure what happens and build from there.
Want to see what this could look like for your business? Read more about our geofencing service, or contact Ambient Array to talk through a geofencing strategy.
See also: geofencing advertising.

