Referral marketing has the best customer acquisition cost of any channel. The challenge? Tracking who referred whom turns into a spreadsheet nightmare fast. QR Codes change that: each customer gets a unique referral QR — when a friend scans it, the referrer's credit is registered automatically.
In this article you'll learn how to build a member-get-member referral program using dynamic QR Codes, UTM tracking, coupon distribution, and a sharing mechanic that spreads virally through WhatsApp, packaging, and receipts.
Why use QR Codes in a referral program?
Referral links work great in email. But in the physical world — countertops, packaging, receipts, flyers — links don't translate. QR Codes do. You print them (or send them via WhatsApp) and the referred friend simply scans with their camera. The redirect already carries the referrer's parameters — no code typing needed.
Practical advantages:
- Automatic tracking: each QR has UTM or a unique ID → you know exactly how many referrals each customer generated.
- Instant discount: the friend who scans lands on a page with the coupon already applied.
- Easy to share: customers send the QR via WhatsApp, Stories, or print it at home.
- No app required: works with the phone's native camera.
How the mechanics work
| Step | What happens | QR Code involved |
|---|---|---|
| 1. Customer receives unique QR | QR generated with customer ID/UTM | Dynamic link QR |
| 2. Shares with friends | Sends via WhatsApp, posts in Stories | Same QR (digital or printed) |
| 3. Friend scans | Lands on discount landing page | Scan recorded in dashboard |
| 4. Friend purchases | Conversion registered | — |
| 5. Referrer earns reward | Points/discount/cash credited | — |
Step by step: creating your referral QR on Code2Scan
1. Build the destination URL with UTM parameters
Set up your referral landing page URL with UTM tags identifying the customer:
https://yoursite.com/referral?utm_source=referral&utm_medium=qr&utm_campaign=mgm&utm_content=customer_123
The utm_content=customer_123 is the unique referrer ID. Each customer gets a QR with their own ID.
2. Generate the dynamic QR on Code2Scan
- Go to /en/qr-code-link.
- Paste the UTM URL.
- Choose dynamic QR — this enables scan tracking and lets you update the destination later if needed.
- Customize with your brand colors and logo.
- Download as PNG (digital) or SVG (high-quality print).
3. Distribute the QR to each customer
Most effective channels:
- Physical or digital receipt: print the personalized QR at the bottom of the invoice.
- Product packaging: a sticker or card inside the box.
- WhatsApp: send the QR image directly in the post-purchase conversation — it works like a visual referral link.
- Post-purchase email: an image block with the QR and the copy "Refer and earn."
4. Set up the double-sided reward
The mechanic that converts: the referrer earns (discount on next purchase, cashback, bonus) and the referred friend also earns (welcome coupon). This doubles the sharing incentive.
Suggested QR message:
"Share this QR with a friend. They get $5 off their first order — and so do you when they buy."
5. Track in the analytics dashboard
With a dynamic QR, you see in Code2Scan's dashboard:
- Total scans per QR (= per referrer)
- Date and time of each scan
- City/region of each scan
Cross-reference with your e-commerce conversions to find your super-referrers — and reward them with an extra bonus.
Where to use the referral QR
| Channel | How to use |
|---|---|
| Receipt / invoice | Footer: "Refer a friend — scan here" |
| Product packaging | Inside card or sticker |
| QR image in post-purchase chat | |
| Email marketing | Clickable image block |
| Instagram Stories | QR sticker on screen |
| Digital loyalty card | QR on the back of the card |
To complement, see how to use QR Codes on digital loyalty cards and how to track QR Codes with UTM in Google Analytics.
Common mistakes
❌ Using a static QR for your referral program
Static QR Codes have no scan dashboard. You won't know how many referrals each customer generated. Always use a dynamic QR.
❌ URL without a customer identifier
All customers sharing the same link → impossible to know who referred whom. Create a unique URL per customer using utm_content or a custom ID.
❌ Reward only for the referrer
One-sided programs convert less. Always include a discount or benefit for the referred friend — that's what drives sharing.
❌ Low-resolution QR on WhatsApp
Export the QR as PNG at at least 1000×1000 px or as SVG. Low-resolution images don't scan well when a friend tries to read them from someone else's screen.
❌ Landing page without a visible discount
The person who scans needs to immediately see "you got $X off." If the coupon is buried, conversion drops.
Referral program + link-in-bio
If you sell on Instagram, combine the referral QR with a link-in-bio that centralizes your referral landing page, catalog, and WhatsApp. Customer refers via QR, friend lands on the link-in-bio, buys there.
You can even create a WhatsApp QR with a pre-filled message like "My friend [name] referred me."
Summary
- Generate a dynamic link QR with a unique URL per customer (with UTM or ID).
- Distribute via receipt, packaging, and post-purchase WhatsApp.
- Set up a double-sided reward: discount for the referred friend and for the referrer.
- Track scans in Code2Scan's dashboard to identify super-referrers.
- Export the QR as PNG (1000 px+) or SVG for reliable scanning.
Create your referral QR for free — dynamic QR with scan tracking, brand customization, and PNG/SVG export.