SEO & Marketing

Static vs Dynamic QR Codes: The Packaging Code Nobody Can Count

Two QR codes printed at the same 2 cm width: a short link, shop.example.com/scan, as a version 3 code of 29 by 29 modules at 0.54 mm each, above the GS1 minimum of 0.396 mm, and a product page address with UTM tags as a version 8 code of 49 by 49 modules at 0.35 mm each, under that minimum

The pouches of camelway.eu, the camel milk powder store I built, carry a small QR code next to the words Weitere Informationen (more information). It opens the store's home page directly, with no redirect and no tracking tags. It works, and I can't tell you how many people have ever scanned it. That number doesn't exist anywhere.

Back of a camelway.eu camel milk powder pouch: recycling and disposal symbols, dosage icons, and a small static QR code labeled Weitere Informationen with a Scan me caption
The static code on the camelway.eu pouch opens the store, and nobody knows how often

That's the catch with the kind of code most stores print first. So what should go on a box that might sit in a kitchen for two years, outlive your web address, and maybe outlive your QR code provider too?

If you print codes on packaging, cartons, cards or flyers, you'll find the difference between a static and a dynamic QR code here, how the length of a link decides the printed size, and a third option, which is the one I'd pick for most packaging.

Static or dynamic: where the information lives

A static code stores the full address, contact details or Wi-Fi password in its black and white squares, so the phone reads everything straight from the paper and the code works forever. A dynamic QR code stores only a short link. When someone scans it, the phone opens that short link, and the service behind it decides, at that moment, what to show, which is why you can change where it goes, count every scan and even turn it into a contact card after it's printed.

Static QR codeDynamic QR code
Change the destination after printingNoYes, any time
Switch the type, for example from a website to a contact cardNoYes, with CartHacker's codes
Count scansNo, unless the link carries tracking tagsYes: when, where and on which device
Size on paperGrows with the length of the linkStays small, because the short link is short
Keeps working ifAlways, as long as the destination page existsThe service behind it keeps running
CostFree everywhereUsually a free allowance, then a plan
CartHacker QR Code Generator, Website tab, with Enable Scan Tracking (Dynamic QR) switched off: the address https://your-website.com is encoded directly, and the preview shows a red Scan me frame around a version 2 code of 25 by 25 modules at error correction level M, next to options for frames, logo, colors and shape and downloads as PNG, SVG and JPG
With scan tracking off, CartHacker's QR Code Generator makes a static code that holds the address itself and can never change

Look at the last two rows before you pick. A dynamic code is only as durable as the company running it: if that company shuts down, removes free codes or ends a trial and switches your codes off, every printed copy stops working. That's true of CartHacker's codes too: they keep working while CartHacker runs. Dynamic codes don't expire on their own, so read a generator's terms on what happens to printed codes before you print ten thousand boxes.

Every character of a link adds black and white squares, called modules, to the code. The more modules there are, the smaller each one gets at the same printed size, and the harder the code is to scan from a crumpled pouch or with a phone held at an angle. I tested five typical store links with the encoder our QR Code Generator uses, which follows the international QR standard, ISO/IEC 18004:

LinkCharactersCode sizeSmallest printRecommended print
Dynamic short link, carthacker.com/qr/...3329 x 29 modules1.5 cm1.8 cm
Short path on your own domain, shop.example.com/scan2929 x 29 modules1.5 cm1.8 cm
Product page address6337 x 37 modules1.8 cm2.2 cm
Product page with UTM tracking tags12349 x 49 modules2.3 cm2.8 cm
Product variant with UTM tracking tags14649 x 49 modules2.3 cm2.8 cm

Error correction level M, the usual default. Sizes include the blank margin of 4 modules on every side and use GS1's module sizes for retail packaging: at least 0.396 mm, ideally 0.495 mm (GS1 is the organization behind the barcodes on retail products).

Adding a logo makes the gap bigger. To survive the squares a logo covers, the code switches to the highest error correction level, H, and the tracked product variant link then needs 65 x 65 modules and about 3.6 cm at the recommended size, while the short link stays at 33 x 33 and about 2 cm. On packaging, where every square centimeter already has a job, the short link wins.

The third option: a short path on your own domain

Print a static code that points at a short address on your own store, such as yourstore.com/scan, and you're free to send that address anywhere you like with a redirect. The code stays small and depends on nobody else, you can change the destination whenever you want, and with tracking tags on the destination your analytics count the scans as visits. It's also the option our own QR Code Generator recommends for plain web addresses on packaging.

  1. On Shopify: in your Shopify admin, go to Content > Menus, click View URL redirects, then Create URL redirect. Enter /scan as the old address and your product page as the new one. Shopify only redirects addresses that don't exist yet, so pick a path no page uses.
  2. On WooCommerce: install the free Redirection plugin, open Tools > Redirection, and add /scan as the source and your product page as the target.
  3. To count the scans, add tracking tags to the target, for example ?utm_source=packaging&utm_medium=qr, and the visits appear under that source in Google Analytics and in Shopify's reports. The tags sit on the redirect target, so they don't make the printed code any bigger.

