QR Code UTM Tracking: How to Track Print, Events, and Offline Clicks in GA4

Learn how to generate and track QR codes with UTM parameters in GA4. Step-by-step tutorial on vanity redirects, high-contrast sizing, and testing.

Infographic illustrating QR code generation with UTM parameters and scanning verification on mobile devices
Table of Contents
  1. Why Add Campaign Tags to a QR Destination?
  2. Step-by-Step: How to Generate a Tracking QR Code
  3. Print Design Rules: Size, Quiet Zone, and Contrast
  4. Pre-Print Testing Protocol for Mobile Scanners

Before printing a QR code, scan a proof and check the landing URL and its campaign tags. If you use a redirect you control, you can update the destination later. This tutorial covers link setup, print checks and GA4 testing.

Why Add Campaign Tags to a QR Destination?

When a customer scans a QR code containing only https://example.com/product, the visit may arrive without useful referrer information. GA4 may then classify it as Direct. Adding ?utm_source=flyer&utm_medium=print&utm_campaign=spring2026 provides campaign values for analytics to process, but does not guarantee complete attribution.

Step-by-Step: How to Generate a Tracking QR Code

  1. Open the UTMCraft Campaign URL Builder.
  2. Enter your destination landing page URL.
  3. Set utm_source to the specific print vehicle (e.g. brochure_tradeshow).
  4. Set utm_medium=print (or event).
  5. Set utm_campaign using your standardized formula.
  6. In the output drawer, click Generate QR Code.
  7. Download the QR code as high-resolution SVG for vector print artwork or high-DPI PNG.
Print Legibility Requirements
  • Minimum Physical Size: Never print a QR code smaller than 0.8 x 0.8 inches (2 x 2 cm) for close-up scanning (business cards/brochures). For posters or billboards, scale up proportionally to scanning distance (ratio: 1:10).
  • Quiet Zone: Maintain an empty white border around the QR matrix at least 4 modules wide.
  • Contrast: Always use dark pixels on a solid light background. Never invert colors (light pixels on dark background confuse many older Android camera sensors).

Pre-Print Testing Protocol for Mobile Scanners

Before sending artwork to the commercial printer:

  • Print a 100% scale proof on your office printer.
  • Test scanning with both an iPhone (Apple Camera app) and an Android device.
  • Verify the browser lands on the target page and the UTM parameters remain intact in the address bar.

If a printed code does not scan or the campaign values disappear, use the QR tracking troubleshooting checklist to isolate the print, redirect, or tagging issue.

For the broader setup, read Offline Campaign Tracking With UTMs and QR Codes: Print, Events & Packaging. Browse the Offline & QR Tracking guides to choose another troubleshooting task.

References