You print 500 flyers for a weekend sale. Three weeks later, people are still scanning them and landing on an offer that ended. Or you want a code that only starts working on launch day.
Both problems have the same fix: a time-limited QR code.
First, why a normal QR code can't expire
A static QR code has its destination baked into the pattern itself. Nothing sits between the scanner and your link, so there is nothing to switch off. If a static code "stops working", it's because the page it points to went away.
To expire on purpose you need a dynamic QR code. A dynamic code points to a short redirect link that you control. Every scan passes through that link, so you can decide what happens: send people to the page, send them somewhere else, or tell them the offer ended. See static vs dynamic QR codes.
How to set a start and end date in RubyQR
- Sign in and create a dynamic QR code with your destination (offer page, event page, form).
- Set an activation date if the code should only start working later (a launch, a ticket sale).
- Set an expiration date for when it should stop (end of the promotion, event over).
- Download the code and print it.
The expiration date must be after the activation date; the form rejects it otherwise. Before the activation date, or after expiry, scanners don't reach your destination.
Test it before printing: set a short window, scan it, wait, and scan again.
When time-limited codes are worth using
- Promotions and coupons: a Black Friday or 11.11 code that stops at midnight.
- Events: a code on posters that works until the event ends.
- Pre-launch teasers: printed in advance, live on launch day.
- Contests and surveys: close entries automatically.
- Temporary access info: guest instructions for a rental stay, for example.
Plan what people see after expiry
An expired code that leads nowhere frustrates people. Two safer habits:
- Print the end date on the material ("Offer valid until 30 Nov") so a dead code isn't a surprise.
- Re-use the code for the next campaign. Because the code is dynamic, you can change the destination and dates later without reprinting. See how to track QR code scans to compare campaigns by scan count.
Don't confuse these things
Expiry date vs plan limits. A dynamic code can also stop working if the account behind it is closed. For long-lived printed material, keep your account active.
Scan limits. Some tools can expire a code after a set number of scans. Date-based schedules are the common option; check what your tool supports before promising a limit to customers.
Time limits vs password protection. Expiry controls when a code works; a password controls who can open it. You can use both for private events.
Printing tips for short campaigns
- Use a clear call to action: "Scan for 20% off this weekend".
- Keep the code big enough for the distance it'll be scanned from. See the QR code size guide.
- Avoid glossy laminate on posters under bright lights.
FAQ
Can I extend an expired code? Yes. Edit the expiration date on a dynamic code and the same printed code works again.
Do I need to reprint? No. The pattern doesn't change when you edit dates or the destination.
Can I do this with a free account? Free accounts include dynamic QR codes (3 codes). Check the pricing page for what each plan includes.
Prefer Vietnamese? See mã QR động là gì.
