To track a QR code in Google Analytics, create a UTM tagged URL, turn that URL into the code, then view the visits in GA4 under Traffic acquisition or Explore reports.
You can set this up in about 10 minutes. The key is simple: Google Analytics does not see a "QR scan" by itself, it sees a visit from the tagged link inside your code.
How to track a QR code in Google Analytics#

-
Open the free QR code generator and keep a GA4 property handy in another tab. You need the final landing page URL first, not just the code image.
-
Build a UTM version of your page link before you make the QR code. At minimum, add
utm_source,utm_medium, andutm_campaign, such asutm_source=flyer&utm_medium=qr&utm_campaign=spring-sale. -
Keep
utm_medium=qron every QR campaign so GA4 can group them cleanly. Change the source for placement, likeposter,table-tent,box-insert, orwindow-sign. -
Make one QR code for each printed placement you want to measure separately. If the poster and the receipt use the same code, GA4 cannot tell them apart later.
-
Paste the full UTM tagged URL into the generator and create the code. If the destination might change after printing, make it dynamic so you can re-point it without a reprint.
-
Scan the code yourself and watch the visit land in GA4 Realtime. If Realtime shows your visit within a minute or two, the setup is usually correct.
-
Publish or print the code only after the test visit shows the right source, medium, and campaign. One wrong character in a UTM tag can split your data into messy duplicates.
-
Check results in GA4 under Reports, Acquisition, Traffic acquisition, then add a filter or comparison for
Session mediumequalsqr. You can also break it down by Session source or Session campaign to compare placements.
Google's Campaign URL Builder works fine for this, but the naming matters more than the tool. Pick one naming pattern and stick to it, especially for spaces, hyphens, and lowercase.
A good starter pattern is simple: source equals where the code lives, medium equals qr, campaign equals the promotion. For example, utm_source=table-tent&utm_medium=qr&utm_campaign=summer-menu is clear six weeks later, which is the whole point.
If you want a fast path, QRFLOW.codes lets you make the code as soon as your tagged link is ready, and your first dynamic code is free if you want an editable destination after print.
Which UTM setup makes QR reports usable?#

A usable QR setup uses one medium for all codes and one source per placement. utm_medium=qr is the cleanest choice, because it gives you one easy filter inside GA4.
Most bad QR reporting starts with inconsistent tags. One flyer might use QR, another qr-code, another print, and GA4 treats those as different values. That means three rows in your report for the same kind of traffic.
Use a naming rule like this:
- Source: the physical placement, such as
poster,mailer,shelf-talker,business-card - Medium: always
qr - Campaign: the offer, event, season, or promotion, such as
fall-open-house - Content (optional): version details, such as
front-deskorblue-design
utm_content is handy when two codes live in the same campaign but differ by version. For example, two table cards in the same restaurant campaign can share source and campaign, then use utm_content=a and utm_content=b.
If you are replacing codes often, a dynamic code is easier to live with than a static one. A static code bakes the full tagged URL into the square. A dynamic one lets you change the destination later and still keep the printed piece alive. If you want the fuller tradeoff, read what dynamic QR codes do.
Where do QR visits show up in GA4?#

