Free QR Code with UTM Generator

Make offline campaigns measurable. Add UTM parameters to your link and download a high-resolution QR code PNG for flyers, packaging, posters and events.

100% freeNo sign-upPNG downloadNo expiry
The page people should land on. Existing query parameters and #fragments are kept.

Why add UTM parameters to a QR code?

When someone scans a plain QR code, the visit usually arrives with no referrer. Google Analytics 4 records it as Direct traffic, so your flyer, menu card or trade-show banner looks like it produced nothing. Adding UTM parameters to the encoded URL fixes this: each scan arrives labelled with the source, medium and campaign you chose.

With separate utm_content values you can even compare placements – the poster by the entrance versus the card on the counter – using the same landing page.

How to create a trackable QR code

  1. Enter the landing page URL.
  2. Fill in source (for example flyer, poster, packaging), medium and campaign.
  3. Use utm_content to identify the placement or print version.
  4. Choose the size and error-correction level, then click Create QR code.
  5. Download the PNG and test it with at least two phones before sending anything to print.

The code is generated in your browser with the open-source QRious library. It is a static QR code: the URL is stored in the pattern itself, so it never expires and does not depend on a redirect service.

Which utm_medium should a QR code use?

GA4 has no default channel for QR codes. If you use utm_medium=qr or print, sessions appear in the Unassigned channel – the UTM checker warns you about this. You have two sensible options:

  • Keep a descriptive medium such as qr and create a custom channel group in GA4 Admin with a rule “Session medium exactly matches qr → Offline QR”. This keeps QR traffic clearly separated.
  • Use the medium of the destination channel – for example referral – if you prefer default reports without configuration. You lose some clarity, because QR traffic mixes with real referrals.

Whichever you choose, write it into your UTM naming convention so every printed piece is tagged the same way.

Size and error correction

QR codes contain redundant data so they still scan when partly damaged or covered. Level L restores about 7% of the code, M about 15%, Q about 25% and H about 30%. Higher levels make the pattern denser. For most print work, M is a good balance; use Q or H for packaging that may get scratched or if you plan to place a small logo in the centre.

Long URLs also make the pattern denser. If your tagged URL is very long, shorten the campaign values or use the campaign URL shortener – but remember a short link depends on that service staying online, while a direct URL does not. As a rough guide, keep the printed code at least 2 cm (0.8 in) wide for close scanning and larger for posters viewed from a distance, and leave a white quiet zone around it.

Example

URL: https://example.com/menu · source flyer · medium qr · campaign store_opening_2026 · content counter_card

Encoded: https://example.com/menu?utm_source=flyer&utm_medium=qr&utm_campaign=store_opening_2026&utm_content=counter_card

In GA4, open Traffic acquisition, switch the dimension to Session campaign and filter for store_opening_2026 to see scans, engagement and key events from this placement.

Limitations

A QR code cannot count scans by itself; it counts visits that load your page with the Google tag. Scans from people who close the page before it loads, or who block analytics, are not recorded. Some camera apps preview the URL first, so a small number of scans may never reach your site.

Frequently asked questions

Do these QR codes expire?

No. They are static codes with the URL inside the pattern, so they keep working as long as your page exists.

Will scans show in Google Analytics 4?

Yes, as long as your landing page has the Google tag. The UTM values appear in the Traffic acquisition report.

What size should my QR code be?

Use 512 px for flyers and 1024 px for posters, keep a white margin, and test print a sample before a large run.

Can I change the URL after printing?

Not with a static code. If you may need to change the destination later, point the code to a page you control and update that page or its redirect.

Sources and further reading

Formulas and rules on this page were checked against the sources above. Last reviewed: October 2026 by the AM Digital Marketing Agency team.

Related free tools

Need help with tracking and analytics?

We can set up GA4, Google Tag Manager, UTM governance and reporting for your business.

View Services