How to Measure QR Code Engagement with Google Tag Manager
Sally Wright
Jun 11, 2026
QR codes have become a powerful bridge between the offline and online worlds. From posters and product packaging to restaurant menus and direct mail, these scannable squares make it effortless for customers to connect with your brand in just one tap.
But here’s the real question: How do you know if your QR codes are actually working?
Tracking QR code engagement can tell you which campaigns, materials, or locations are performing best and helping you spend smarter and market better. In this guide, we’ll show you exactly how to measure QR Code engagement using Google Tag Manager (GTM) and Google Analytics 4 (GA4).
Why You Should Track QR Code Engagement
If you’re using QR codes in your marketing, you need data, not just guesses. Measuring engagement helps you:
- See what’s working: Identify which print ads, flyers, or in-store materials drive the most scans.
- Understand user behavior: Know where, when, and how people interact with your QR codes.
- Optimize campaigns: Use insights to refine your targeting, messaging, and placement.
- Prove ROI: Show clear data on how offline campaigns contribute to online results.
Metrics You Can Track
When integrated properly, you can measure:
- Total and unique QR code scans
- Traffic sources (location, device, and campaign)
- Time spent on site after scanning
- Conversions or actions taken post-scan
What You’ll Need Before You Start
Before diving in, make sure you have:
- A Google Tag Manager account
- A Google Analytics (GA4) property connected to your website
- A QR code generator that supports custom URLs like QR Codes Unlimited
Pro Tip: Always use UTM parameters when creating your QR code link. This helps Google Analytics recognize traffic that came specifically from your QR campaign.
Example:
https://yourwebsite.com/landing-page?utm_source=flyer&utm_medium=qr&utm_campaign=summer_sale
Step-by-Step: Tracking QR Code Scans with Google Tag Manager
Step 1: Create a Trackable URL
Use UTM parameters to label your link:
- utm_source = flyer, poster, menu, etc.
- utm_medium = qr
- utm_campaign = campaign name (e.g., summer_sale)
Your final link might look like this:
https://yourwebsite.com/?utm_source=poster&utm_medium=qr&utm_campaign=holiday_offer
Step 2: Generate Your QR Code
Head over to QR Codes Unlimited, paste your UTM-tagged link, and create your QR code.
Use dynamic QR codes if you want the flexibility to edit or update the destination later — no reprinting required.
Step 3: Install Google Tag Manager
If you haven’t already, install your GTM container snippet on every page of your website. You can verify it’s working using Tag Assistant or GTM Preview mode.
Step 4: Set Up a Tag to Track QR Traffic
Now, let’s tell GTM what to track.
- In GTM, go to Tags → New → GA4 Event Tag
- Configure your tag:
- Event name: qr_code_scan
- Parameters: utm_source, utm_medium, utm_campaign
- Create a trigger:
- Type: Page View
- Condition: Page URL contains “utm_medium=qr”
This setup ensures the tag fires whenever a user lands on your site through a QR code scan.
Step 5: Test Your Setup
Before publishing, use Preview Mode in GTM:
- Scan your QR code with your phone.
- Ensure your tag fires correctly when your page loads.
If everything looks good, you’re ready to go live!
Step 6: Publish and Monitor
Click Submit → Publish in GTM.
Head to Google Analytics after a few hours to confirm your data is coming in.
In GA4, navigate to:
Reports → Engagement → Events → qr_code_scan
You can also explore:
- Which campaigns generate the most scans
- Which devices users are scanning from
- How many scans turn into conversions
Conclusion
Tracking QR Code engagement doesn’t have to be complicated. With Google Tag Manager, Google Analytics, and QR Codes Unlimited, you can easily connect your offline marketing to your online data and finally see what’s working.
Start using data to guide your next campaign. Create a trackable QR code today with QR Codes Unlimited and unlock the insights behind every scan.