The limit is the type. A redirect on your website can only open a web page. A contact card, a Wi-Fi login or a text message needs either a static code, which can never change after printing, or a dynamic code that can.

What a dynamic code can change after printing

Full disclosure: we make a QR Code Generator, so here's what ours does as one example of a dynamic code. Its printed pattern only ever holds a short link, so everything behind it stays editable:

  • The destination: point the code at a new product, a seasonal offer or a fixed typo. The change applies to the very next scan, because the code sends phones on with a temporary redirect that no phone stores.
  • The type: switch a printed code between a website, a contact card, a Wi-Fi login and a text message, so a business card can become a booking page and a window sticker a Wi-Fi sign.
  • On and off: pause a code and scans show a short notice instead, then switch it back on.
  • The scan count: scans by day, country, device and operating system.
CartHacker QR Code Generator with Enable Scan Tracking (Dynamic QR) switched on: the code encodes the short link https://carthacker.com/qr/kiTiz3t, which redirects to https://your-store.com, a notice confirms the code is saved to the QR code library, and the preview shows a blue Buy now frame around a version 3 code of 29 by 29 modules
With scan tracking on, the code holds a CartHacker short link, so the destination can change after printing and the dashboard counts every scan

And to the question of outliving a provider's plan: if a CartHacker Premium subscription ends, no printed code stops working. Every code keeps sending scans to its destination, and only scan counting shrinks to the free allowance.

QR Code Generator

Make a QR code you can still change after printing

Add your logo and colors and download a file ready to print. A free account counts the scans and lets you change where up to 5 codes point, even after printing.

Create a QR code

Other places a store can use QR codes

Packaging is where most stores start, but a scan saves a shopper typing in plenty of other places, and the shipping carton and the invoice are the ones that reach someone who already bought from you:

WhereWhat the code opensStatic or dynamic
Product packagingHow to use it, recipes, a reorder pageDynamic, or your own short path
Shipping cartonsA thank-you page with a discount for the next order, return instructionsDynamic, so the offer can change each season
Business cardsA contact card that saves your details to the phoneDynamic, so a new phone number does not mean a reprint
Printed mail and catalogsThe products on that page, a campaign landing pageDynamic, one code per mailing to count each one
Email newslettersThe same offer on the phone, or a coupon to show in a shopDynamic
Shop windowsYour online store, open when the shop is closedDynamic, to point it at this week's window
Restaurant and cafe tablesThe menu, table ordering, a review pageDynamic, so the menu can change without new stickers
Wi-Fi signsThe network name and password, joined in one tapStatic, or dynamic if the password changes
Invoices and receiptsA review request, a reorder pageEither
Trade fairs and eventsA contact card or a sign-up pageDynamic, to count visitors per event

Email's the one that sounds odd until you try it. Someone reading your newsletter on a laptop can scan the code next to the offer with their phone and finish the purchase there, and a code in an email can also act as a coupon that the reader shows at a shop's till.

How to print a QR code that scans

  1. Keep the link short: a dynamic link or a short path on your own domain.
  2. Print it big enough: about 2 cm wide for a short link, 3 cm or more for a long one, and larger for anything scanned from a distance, such as a window or a poster. About 1.5 cm is the smallest a short link should go.
  3. Leave the margin empty: a blank border of 4 modules around the code, with no text or pattern inside it.
  4. Use dark on light, such as black or dark blue on white or a light color.
  5. Keep it off seams and folds, because a code bent over a pouch's seam or a carton's edge often fails.
  6. Add a line of text that says what the scan gives, such as Recipes and reorder or Scan for Wi-Fi.
  7. Test the proof: scan the printed sample on the real material with two or three phones, including an older one, before the full run. CartHacker's generator has a Download 2cm Print Test button for this step.

If I were printing that camelway.eu pouch again, I'd put yourstore.com/scan behind the code and the tracking tags on the redirect target. The code would be the same size, and by now I'd know how many people scan it.

Sources

ISO/IEC 18004, GS1, Shopify Help Center and 2 more
5
Learning CenterGuide 12 of 25SEO & Marketing

Part of the free CartHacker Learning Center. A free account saves your progress on every device.

25 guides
Mark as read
13Next guideThe Three Automated Emails Every Store Needs, and Reviews Nobody Paid For 8 min readSEO & Marketing

Discussion 0

Ask a question or share what you saw on your own store.

No comments yet.