Nhà > Blog > Cách thêm Thông số UTM vào Mã QR để theo dõi
Marketer scanning campaign poster

Cách thêm Thông số UTM vào Mã QR để theo dõi

Learn how to add UTM parameters to QR codes to track offline marketing campaigns in Google Analytics 4 and accurately measure scan performance and ROI.
Updated on Tháng 9 29, 2026
Mục lục

Are your offline marketing campaigns disappearing into generic direct traffic in Google Analytics? Without campaign tags, smartphone scans cannot pass referral headers, making it impossible to measure physical promotion performance. Adding UTM parameters to your destination URLs solves this issue by attributing every scan to its exact campaign, medium, and source.

Why QR Codes Require UTM Parameters

When someone scans a printed QR code with a smartphone camera, the operating system launches the default mobile browser directly. Because this interaction does not originate from a hyperlinked web page, the browser does not pass an HTTP referrer header. Web analytics platforms like Google Analytics 4 (GA4) cannot identify where the visitor originated, so they automatically categorize the session as Direct traffic.

This reporting gap makes it difficult to evaluate marketing spend across print ads, event signage, product packaging, and direct mail. Urchin Tracking Module (UTM) parameters solve this by attaching campaign tracking tags to the end of your web address.

When the destination page loads, GA4 extracts these tags and assigns the session to the designated channel. Using UTM parameters allows you to accurately track offline marketing ROI with QR codes across individual print materials and distribution channels.

Selecting the Correct UTM Tags for Offline Campaigns

Consistent naming conventions are critical for clean reporting. Google Analytics is case-sensitive, meaning that `Flyer`, `flyer`, and `Flyers` appear as three separate entries in your reports. Standardizing your tagging structure prevents fragmented data and simplifies your campaign analysis.

Google strongly recommends setting `utmsource`, `utmmedium`, and `utm_campaign` at a minimum to avoid `(not set)` values in your traffic acquisition reports.

Tham số Mục đích Recommended Convention Example Value
`utm_source` Identifies the specific placement, venue, or physical asset Placement name or material type `storewindow`, `mailerq3`
`utm_medium` Identifies the marketing vehicle or delivery mechanism Standardized channel tag `qr` or `qr_code`
`utm_campaign` Identifies the broader marketing initiative or product launch Overall campaign title `springlaunch2026`
`utm_content` Differentiates creative variants, sizes, or calls to action Creative or layout identifier `sidebarbanner`, `frontcover`
`utm_term` Tracks specific audience segments or paid keywords Keyword or audience identifier `retargeting_event`

To maintain data integrity across all offline assets, follow these best practices:

  • Always write parameter values in lowercase letters to prevent split channel groupings.
  • Replace spaces with hyphens or underscores, as spaces create encoded characters that complicate reporting.
  • Standardize your medium tag across the entire organization so all scans roll up into a single channel.
  • Maintain a central tracking spreadsheet or URL documentation log to avoid duplicate parameter values across team members.

How to Build and Convert Your Trackable QR Link

Building a trackable URL follows a strict technical syntax. The parameters sit at the end of the base URL, separated from the path by a question mark (`?`). Each parameter connects to its value with an equals sign (`=`), and multiple parameters connect with an ampersand (`&`).

A properly structured campaign URL appears in this format:

`https://example.com/promo?utmsource=downtownbillboard&utmmedium=qr&utmcampaign=summersale&utmcontent=blue_creative`

You can assemble this link manually or use Google’s Campaign URL Builder to generate the string. Once your URL is ready, follow these steps to turn it into a production-ready marketing asset:

UTM QR tracking workflow
  • Enter your complete UTM-tagged URL into a reliable trình tạo mã QR liên kết to encode the destination.
  • Ensure the base webpage is mobile-responsive and functions properly on small screens before finalizing the graphic.
  • Follow established technical guidelines to chuyển đổi liên kết thành mã QR graphics that maintain sufficient size and contrast for rapid mobile scanning.
  • Open the generated URL on a mobile device to verify that your analytics platform captures the session in real-time.
  • Check the GA4 Realtime report or DebugView to confirm that `source`, `medium`, and `campaign` parameters populate as expected before sending materials to print.

Why Dynamic QR Codes Are Essential for Analytics

While static codes can technically encode UTM parameters, they introduce severe physical limitations for print marketing. A static QR code stores the entire text string directly within its black-and-white module pattern. Because UTM parameters add significant length to web addresses, the resulting static code becomes extremely dense.

Phân tích QR động

A high-density static pattern contains thousands of tiny blocks that require high visual clarity to scan. If you print a complex static code on small assets like business cards, or if the code appears in low-light environments, smartphone cameras frequently fail to decode it.

Comparing mã QR tĩnh và động reveals why dynamic technology is the industry standard for tracked campaigns:

  • Preserved Scannability: Dynamic QR codes encode a short redirect link rather than your full, tag-heavy URL. This keeps the visual pattern clean and easily readable at any print size.
  • Post-Print Editing: If you spot a typo in a UTM parameter or need to change the destination landing page after printing thousands of flyers, dynamic codes allow you to edit the target URL instantly from your dashboard.
  • Dual-Layer Analytics: Combining dynamic redirection with UTM tags allows you to measure both top-of-funnel scan metrics and deeper on-site web conversions.

