지역 타겟팅 QR Code: 위치 기반 라우팅
Routing QR scans to different destinations by location: IP geolocation, language detection, and regional content delivery.
Geotargeted QR Codes: Location-Based Routing
Geotargeted dynamic QR codes redirect scanners to different destinations based on their geographic location, enabling localised content from a single printed code.
How Geotargeting Works
- User scans the QR code, sending a request to the redirect server
- The server determines the user's location via IP geolocation
- Based on location rules, the server redirects to the appropriate destination
Use Cases
Multi-language content: A product QR code redirects to the product page in the scanner's local language.
Regional offers: A retail QR code shows location-specific promotions (e.g., different discount codes by city).
Local information: A tourism QR code routes to city-specific guides and recommendations.
Compliance: Different regions may require different terms of service, privacy policies, or regulatory disclosures.
Configuration Example
| Location | Destination |
|---|---|
| United States | https://example.com/en-us/product |
| United Kingdom | https://example.com/en-gb/product |
| Japan | https://example.com/ja/product |
| Default | https://example.com/product |
IP Geolocation Accuracy
IP geolocation has inherent limitations:
- Country level: 95-99% accurate
- City level: 70-80% accurate
- VPN/proxy users: Located at the VPN exit, not their actual location
- Mobile networks: May show carrier headquarters instead of user location
For critical routing decisions, consider using browser-based geolocation (GPS) with user consent as a more accurate alternative.
Combining with Language Detection
Beyond location, the Accept-Language HTTP header reveals the user's preferred language. Combining IP geolocation with language preference provides more accurate localisation:
- IP says France + Accept-Language says
en→ English content for English-speaking visitor in France - IP says France + Accept-Language says
fr→ French content for French speaker in France
Key Takeaways
- One QR code can serve different content by geography using IP geolocation
- Country-level routing is highly accurate; city-level is less reliable
- Combine IP geolocation with Accept-Language headers for better localisation
- Always configure a sensible default destination for unrecognised locations
- VPN users may be routed incorrectly — consider browser geolocation for critical cases