QR Code Geofencing: Limit Scans by Location
QR code geofencing limits where a QR code opens. You drop a pin on a map and set a radius, and only phones scanning inside that circle reach your link, file, or page. Everyone else sees a message that they are outside the allowed area. On QRelix you create a QR code, open the Security step, switch on Geofenced QR code, and set the area. Geofencing is free on every plan, with no credit card.
How QR code geofencing works
A QR code is a printed pattern that holds a short link. It cannot check where a phone is, so the check happens after the scan:
- Someone scans the code with their phone camera, and the short link opens in their browser.
- The browser asks them to share their location, the same one-time prompt any map site uses.
- The phone shares its position, and QRelix's server measures the distance from your pin.
- Inside the area, the scan goes on to your destination. Outside it, the scanner sees "You're outside the allowed area" instead.
The decision is made on the server, so your destination is never sent to a phone that did not pass. Nobody installs an app.
Two things follow from this. Only a dynamic code can be geofenced, because a static code sends the phone straight to the destination with nothing in between. And the area can be added, moved, resized, or removed after the code is printed, because it is a setting in your dashboard, not part of the printed squares. The static vs dynamic comparison explains the two types.
How to set up a geofenced QR code
- Create the code. Open Create a QR code and pick a type: URL for a web page, or a tile under Hosted pages, such as PDF or Menu.
- Set the area in the Security step. Switch on Geofenced QR code, click the map to set the center, and drag the radius, from a few dozen meters up to 10 kilometers.
- Design and download. Add your colors and logo, then download SVG for print or PNG for screens.
- Test inside and outside the area. Scan it yourself inside the circle and confirm the destination opens. Then have someone scan it from outside and confirm they see the outside-area message.
Adding a geofence to a code you already printed
Open the code in your dashboard, go to its security settings, and switch on Geofenced QR code. The next scan follows the new rule, and the printed code does not change. Moving the pin, resizing the circle, or turning the geofence off works the same way.
How accurate QR code geofencing is
The check uses the phone's own location, so it is much more precise than an estimate from an internet connection. Plan for these realities:
- Phone location is usually accurate to 10 to 50 meters outdoors, and less precise indoors. QRelix allows a little slack at the edge of the circle so a scan just inside the line still passes.
- Set the radius a bit wider than the space itself. A circle around a single shop works; a circle exactly the size of one room is too tight.
- Approximate location is not enough. If a phone only shares an approximate position (for example an iPhone with Precise Location turned off), the scanner is asked to turn precise location on and scan again.
- People who decline the prompt cannot open the code. They see instructions for allowing location access. Say so on the sign ("Allow location when asked") if your audience may hesitate.
- It is a strong filter, not a vault. It stops scans of a photo shared far away. For truly sensitive content, combine it with a password.
What to use a geofenced QR code for
- In-store offers. A coupon that only opens inside your shop, so a photo posted online does not spread it.
- Event and venue content. Wi-Fi details, a program, or a feedback survey that only opens at the venue.
- Class and workshop check-ins. A sign-in page that only opens in the room's building.
- Property and open house materials. Disclosures or a price sheet that open only at the property.
- Local campaigns. Posters around one neighborhood that open a sign-up page for people who are actually there, with a radius of a few kilometers.
A worked example
A bakery puts a "free cookie with any coffee" code on its counter. The code is geofenced to a 75 meter circle around the shop. Customers at the counter scan and open the offer as usual.
A week later someone posts a photo of the counter sign online. People scanning the photo from home see the outside-area message, so the bakery does not hand out cookies it never meant to. When the promotion ends, the owner points the same code at the weekly specials page and turns the geofence off. Nothing is reprinted.
Combine a geofence with other access controls
Geofencing is one of six security controls in QRelix, all free on every plan, and they can be combined on the same code:
- Password. The scanner types a password before the code opens. See how to make a password protected QR code.
- Expiration date. The code stops opening at a date and time you choose. See how to set a QR code expiration date.
- Scan limit. Set a maximum number of scans. See the QR code scan limit guide.
- Start date and opening hours. The code opens from a set moment, or only on chosen days and hours.
When several are on, QRelix checks the expiration date, scan limit, start date, and opening hours first, then the location, then the password. The security and access controls guide describes each setting.
Geofencing is not the same as location tracking
Location tracking records where scans happen and shows the city, region, and country in your analytics. It is included on every plan and never stops a scan. Geofencing asks the phone for its position and uses it to decide whether a scan gets through. If you only want to see where your scans happen, you do not need a geofence. The guide to QR code location tracking covers that side.
What QR code geofencing costs on QRelix
- Free ($0, no credit card): 3 dynamic QR codes, unlimited scans for everyday use, scan analytics, editable destinations, custom design, and every security control, geofencing included. Every scan shows a brief QRelix screen before forwarding.
- Pro ($7.99 a month): unlimited dynamic codes, no QRelix screen, full scan history, Smart Routing, a Brand Kit, conversion pixels, and unlimited hosted pages.
Geofencing works the same on every plan, so you can add it to a free code today. If you need more than 3 dynamic codes or want scans to skip the QRelix screen, move to Pro; upgrading never changes the printed QR image. See pricing for details.
Questions about QR code geofencing
Can I geofence a QR code for free?
Yes. Geofencing is free on every QRelix plan, with no credit card.
Does the scanner have to share their location?
Yes. The browser asks once, and the code only opens after the phone shares a precise position from inside the area.
What do people outside the area see?
A message that they are outside the allowed area, in place of your content.
Can I limit a QR code to one building?
Yes, roughly. Set the pin on the building and a radius a little larger than it, since phone location can be off by tens of meters, especially indoors.
Can I change the area after the code is printed?
Yes. Move the pin, change the radius, or switch the geofence off in your dashboard. The change applies to the next scan.
Can a static QR code be geofenced?
No. A static code holds the destination itself, so nothing can check the location on the way. Geofencing needs a dynamic code.
Make your geofenced QR code
Create a QR code on QRelix, switch on Geofenced QR code in the Security step, and test it from inside and outside the area. It is free to start.
Tools and pages for this guide
Put this guide to work
Make one with the free trackable QR code generator: scan analytics, an editable destination, your logo. No credit card, no account up front.
Create a free QR code