Theo dõi chiến dịch của bạn trong thời gian thực Bạn muốn biết chính xác khách hàng của mình đang quét tài liệu của bạn ở đâu và khi nào? Hãy sử dụng Trình tạo mã QR động của chúng tôi để tạo mã có thể theo dõi và truy cập bảng điều khiển hiệu suất đầy đủ ngay hôm nay.

Using dynamic routing also provides environmental insights that Google Analytics cannot capture on its own, illustrating cách mã QR theo dõi mức độ tương tác của quảng cáo in at the physical point of contact.

Viewing QR Scan Data in Google Analytics 4

Once your physical assets are distributed and users begin scanning, GA4 captures the embedded UTM parameters to populate manual campaign and traffic-source dimensions.

To review incoming scan traffic in the standard acquisition reports:

  • Navigate to Reports in the left sidebar, expand the Acquisition folder, and select Traffic acquisition.
  • Locate the primary dimension dropdown menu above the data table and switch it to Session source / medium.
  • Type `qr` or `qr_code` into the table search bar to filter the view exclusively to your offline scan traffic.
  • Add a secondary dimension by clicking the plus icon (`+`) next to the search bar and selecting Session campaign to see performance by individual initiative.

To view manual campaign dimensions in a consolidated report:

  • Navigate to Reports, expand Acquisition, and select Overview.
  • Scroll down to the Sessions by Session manual source card and click View manual campaigns.
  • Review campaign volume, engagement rates, average session duration, and goal completions tied directly to your offline collateral.

Combining web analytics with specialized software for theo dõi mã QR gives you a complete view of campaign performance. While GA4 records post-scan behavior like pageviews, time on site, and e-commerce purchases, your QR dashboard captures raw scan counts, device operating systems, and scan timestamps directly at the physical touchpoint.

Connecting Scan Data to Campaign Conversions

Tracking scan volume shows customer curiosity, but measuring campaign return on investment requires connecting top-of-funnel scans to concrete bottom-of-funnel actions. When you configure key events in GA4 – such as lead form submissions, account registrations, or completed checkouts – the platform attributes those digital conversions back to your original offline UTM tags.

By pairing structured UTM tagging with dynamic QR code technology, you transform static print assets into measurable digital acquisition channels. Establishing clear naming standards, validating URLs before printing, and monitoring traffic through GA4 reports ensures every dollar invested in physical marketing is fully accountable.

Các câu hỏi thường gặp

Will long UTM parameters make my QR code hard to scan?

Long URLs create dense patterns when encoded into static QR codes, which can cause scanning delays or failures on smaller print items. Using a dynamic QR code solves this by storing a short redirect link in the code matrix, keeping the pattern clean and scannable while routing visitors through your complete UTM URL.

Why does QR code traffic appear as Unassigned or Direct in GA4?

Scans appear as Direct when the destination URL lacks UTM parameters, because mobile camera apps do not pass referral headers to web browsers. Traffic appears as Unassigned if you use non-standard medium values that do not match default channel grouping rules in GA4, which you can resolve by using a consistent medium such as `qr` or `qr_code`.

Can I change the UTM parameters after printing my QR code?

You can only change UTM parameters after printing if you use a dynamic QR code. Dynamic codes point to a backend redirect that you can edit anytime in your dashboard, whereas static QR codes hardcode the URL permanently into the visual pattern and require a full reprint to update.

Giới thiệu về tác giả

Siim Kostabi là Trưởng nhóm Nội dung tại Pageloot. Anh ấy viết về dịch vụ tạo mã QR tiên tiến của chúng tôi. Với kinh nghiệm sâu rộng hơn nửa thập kỷ về mã QR, Siim là một chuyên gia trong lĩnh vực này. Anh ấy đã có những đóng góp đáng kể trong việc tận dụng công nghệ QR để đơn giản hóa và nâng cao tương tác kỹ thuật số.

Danh mục
Học nhiều hơn về

Nếu bạn cần tạo Mã QR trực tuyến, bạn có thể Tạo mã QR ngay tại đây miễn phí!
Pageloot là Giải pháp Đi tới #1 để tạo và quét Mã QR.

BL-0145

blog-gen

Được hơn 20.000 thương hiệu tin dùng để có thêm doanh số, đánh giá và người theo dõi.

Logo khách hàng
Được tin cậy bởi các thương hiệu hàng đầu
Được đánh giá 4.8 trên 5

Đánh giá 4.86 / 5 sao

