QR Architecture
6 min read
Updated: 2026-10-07

How to Create a Trackable QR Code with UTM Parameters

Step-by-step guide to creating trackable QR codes with GA4 UTM parameters. Learn how to track offline scans from flyers, packaging, and posters for free.

Quick Answer / Executive Summary

A trackable QR code is a physical or digital QR code that encodes a destination web address tagged with standardized UTM campaign parameters (such as utm_source, utm_medium, and utm_campaign). When a smartphone camera scans the code, the mobile browser requests the tagged URL, allowing analytics platforms like Google Analytics 4 (GA4) to identify the exact offline source and campaign that drove the visit.

By default, scanning an untagged URL (e.g. yoursite.com) carries no HTTP referrer headers, causing GA4 to categorize all physical scans as untracked 'Direct / (none)' traffic. By tagging your link with a free UTM builder before rendering it in QR Code Studio, you gain full attribution for print flyers, billboards, packaging, and event banners.

Recommended Modifyle Utility
Modifyle UTM Builder & Campaign URL Generator

Build GA4-compliant campaign tracking URLs with automatic lowercasing and a 1-click bridge to QR Code Studio.

Open Free UTM Builder →

How Trackable QR Codes Work (The Attribution Sequence)

To understand how offline tracking works, it helps to trace the exact technical sequence from a physical scan to your analytics dashboard:

Anatomy of a trackable destination URL encoded inside a QR code
https://example.com/promo?utm_source=flyer&utm_medium=qr_code&utm_campaign=spring_launch_2026
1

Campaign Tagging

You attach standard UTM query parameters (utm_source=flyer&utm_medium=qr_code&utm_campaign=expo_2026) to your destination web address using a UTM campaign URL builder.

2

QR Matrix Generation

You encode the complete tagged URL into a high-resolution vector QR code using Modifyle QR Code Studio and print it on your physical marketing materials.

3

User Scan & Request

A customer points their smartphone camera at the code. The operating system's native QR scanner reads the matrix and launches the default mobile web browser with the full tagged URL.

4

Client-Side Analytics Ingestion

When your landing page loads, analytics tracking libraries (such as Google tag gtag.js or Google Tag Manager) read window.location.search, extract the UTM tags, and attribute the session to your offline campaign.

5

GA4 Traffic Acquisition Reporting

Your Google Analytics dashboard surfaces the visits, engagement rate, key events, and purchases under your specified Source and Medium dimensions.

Technical Distinction

A static QR code does not contact a tracking server during the scan. The tracking occurs entirely client-side when the user's mobile browser lands on your website with the UTM parameters present.

GA4 UTM Parameters for QR Codes: Quick-Reference Table

Google Analytics 4 recognizes five core UTM parameters plus optional campaign IDs. Use this reference matrix to structure clean, consistent tags for offline collateral. For broader campaign taxonomy best practices and digital ad tagging rules, see our UTM campaign tracking guide:

ParameterWhat It IdentifiesGA4 StatusOffline QR ExampleBest Practice
utm_sourceThe physical asset, vendor, or publicationRecommendedflyer, poster, product_box, billboardUse specific, recognizable asset identifiers.
utm_mediumThe channel or distribution mechanismRecommendedqr_code, print_qr, signageKeep consistent across all QR campaigns for easy GA4 grouping.
utm_campaignThe marketing initiative or promotionRecommendedspring_sale_2026, trade_show_expo, rebrandGroup related collateral under one unified campaign name.
utm_contentThe specific placement or creative variationOptionalbooth_a, table_tent_3, back_cover, front_counterEssential for A/B testing different physical locations.
utm_termTarget keyword or customer segmentOptionalvip_attendees, retail_shopper, b2b_leadUse when targeting specific audience segments.
utm_idExternal Campaign IDOptionalCAM-2026-QR101, EXP-889Aligns with internal CRM or advertising campaign IDs.
GA4 UTM parameter specifications for offline print and digital QR campaigns.
Auto-Lowercasing Rule

Google Analytics 4 is case-sensitive: utm_medium=qr_code and utm_medium=QR_Code appear as two separate channels in reports. Always use lowercase parameters. Modifyle's UTM builder automatically enforces lowercasing.

Real-World Offline QR Tracking Examples

Here is how to tag standard offline print and signage touchpoints to isolate individual conversion channels:

