Practical guidesWeb & marketing

Track QR code scans with UTM parameters.

Measure visits from a printed QR code without a paid dynamic QR service: tag the link with UTM parameters, make a static code and find the visits in GA4.

Open the UTM builder

How tracking works with a static code

A static QR code cannot count scans, because nothing sits between the code and your page. You can still measure the visits it brings by putting a UTM-tagged link in the code. When someone scans it, your analytics records the visit with the source, medium and campaign you chose.

This counts visits that load your page with analytics allowed, not raw scans. A person who scans but closes the page before it loads, or declines analytics cookies, may not be counted. For most posters, menus and flyers that is an acceptable trade for a code that never expires.

Tag the link

Open the UTM builder and paste your destination. Choose values that describe the printed item: for example source table-card, medium qr and campaign spring-menu. If the same campaign also runs online, keep the campaign name the same so you can compare print with other channels.

If you place the code in more than one spot, give each a content value, such as window and counter. Each placement needs its own code.

Example input

Destination URL: https://example.com/menu
Source: table-card
Medium: qr
Campaign: spring-menu
Content: window

Example result

https://example.com/menu?utm_source=table-card&utm_medium=qr&utm_campaign=spring-menu&utm_content=window

Turn it into a QR code

Choose Create QR code. The QR code generator opens with the tagged link already filled in and generates the code. Download an SVG for print or a PNG for screens, and scan the downloaded file with a phone to check it opens the tagged address.

For the second placement, go back, change Content to counter, and create another code. Label the files so they do not get mixed up.

Example result

https://example.com/menu?utm_source=table-card&utm_medium=qr&utm_campaign=spring-menu&utm_content=counter

Find the scans in your analytics

In Google Analytics 4, visits from the code appear under Session source / medium as table-card / qr in the Traffic acquisition report, and under Session campaign as spring-menu. To compare the window and counter codes, use an exploration with Session manual ad content as a dimension. The GA4 guide explains where each report is.

A medium of qr is clear in source / medium reports, but GA4's channel rules do not recognise it, so these visits show as Unassigned in channel reports. If you prefer them in an existing channel, agree a different medium in your naming convention.

Keep the code short and test it

Every character in the link adds to the code's density. Short values such as qr and window keep the pattern simpler and easier to scan from a distance. Because static codes cannot be edited, check the tags and the page before you print a large run.

Common questions

Do I need a dynamic QR code to track scans? No. A tagged link in a static code measures visits in your own analytics, without a subscription.

Can I change the tags after printing? No. The tagged address is part of the printed code.

Does Toolpane see my scans? No. Scans go straight to your site.

Open the UTM builder