Blog · November 23, 2026 · 7 min read

Anti Counterfeit QR Codes on Shopify: How Copied Codes Get Caught

A QR code is a picture. Anyone with a phone can photograph the one on your box and print it on a thousand fakes, and the copy scans exactly like the original. So the honest answer to "do anti counterfeit QR codes work?" is: the code itself proves nothing. What matters is what happens on the other side of the scan, and whether that side can tell a copied code from a real one.

This guide explains how copied, invented and cancelled codes get caught, using the actual rules behind TrueTag, the Shopify app we build. We wrote it from our own code, including the parts that do not work the way people hope. The principles apply to any per unit verification system, so it is worth reading even if you never use ours.

Why one code per product is not enough

Many brands start with a single QR code on all their packaging that opens an "authentic product" page. A counterfeiter copies it once and every fake passes. The same goes for a hologram, a batch code or a security sticker: anything that is identical across units can be copied once and reused forever.

The fix is a different code on every single unit, each one tied to a record of that unit. Then the system has something to reason about: whether this code was ever issued, whether it is still valid, and how it has been scanned so far. That is where the three kinds of fake code get separated.

Fake code 1: a code that was never issued

The lazy counterfeiter makes up codes, or changes a few characters of a real one. Each TrueTag code carries a random 128 bit token, so guessing a valid one is not realistic. A buyer who scans an invented code sees a page titled "We couldn't verify this code", with advice to contact the seller they bought from.

Every scan of a code that was never issued is treated as suspicious. When the scanned link names your store, the scan lands in your suspicious scans log. To stop anyone from flooding your log on purpose, one network can add at most five of these entries to your log per hour; a real wave of fakes is scanned by many different buyers on many different networks, so it still shows up in full.

Fake code 2: a genuine code copied onto fakes

This is the smart counterfeiter, and the case most articles skip. They buy one genuine unit, photograph its label and print that exact code on every fake. The code is real, so the first answer is not a red page.

Be clear about what this means: the buyer of a copy sees "Genuine Product". Their code is a real code. What gives the copy away is the pattern. A genuine unit belongs to one owner, who scans it from home, from work, maybe from mobile data: a handful of networks over its whole life. A code printed on 300 fakes is scanned from 300 different networks.

TrueTag counts the different networks each code has been scanned from. Once a code has already been scanned from five different networks, every later scan of it is flagged and lands in your suspicious scans log, next to that unit's serial number. One serial showing up again and again in that log is the signature of a copied label.

Five networks is a signal, not proof. A gift, a resale, an owner who scans at home, at the office and on the train can also get there. Treat a flagged serial as the start of an investigation: look at how many times it appears, then confirm with a test purchase from the seller you suspect. Our counterfeit playbook explains how to run one.

Fake code 3: a code from a cancelled or refunded order

Codes can also be valid once and then stop being valid. When an order is cancelled or a unit is refunded, TrueTag voids that unit, and anyone scanning its code sees "This code is no longer valid". That closes the gap where a label from an order that never shipped would otherwise verify as genuine forever.

What the merchant sees, and what the buyer never sees

The suspicious scans log lives in your TrueTag dashboard on the Growth and Pro plans. Each entry shows the time, what the buyer was shown ("unknown code" for a code you never issued, "genuine" for a real code scanned from too many networks), the serial number when the code matches a unit, and the start of a hashed network fingerprint. There are no emails; you check the log when you want to.

Network addresses are never stored as they are, only as a keyed hash, which is enough to tell "same network" from "different network" and nothing more. The public verify page never shows anything about who scanned before or who owns the item: only the product, its serial number and its warranty.

Make copied codes harder to collect

Detection works better when copying is less convenient. Three habits help, whatever system you use:

  • Put the label where a shelf photo cannot reach it. Inside the box, under the lid, or behind a seal the buyer breaks. A counterfeiter then has to buy a unit to copy each code.
  • Ask buyers to scan on arrival.A line on the insert ("Scan to check it's genuine and see your warranty") turns your customers into your early warning system. The more genuine scans, the clearer the copied pattern becomes.
  • Give them a reason to scan. A warranty shown on the same page is the reason most buyers actually scan. Our QR warranty registration guide covers how to set that up.

What QR verification cannot do

No code stops anyone from manufacturing fakes. Per unit verification helps you detect copies sooner, gives genuine buyers proof, and tells you which serial numbers are being abused, which is real evidence when you report a counterfeit store. The seller still has to be dealt with through takedowns and, where it matters, a lawyer.

Setting it up on Shopify

  1. Install TrueTag from the Shopify App Store and pick the products that should get a serial number on every unit.
  2. Choose when serials are created: when an order is placed or when it is fulfilled. You can also create them in bulk for stock you already have.
  3. Print the QR labels. Single labels, whole batches, plain paper or peel and stick sheets: printing is free on every plan.
  4. Stick each label on its unit, ideally inside the packaging, and add a "scan to verify" line to your insert.
  5. On Growth ($19 a month) or Pro ($49 a month), check the suspicious scans log from time to time. The Free plan covers 50 units a month with full verify pages but no log.

For every other way to put serial numbers on Shopify products, with and without an app, see serial number tracking on Shopify.

Frequently asked questions

Can a counterfeiter just copy my QR code?

Yes. A QR code is a picture and anyone can photograph and reprint it. That is why the code alone proves nothing; what catches copies is a different code on every unit and a record of how each code has been scanned.

How does TrueTag detect a copied QR code?

It counts the different networks each code has been scanned from. Once a code has already been scanned from five different networks, every later scan is flagged in the merchant's suspicious scans log next to that serial number.

What does a buyer see when they scan a copied genuine code?

The page still says Genuine Product, because the code itself is real. The copy is caught by the pattern of scans, which the merchant sees in the log, not by the buyer's page.

What happens when someone scans a code that was never issued?

The buyer sees a page titled We couldn't verify this code. When the scanned link names your store, the scan is added to your suspicious scans log, capped at five entries per network per hour so nobody can flood it.

Which TrueTag plans include the suspicious scans log?

Growth ($19 a month) and Pro ($49 a month). The Free plan covers 50 units a month with verify pages and free label printing, but no log. TrueTag does not send email alerts; you check the log in the dashboard.