Marketing Mediumutm_sourceutm_mediumutm_campaignGA4 Reporting Goal
Trade Show Flyerexpo_flyerqr_codetech_summit_2026Measure total leads generated from booth handouts.
Storefront Posterstore_windowqr_codespring_sale_2026Track foot traffic conversion to online discounts.
Business Cardbusiness_cardqr_codenetworking_q3Attain direct attribution from executive networking.
Product Box Insertpackage_insertqr_codeproduct_onboardingMeasure post-purchase customer registration rate.
Table Tent Signagetable_tentqr_coderestaurant_menuCompare table scan volume across dining areas using utm_content.
Standardized UTM parameter configurations across 5 common offline touchpoints.

Step-by-Step: From Marketing Link to Print-Ready QR Code

Follow this straightforward five-step workflow to produce crisp, trackable QR codes for print or digital distribution:

01

Step 1: Enter your landing page in Modifyle UTM Builder

Paste your target destination URL into the Modifyle UTM Builder. The tool automatically preserves any existing query parameters or page anchor fragments (#pricing).

02

Step 2: Add standard UTM campaign parameters

Set utm_source (e.g. flyer), utm_medium (e.g. qr_code), and utm_campaign (e.g. spring_promo_2026). Enable auto-lowercasing to keep your GA4 reporting consolidated.

03

Step 3: Transfer to QR Studio via the 1-click bridge

Click 'Create QR Code'. Modifyle carries your complete URL with all attribution tags into the QR Code Studio without manual copying and pasting.

04

Step 4: Customize branding and check error correction

Set your brand colors and upload your logo if desired. Modifyle automatically ensures error correction is boosted to High (H: 30%) with module excavation so the logo never prevents scanning.

05

Step 5: Export as Vector SVG (Print) or High-Res PNG (1024px)

Download an SVG for vector printing on large banners, or download a 1024×1024 PNG with standard 4-module quiet zone margins for product packaging and digital displays.

Direct Workflow

Generate your GA4 campaign URL and transfer directly to QR Code Studio in 1 click.

Open Free UTM Builder

Static vs. Dynamic QR Codes for Campaign Tracking

A common misconception is that tracking requires an expensive monthly dynamic QR subscription. In reality, both static and dynamic QR codes can deliver complete campaign attribution:

  • Static QR Codes with UTM: The complete tagged URL is permanently encoded directly into the black-and-white matrix. It is 100% free forever, has zero server latency, and never expires. However, because the URL is baked into the ink, you cannot edit the destination URL after printing.
  • Dynamic QR Codes with Short Links: The QR code encodes a short intermediary redirect link (modifyle.com/s/xyz) that forwards users to your final UTM URL. This keeps the visual matrix simple and allows you to update the destination URL even after 10,000 brochures have been printed.
Learn More

Explore the architectural trade-offs, scanning speed comparisons, and offline reliability considerations in our comprehensive static vs dynamic QR codes guide.

Frequently Asked Questions

How do I create a trackable QR code for free?
You can create a free trackable QR code by appending UTM parameters to your website URL using a free UTM builder, then converting that URL into a QR code using Modifyle QR Studio. The static QR code encodes your parameters directly without subscription fees, account signups, or expiration dates.
Can I track QR code scans in Google Analytics 4 (GA4)?
Yes. When someone scans your QR code and visits your webpage, GA4 reads the utm_source, utm_medium, and utm_campaign parameters in the URL. In GA4, go to Reports > Acquisition > Traffic Acquisition to filter sessions by your custom QR tags (e.g. utm_medium = qr_code).
Can a static QR code use UTM parameters?
Yes. A static QR code simply stores text—in this case, your full website URL with UTM tags. It does not require a dynamic subscription to work. However, because the URL is permanently encoded into the printed matrix, you cannot change the destination URL after printing.
What UTM parameters should I use for a QR code?
At minimum, set utm_source (the physical placement, like flyer or store_window), utm_medium (set to qr_code), and utm_campaign (the promotion name, like spring_sale_2026). For A/B testing different physical placements, use utm_content.
What is the difference between a static and dynamic QR code for tracking?
A static QR code encodes the full UTM URL directly into the visual pattern—it is permanent and free, but the URL cannot be edited later. A dynamic QR code encodes a short redirect link that forwards to your UTM URL, allowing you to update the destination anytime and track server-side scan timestamps.
Should I download PNG or SVG for physical printing?
Download SVG for physical print collateral. SVG is an infinitely scalable vector format that commercial printers can enlarge to billboard size with razor-sharp geometric precision and zero pixelation.
What is the minimum physical print size for a trackable QR code?
For standard flyers and packaging, the minimum recommended print size is 2×2 cm (0.8×0.8 in) for short URLs. For longer static URLs with multiple UTM tags, use at least 3×3 cm (1.2×1.2 in) with a 4-module quiet zone margin so phone cameras can easily resolve the modules.

Related Technical Guides

View all guides

Related Modifyle Workshop Utilities