A scan of an ordinary QR code looks like direct traffic in Google Analytics, so you cannot tell the poster from the menu from the business card. Add UTM parameters to the link first and each placement shows up as a named campaign. Build the link below, check it against the rules GA4 expects, and download the code.
Why QR codes need UTM tags
When someone scans a code, their phone opens the page in a browser with no referring website. Analytics cannot tell where the visit started, so it lands in the direct or unassigned bucket together with typed addresses and bookmarks. If you print three codes, say on a window poster, a table tent and a flyer, they all look the same. UTM tags fix this by putting the answer in the link itself.
Enter the page the code should open in the first box.
Fill in source, medium and campaign. The quick-fill buttons set sensible values for common placements.
Read the warnings under the preview and fix anything flagged.
Download the PNG or SVG and test the printed proof before you print a batch.
Build your UTM QR code
Free · no sign-up · no watermark
Quick fill:
Higher error correction keeps the code readable if it gets scratched or dirty, but makes it denser.
Your QR code appears here as you type.
Show what the code containsNothing yet. Fill in the form to create a code.
Made in your browser. What you type is not uploaded or stored.
How to name source, medium and campaign
A tidy naming scheme matters more than the tool you use to build links. Here is a pattern that works for most small businesses:
Keep the same source for every printed code so you can compare mediums against each other. Change the campaign when the offer changes, and use content when the same campaign appears in several spots. For example, a cafe could use qr / table-tent / lunch-menu and qr / window-poster / lunch-menu and then see in one report which placement draws more visits.
Reading the results in GA4
In Google Analytics 4 go to Reports, Acquisition, Traffic acquisition. Use the dropdown above the first column to switch the dimension to Session campaign, or to Session source / medium, and your QR rows appear next to every other channel. Add a secondary dimension if you want to see content values too. To confirm that a new code works, scan it yourself with the Realtime report open: the visit appears under your campaign within a minute or two.
Mistakes that break UTM reports
Capital letters and spaces.Flyer and flyer are different rows; a space becomes a plus sign or %20 in the report.
UTM tags on links inside your own website. They restart the session and overwrite the real source. Use them only on links that bring people in from outside, which is exactly what a QR code does.
Personal data in a tag. The link is visible to anyone who scans it, so never put names, emails or order numbers into UTM values.
Re-using one code everywhere. If every placement shares one link, the data cannot separate them. Make one code per placement.
Redirects that drop the tags. Some site setups strip query strings when they redirect. Scan a test code and check the campaign appears.
When a dynamic code is the better choice
A tagged link is permanent: printed once, it cannot be corrected. If a tag is wrong or the page moves, the printed code is wrong until you reprint. A dynamic QR code keeps a short link in the pattern and can redirect to any address, and in QRCodable you can add UTM source, medium and campaign to the code settings so they are appended at redirect time. You also get scan counts by device, country and day, which Analytics cannot see for visitors who decline cookies. Start with the free QR code generator for a one-off static code, and use the size calculator to print the tagged code at a safe size.
Frequently asked questions
What is a UTM QR code?
It is a normal QR code whose link carries UTM parameters, short tags added to the end of a web address such as ?utm_source=qr&utm_medium=flyer&utm_campaign=spring-offer. When someone scans the code and the page loads, Google Analytics reads the tags and records the visit under that source, medium and campaign instead of lumping it into direct traffic.
Which UTM parameters do I need for GA4?
Use utm_source, utm_medium and utm_campaign every time: source is where the traffic comes from (for example qr), medium is the type of placement (flyer, poster, menu, business-card) and campaign is the promotion or purpose (spring-offer). utm_content and utm_term are optional and help tell apart two codes in one campaign, such as window-poster and door-sticker.
Where do I see UTM QR code scans in Google Analytics 4?
Open Reports, then Acquisition, then Traffic acquisition, and change the first column's dimension to Session campaign to see your campaign names. Session source / medium shows the combination, such as qr / flyer. Realtime shows a test visit within minutes, while standard reports can take up to a day to settle.
Should UTM values be lowercase?
Yes, as a habit. Analytics tools treat values as case-sensitive, so Flyer, flyer and FLYER appear as three different rows. Pick one style, lowercase with hyphens or underscores and no spaces, and keep a short naming list that everyone who makes codes follows. The generator warns you when a value has capitals, spaces or special characters.
Do UTM parameters make a QR code harder to scan?
They make the link longer, and a longer link means a denser pattern with smaller dots. A link with three parameters can easily reach 100 to 140 characters, which is version 6 or 7. Print it a little larger, or use a dynamic QR code that encodes a short link and adds the parameters at redirect time.