Physical-to-digital attribution

The practical guide to QR codes: anatomy, print sizing and tracking

A comprehensive breakdown of how QR codes work, the difference between modules and finder corner eyes, file formats, and how to deploy print campaigns safely without scan failures or security risks.

Technical architecture

Anatomy of a QR code: modules and finder eyes

To the human eye, a QR code looks like a random puzzle of dots. But under the hood, every element follows precise geometric specifications. Below are three versions of the exact same campaign code, highlighting each structural element in our brand teal:

Position and orientation

1. Finder patterns

The three square targets located in the top-left, top-right, and bottom-left corners. They work like navigation beacons: when you point your phone at the code, your camera immediately locks onto these three corners to detect orientation and perspective—even if you're holding your phone at a steep angle. Notice there is no eye in the bottom-right corner: this deliberate gap tells the camera instantly which way is up.

Data payload and redundancy

2. Modules

The individual dark and light squares across the matrix. Together, they function like microscopic barcode stripes, encoding your destination URL, letters, and numbers. Crucially, they also hold mathematical error correction data: even if up to 30% of the modules are covered by a company logo or damaged on a printed poster, the remaining modules reconstruct the full link seamlessly.

Edge boundary margin

3. The quiet zone

The empty buffer space surrounding the entire code. Camera scanners need this blank margin to distinguish where the QR code ends and where your flyer's graphics, background photos, or paper edges begin. If surrounding artwork touches the modules without this margin, phone cameras often fail to recognise the code.

All 3 sample codes above are live and scannable with your smartphone camera.
File formats

Which file format should you use?

Choosing the wrong image format often leads to blurry printouts or awkward white rectangular blocks on coloured designs. Here is when to use each format:

PNG (white) 1000×1000 px

Standard raster image with an opaque white canvas. Guarantees high contrast on white or light backgrounds.

Best for: Slide presentations (Keynote/PowerPoint), PDF invoices, email newsletters, and website footers.
PNG (transparent) No background

Raster image with an alpha channel. The space between modules is completely transparent.

Best for: Dark theme slides, coloured business cards, merchandise mockups, and photo overlays.
Vector SVG Infinite scale

Pure mathematical vector coordinates. It can be scaled to any dimension without loss of sharpness or resolution.

Best for: Roll-up banners, flyers, trade fair stands, vinyl signage, and print layouts (InDesign/Illustrator).
Print dimensions

The 10:1 scan distance formula

A QR code that is physically too small for the user’s camera distance is the number one cause of scan frustration. Always follow the 10:1 proportion rule:

Golden sizing formula
Minimum QR width = scanning distance ÷ 10

If someone scans from 1 metre away, the code should be at least 10 cm × 10 cm.

Flyers and menus

Handheld distance: 20–30 cm

Min: 2.5 × 2.5 cm
Posters and window displays

Standing distance: 1–1.5 metres

Min: 10 × 10 cm
Roll-up banners and booths

Walk-by distance: 2–3 metres

Min: 25 × 25 cm
Design and error correction

Custom shapes, colours and embedded logos

Traditional QR codes look generic and mechanical. You can customise modules and embed brand logos while preserving high scan reliability if you adhere to three rules:

1
The 3 finder corner eyes must stay distinct

Smartphone cameras find and orient a QR code by locating the three large corner squares (finder patterns). You can soften them with rounded borders or circular centres, but never occlude them or blend them into background patterns.

2
Automatic 30% error correction (level H) for logos

Standard QR codes use ~15% error correction (Level M). Placing a company logo in the centre blocks data modules. To compensate, our generator automatically increases redundancy to 30% (level H) when a logo is uploaded, allowing cameras to reconstruct any hidden data instantly.

3
Maintain a clear quiet zone margin

Always keep an unobstructed border of at least 2 to 4 modules of padding around the code. If surrounding graphics, illustrations, or typography touch the modules, camera autofocus engines frequently fail to detect the code's boundaries.

Attribution and analytics

Connecting offline print to web analytics

A common mistake in print marketing is printing a bare URL like example.com/demo on a flyer or trade show stand. When users scan the code, your web analytics tool records them as direct traffic with no indication of which print material drove the visit.

Recommended campaign tracking URL:
https://example.com/demo?utm_source=flyer_zurich&utm_medium=print&utm_campaign=q1_launch

By pairing your QR code with standardised UTM parameters, you can measure exactly how many customers came from physical mailings, booth banners, or packaging inserts.

4 golden rules before going to print

  • Always scan a physical test print: Test with both an iPhone and an entry-level Android phone under natural room lighting before submitting a print batch.
  • Ensure high contrast: Always use dark foreground modules on a light background (or bright white on dark). Never use low-contrast pairs like light grey on white or red on black.
  • Keep the aspect ratio 1:1: Never stretch or squash a QR code horizontally or vertically in layout software, as non-square modules cause camera scan failures.
  • Always export vector SVG for professional printing: Sending a small PNG to a commercial printer often causes blurry module edges. Provide vector SVG for flawless rasterisation at 300+ DPI.
Security alert

QR code caution: beware of "quishing" and scams

Because humans cannot read the encoded destination of a QR code by looking at it, attackers increasingly exploit QR codes in social engineering attacks known as "Quishing" (QR Phishing).

How quishing attacks happen
  • Physical sticker overlays: Fraudsters stick rogue QR code stickers directly over legitimate codes on public parking meters, EV charging stations, and restaurant tables.
  • Email filter evasion: Phishing emails embed malicious URLs inside QR code images to bypass automated corporate text-scanning spam filters.
3 rules for safe scanning
  • Check the URL preview: Inspect the full domain name on your phone before tapping "Open". Watch for deceptive typos (e.g., pay-manatt1.com).
  • Check for physical tampering: Feel the sign with your finger. If a QR code is a sticker placed over an original sign, do not scan it.
  • Never enter credentials blindly: A physical menu or flyer should never ask you to enter an email password or Apple/Google login.
How businesses can protect their customers:

Always deploy branded QR codes featuring your official company colours and centre logo, print directly onto signage rather than using paper stickers, and point exclusively to your verified corporate domain.