QR Codes Are Back: How Onlure Uses Offline Attribution to Track Real Customers
Remember when QR codes were a joke? Those pixelated squares on posters that nobody ever scanned?
Fast forward to 2025, and QR codes are everywhere—restaurant menus, concert tickets, payment apps, even Super Bowl ads. The pandemic forced everyone to adopt them, and now they're the secret weapon behind Onlure's offline attribution system.
Here's how we use QR codes to connect online creator shares to real-world customer visits—without invasive tracking or creepy cookies.
The QR Code Renaissance
QR codes went from "futuristic gimmick" to "essential tool" almost overnight:
Why the shift? Three reasons:
1. COVID-19 made contactless everything mandatory (menus, payments, check-ins) 2. Smartphones got native QR scanning built into cameras (no app needed) 3. Privacy regulations killed web cookies, making QR codes the best alternative for offline attribution
The Problem with Online-Only Tracking
Most creator marketing platforms (Instagram, TikTok, YouTube) only track online conversions:
But what if your business is a physical location? A cafe, boutique, salon, or gym?
When a creator shares your business and someone shows up in person, traditional analytics have no clue. You're left guessing whether that new customer came from:
Enter QR codes.
How Onlure's QR Attribution Works
Here's the magic behind Onlure's system:
1. Every Drop Gets a Unique QR Code
When a small business creates a Drop (an exclusive offer), Onlure generates a HMAC-signed QR code. This QR code is:
The business prints this QR code or displays it on a tablet at checkout.
2. Creators Get Personal Share Links & QR Codes
When a creator shares a Drop, Onlure mints a personal trackable link for them:
`https://o.lure/c/{share_id}`
This link also generates a custom QR code that the creator can share on Instagram Stories, TikTok videos, or printed flyers.
3. Consumers Scan at Redemption
When a consumer wants to redeem the offer, they:
1. Scan the QR code at the business (shown on a phone or printed) 2. Onlure validates the code in real-time 3. The system checks: - Is this Drop still active? - Is there quota left? - Is the consumer within ~100m of the store? (geo-fencing prevents fraud) - Has this device already redeemed? (prevents duplicate scans) 4. If valid, the redemption is logged and coins are awarded: - +5 coins to the consumer - +5 coins to the creator who shared it - +5 coins to any secondary referrer (if applicable)
4. Real-Time Attribution Dashboard
The small business sees exactly which creators drove which customers:
No guessing. No "brand awareness" hand-waving. Just hard data.
The Technical Magic: HMAC-Signed QR Codes
QR codes are easy to generate—anyone with a phone can make one. So how do we prevent fraud?
HMAC (Hash-Based Message Authentication Code) Signing:
Every QR code payload includes:
When someone scans the QR code, Onlure's backend: 1. Decodes the payload 2. Recomputes the HMAC using the server's secret key 3. Compares the signatures
If they match → legit code. If not → fraud attempt blocked.
This prevents:
We also rotate HMAC keys every 90 days for extra security.
Anti-Fraud: Beyond HMAC
QR codes alone aren't enough. We layer on multiple fraud detection mechanisms:
Unique Hash Guard: Every redemption generates a hash: ``` sha256(drop_id|share_id|device_fingerprint|day) ``` If someone tries to scan twice in the same day, the system blocks it.
Geo-Fencing: Redemptions must happen within ~100 meters of the store. A creator in Vancouver can't redeem a Drop in Toronto.
Rate Limiting: Each store device can only process 5 redemptions per minute. Prevents bots from spamming scans.
Device Fingerprinting: We track (anonymized) device IDs. If the same device redeems 20 Drops in one hour, it's flagged for review.
Why QR Codes Beat Links for Offline Businesses
You might ask: "Why not just use trackable links?"
Links work great for e-commerce, but they break down for physical stores:
Friction: Asking someone to "click this link, then show proof at checkout" adds steps. QR codes are instant.
Verification: A link can't prove someone is actually at the store. QR + geo-fencing can.
Offline-first: QR codes work even with spotty Wi-Fi (they cache the payload). Links require constant connectivity.
Universal: Every smartphone camera can scan QR codes natively (iOS and Android). No app download required.
Real-World Impact: The Queen West Cafe
A Queen West cafe ran a Drop: "Buy one latte, get one free (max 50 redemptions)."
Results after 10 days:
Attribution breakdown:
The cafe learned that micro-creators with engaged audiences (Creator B) drove almost as many visits as larger influencers (Creator C).
Next campaign? They offered Creator A and B premium partnerships. That's data-driven decision-making.
The Future: QR Codes Everywhere
Onlure's QR attribution is just the beginning. Imagine:
QR codes aren't just for menus anymore. They're the bridge between digital marketing and real-world commerce.
---
*Curious about the tech behind Onlure? Email us at support@onlure.ca*