QR visits show up in GA4 anywhere campaign tagged traffic shows up. Start with Traffic acquisition, then filter Session medium to qr or search for your campaign name.
Three GA4 places are usually enough:
- Realtime for testing right after you scan. This is the fastest way to catch a broken tag.
- Traffic acquisition for sessions, engaged sessions, and conversions by source, medium, or campaign.
- Explore for custom views, like comparing QR visits from posters versus packaging across a month.
If your business already uses conversions in GA4, QR traffic can fit right in. You can compare QR visitors against email, paid social, or organic search using the same reports your team already trusts.
A clean way to read performance is to ask three plain questions:
- Which placement brought the most sessions?
- Which campaign led to the most conversions?
- Which QR source had the best engagement rate?
That is enough to tell whether the code on the counter beat the one on the flyer. You do not need a special dashboard to start.
If you want more than GA4 gives you, such as scan time, device, geography, referrer, and CSV export, dynamic code analytics help fill the gap between the physical scan and the site visit. We break that out in Dynamic QR code analytics: what scans can tell you.
What Google Analytics cannot tell you on its own#
Google Analytics can tell you that someone reached your site through the tagged link. Google Analytics cannot confirm the exact moment the camera scanned the printed square before the page opened.
That gap matters if you care about scan behavior, not just website visits. A person can scan a code, see the preview, then decide not to open the page. GA4 will not count that as a session because the site never loaded.
That is why many marketers use both layers:
- GA4 for site sessions, engagement, and conversions
- QR analytics for scan level detail from the code itself
If your printed code might move to a new landing page later, or you want scan analytics beyond website visits, a dynamic code is the safer setup. QRFLOW.codes can track scans on the code side and still send people to your UTM tagged page for GA4, so the two sets of data support each other instead of competing.
For a broader setup guide, How to set up Google Analytics QR code tracking goes deeper into GA4 fields and naming choices. If your main job is proving print ROI, How to track QR code scans effectively covers what to compare after the campaign launches.
Effective QR code campaigns#
Consider the design and color of the QR code itself. While standard black and white codes are functional, incorporating brand colors or a logo can make the code more visually appealing and aligned with your brand identity. Ensure the code remains scannable by maintaining a high contrast between the code and the background.
Lastly, test the QR code in various lighting conditions and with different devices to ensure it works smoothly for all users. This attention to detail can significantly impact the success of your QR code campaign.
Optimizing landing pages for QR traffic#
Once users scan your QR code, they should land on a page that is optimized for mobile devices, as most scans occur on smartphones. Ensure the landing page loads quickly and is easy to navigate on a small screen.
The content on the landing page should be directly related to the promise made by the QR code. If the code offers a discount, the landing page should prominently display the discount details and how to redeem it. Use a clear call to action to guide users toward the desired outcome, whether it's making a purchase, signing up for a newsletter, or downloading an app.
Additionally, consider using A/B testing to determine which landing page elements drive the most conversions.
Integrating QR codes with offline marketing#
QR codes can bridge the gap between offline and online marketing efforts. For instance, include QR codes on print advertisements, product packaging, and in-store displays to provide a smooth transition from offline to online experiences.
When incorporating QR codes into printed materials, ensure they are prominently placed and accompanied by a brief explanation of what users can expect by scanning them. This can increase the likelihood of engagement and drive traffic to your digital platforms.
Moreover, track the performance of these offline integrations by analyzing the data collected in Google Analytics. This information can help you understand which offline channels are most effective at driving online traffic, allowing you to allocate resources more efficiently.
Track QR codes in Google Analytics#
How do I create a UTM tagged URL for a QR code?#
To create a UTM tagged URL, start with your landing page URL and add UTM parameters like utm_source, utm_medium, and utm_campaign. This helps identify the source, medium, and campaign in Google Analytics. Use consistent naming for easy tracking.
Can I track QR code scans in real-time with Google Analytics?#
Yes, you can track QR code scans in real-time using Google Analytics. After setting up your UTM tagged URL and generating the QR code, scan it yourself and check the Realtime section in GA4 to see if the visit appears.
Why is it important to use consistent UTM parameters?#
Consistent UTM parameters ensure that your data is clean and easy to analyze. Inconsistent tags can lead to fragmented data, making it hard to compare results. Use a standard naming convention for source, medium, and campaign to keep your reports organized.
What are the benefits of using dynamic QR codes?#
Dynamic QR codes allow you to change the destination URL without reprinting the code. This flexibility is useful if you need to update the landing page after the code is printed. Dynamic codes also offer scan analytics, providing more insights beyond website visits.
If you are ready to make the code, QRFLOW.codes gives you a clean way to turn your tagged link into a printable QR code, and pricing shows what changes if you want every code to be dynamic and fully tracked later.