Hugo Laurent
Hugo Laurent
★★★★★
Chủ nhà hàng
Trình tạo mã QR dễ dàng và đáng tin cậy nhất từ trước đến nay. Các tệp PDF có thể được tải lên ngay lập tức. Thực đơn nhà hàng của chúng tôi bây giờ là kỹ thuật số.
Lucas Jansen
Lucas Jansen
★★★★★
Nhà phát triển bất động sản
Đây là một công cụ tuyệt vời và mã QR sẽ đưa bạn đến nơi bạn muốn. Chúng tôi chỉ sử dụng mã QR vị trí nhưng có rất nhiều tính năng hữu ích.
Emma Moretti
Emma Moretti
★★★★★
Sản phẩm bán lẻ
Dễ dàng sử dụng và nhanh chóng. Nó hoạt động tuyệt vời và tạo ra một hình ảnh hoàn hảo, vì vậy nhân viên có thể tải xuống vCard của tôi.
Hugo Laurent
Hugo Laurent
★★★★★
Chủ nhà hàng
Trình tạo mã QR dễ dàng và đáng tin cậy nhất từ trước đến nay. Các tệp PDF có thể được tải lên ngay lập tức. Thực đơn nhà hàng của chúng tôi bây giờ là kỹ thuật số.
Lucas Jansen
Lucas Jansen
★★★★★
Nhà phát triển bất động sản
Đây là một công cụ tuyệt vời và mã QR sẽ đưa bạn đến nơi bạn muốn. Chúng tôi chỉ sử dụng mã QR vị trí nhưng có rất nhiều tính năng hữu ích.
Emma Moretti
Emma Moretti
★★★★★
Sản phẩm bán lẻ
Dễ dàng sử dụng và nhanh chóng. Nó hoạt động tuyệt vời và tạo ra một hình ảnh hoàn hảo, vì vậy nhân viên có thể tải xuống vCard của tôi.
Xem thêm mã QR
Quét mã QR trang web
Mã QR đang bật Trang web
Biến mọi thứ thành trải nghiệm kỹ thuật số trong vòng chưa đầy 3 phút.

Dùng thử miễn phí 14 ngày.

Không cần thẻ tín dụng.

Giảm giá 30% cho lần mua hàng đầu tiên của bạn

Sử dụng mã:

Chia sẻ tệp MP3 của bạn

Đăng ký tạo mã QR PDF

Tải lên và hiển thị mọi thứ bạn cần:

  • Tập tin âm thanh
  • Podcast
  • Âm nhạc

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

đăng ký để tạo mã QR âm thanh mp3

Nhận thêm lượt quét với khung

Đăng ký để thêm nhiều khung hơn vào mã QR của bạn

Khung kêu gọi hành động giúp khách hàng của bạn tương tác với QR Code một cách dễ dàng. Thử chúng ra!

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để thêm nhiều khung hơn vào mã QR của bạn

Thêm phong cách với hình dạng

Đăng ký để tạo nhiều hình hơn

Mã QR không nhất thiết phải là hình vuông. Hãy thử thay đổi nó để phù hợp với hình ảnh thương hiệu của bạn.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để tạo nhiều hình hơn

Thêm logo vào Mã QR của bạn

Đăng ký để thêm logo của bạn vào mã QR

Làm cho mã QR của bạn nổi bật bằng cách thêm logo và thương hiệu của bạn vào đó.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để thêm logo của bạn vào mã QR

Chuyển hướng thông minh đến App Store

Đăng ký tạo mã QR cửa hàng ứng dụng

Thêm liên kết Ứng dụng của bạn vào Mã QR App Store thông minh của chúng tôi. Người dùng được chuyển hướng dựa trên thiết bị của họ.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR cửa hàng ứng dụng

Tải ảnh lên Mã QR

Đăng ký tạo mã QR hình ảnh

Chia sẻ hình ảnh của bạn một cách dễ dàng. Thay đổi bất kỳ hình ảnh nào một cách linh hoạt trong vòng vài giây.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR hình ảnh

Chia sẻ tệp PDF của bạn

Đăng ký tạo mã QR PDF

Tải lên và hiển thị mọi thứ bạn cần:

  • Thực đơn & bảng giá
  • Hướng dẫn
  • Mọi tài liệu

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR PDF

Chỉnh sửa sau mà không cần in lại

Đăng ký để chỉnh sửa mã QR của bạn mà không cần in lại

Mã QR động cho phép bạn thay đổi nội dung của Mã QR mà không cần phải in mã mới.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để chỉnh sửa mã QR của bạn mà không cần in lại

Khi nào? Ở đâu? Theo dõi lượt quét Mã QR của bạn

Đăng ký để theo dõi mã QR của bạn

Khám phá những Mã QR nào của bạn nhận được nhiều lần quét nhất và điều gì khiến khách hàng của bạn phấn khích nhất.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để theo dõi mã QR của bạn

Tệp sẵn sàng để in có sẵn

Đăng ký tạo mã QR vector như PDF và SVG

.EPS, .PDF, .SVG

Bạn muốn tải xuống Mã QR của mình ở độ phân giải HD? Nhận các định dạng vector hoặc pixel đã sẵn sàng để in.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR vector như PDF và SVG

Vui lòng chờ. Mã QR của bạn là Đang tải... Đang tải...

Tùy chỉnh theo ý bạn

Đăng ký để lưu mã QR của bạn cho lần sau

Nhận được nhiều lượt quét hơn bằng cách tạo Mã QR tuyệt vời với các màu sắc, biểu trưng và khung kêu gọi hành động khác nhau.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để lưu mã QR của bạn cho lần sau