--- title: "QR code analytics: Connect scans with GA4, UTM, and CRM" description: "Find out which flyers, posters, or packaging generate leads: UTM parameters for QR codes, GA4 reports, CRM lead sources, and checks before printing." url: "https://fbfast.io/blog/integration-of-qr-codes-with-crm-google-analytics-and-utm-marks" language: "en" --- # QR code analytics: How to connect scans with leads using UTM, GA4, and CRM Imagine a typical store promotion: a poster with a QR code at the entrance and a flyer the cashier puts in the bag with each purchase. Both lead to a page with a form for a personalized offer. People scan the codes, visit the website, and submit inquiries that appear in your CRM. A month later, the team sits down to review the results and discovers it has no way to answer the most important question. Which worked better: the poster or the flyer? And is either worth printing again? The scan count only answers part of that question. It shows that people noticed the code, but not what happened next: Did someone submit an inquiry, become a customer, or close the page after a few seconds? To see the full journey from a scan to a lead in your CRM, you need to agree on three things before printing: which UTM parameters the links will contain, which website actions your web analytics will track, and how each inquiry's source will reach your CRM. In this article, we will follow that journey using the same poster-and-flyer promotion: how to label your print materials, prepare the campaign, find the results in Google Analytics 4, save each lead's source in your CRM, handle codes that lead somewhere other than your website, and compare your materials fairly. ## Three data sources: What each one shows Different systems track the journey from a scan to a sale, and each sees only its own part. Reports usually become confusing when you expect one system to answer questions that only another can address. | Stage | Where to find the data | What it shows | |---|---|---| | Code scans | Scan analytics in the dashboard (dynamic codes only) | How often and when the code was opened, approximate locations, devices, operating systems, browsers, and browser languages | | Website actions | Google Analytics 4 or another web analytics tool | Sessions with a source and campaign, pages viewed, forms submitted, and purchases | | Inquiries and sales | A CRM or another inquiry management system | Contact details, lead source, deal stage, and revenue | FbFast scan analytics records when someone opens a dynamic code's short link: it tracks the visit, not simply pointing a camera at the code. It shows what happened before the website opened, but cannot see what the person did afterward. We do not offer a direct CRM integration. The connection between a scan and an inquiry is built through UTM parameters in the link and a form on your website. For a breakdown of the available scan metrics and how to interpret them, see the [QR code analytics](https://fbfast.io/feature/analytics) page. Here is how it works in our example. A customer takes out the flyer at home and scans the code. A scan appears in the code's statistics with the date, time, city, and smartphone. The promotion page opens with UTM parameters in the address, and GA4 records a session with the source “flyer” and campaign “spring promotion.” The person fills out the form, and hidden fields send the same parameters to your CRM. The sales rep now sees the specific print material and campaign in the lead record, rather than just “website inquiry.” The numbers in these systems almost never match, and that is normal. One person may open the code several times. Others close the page before analytics loads, decline analytics cookies, or return later without scanning again. There is no universal rule for which count will be higher: scans or sessions. Instead of comparing systems, compare your print materials within the same system: which code was scanned more often, and which material generated more inquiries. ## UTM parameters for QR codes: How to build the link UTM parameters are values at the end of a URL that tell web analytics where a visitor came from. A plain link in a QR code says nothing about its origin. Without parameters, these visits usually end up as direct traffic, mixed in with visits from people who simply typed your website address. The following scheme works well for QR code campaigns: - `utm_medium=qr` — the way the visitor arrived. Using the same value for all QR codes lets you filter all QR code traffic with a single value. - `utm_source` — the material: `flyer`, `poster`, `packaging`, `receipt`, `badge`. - `utm_campaign` — the campaign: `spring_sale`, `expo_autumn`. - `utm_content` — the specific placement or design variation: `store_kyiv_1`, `entrance`, `checkout`, `layout_b`. For our promotion, the link on the flyer handed out at checkout in the first Kyiv store would look like this: `https://example.com/promo?utm_source=flyer&utm_medium=qr&utm_campaign=spring_sale&utm_content=store_kyiv_1` The poster at the entrance leads to the same `/promo` page, but with `utm_source=poster` and `utm_content=entrance`. People see the same offer, while your reports show two separate sources. One caveat about GA4: `qr` is not covered by the default channel grouping rules. You will not see a separate “QR” channel in channel reports; this traffic usually appears under “Unassigned.” That is not an error. Look for QR code traffic by the “Session source / medium” dimension rather than in the channel report. There you will see `flyer / qr` and `poster / qr`. If you want QR to appear as its own channel, you can create a custom channel group in GA4. Using `utm_medium=qr` is a convention for consistent reporting, not the only option. What matters is following it across all campaigns. Inconsistent names cause more reporting problems than missing parameters. GA4 treats `poster`, `Poster`, and `POSTER` as three different values, splitting the report into pieces you will have to combine manually. Agree on the rules before launch: use only lowercase Latin characters, no spaces, and the same separator throughout (`_` or `-`). A shared spreadsheet is useful for recording the material, placement, full link, and print date. It will also help months later when you need to remember what `store_kyiv_1` means and which print run used it. ![Diagram: A QR code passes utm_source, utm_medium, and utm_campaign parameters to a web analytics report](https://fbfast.io/assets/blog/a10_figure4_1200w.png) UTM parameters connect a visit from a QR code to a specific print material and campaign in web analytics reports ### Static or dynamic code for a link with UTM parameters? UTM parameters work with both types of code because they are simply part of the address. The difference is what you can change after printing, which is often crucial for print campaigns. - A **static code** encodes the link and its parameters directly in the image. GA4 will see the visits, but if a parameter contains an error or the campaign is renamed, you cannot correct the code. You have to reprint it. Scan statistics are not available for this type of code either. You can create a static code for free with the [website QR code generator](https://fbfast.io/qr-code-generator/website). It is perfectly adequate for permanent links when you do not need scan analytics. - A **[dynamic code](https://fbfast.io/feature/dynamic-qr-codes)** contains a short link, while you edit the destination address and its parameters in the dashboard. Spotted a typo in `utm_campaign` after flyer distribution has already started? Update the address, and subsequent scans will use the correct parameters. Meanwhile, scans are recorded in your dashboard analytics. UTM parameters work with any dynamic code whose destination is a web address, not just a website QR code. For guidance on choosing a code type for other tasks, see our detailed article [“Static or dynamic QR code: Which should you choose?”](https://fbfast.io/blog/static-or-dynamic-qr-code-what-to-choose-and-what-is-the-difference). ## One QR code for all materials or a separate code for each? Make this decision before sending your designs to print. If the same code appears on both the poster and the flyer, you will only see the combined activity. You cannot work out afterward which material generated a particular visit. Only different encoded addresses can distinguish visits, not different names in a spreadsheet. - **A separate dynamic code for each placement**. Each code has its own scan statistics, while different `utm_source` or `utm_content` values in the destination addresses also separate the placements in GA4. This is the most complete option: you can see both how often the entrance poster and checkout flyer were scanned and how many inquiries each generated. To stay organized, give codes clear internal names and group them into folders in the dashboard, such as one folder per campaign. - **Separate static codes with different UTM parameters**. Placements can only be distinguished in GA4, and only for visitors who reached the website and did not decline analytics cookies. You will not know how many times the code was scanned overall, so you cannot tell whether the problem lies with the material or the page people reach afterward. - **One code for every placement**. You only see the total. That is acceptable for a small print run in one location, but it will not help you compare locations or formats. You do not need a unique code for every individual printed copy, however. Choose the level of detail that supports the decision you need to make: material type, store, city, area, or design variation. A hundred codes without a clear naming system will make analysis harder rather than more useful. ## How to prepare a campaign with results tracking Let us return to our promotion and work through the preparation step by step. **First, define what counts as a result**. If your goal is inquiries, agree on exactly what qualifies: a successfully submitted form, not a page view or a button click. If sales matter, decide which system records them and how they are connected to their source. **Prepare the links**. Use `utm_source=poster` for the poster and `utm_source=flyer` for the flyer. Both addresses should have `utm_medium=qr` and the same `utm_campaign=spring_sale` value. If the promotion runs in several stores, add `utm_content` with the store name. **Create the codes**. Choose dynamic codes if you need scan statistics and the ability to change the link after printing. Give them names that will still make sense a month later without a spreadsheet: “Poster — entrance, store 1” and “Flyer — checkout, store 1.” **Test the entire journey before printing**. Scan each design with a smartphone. Make sure the correct page opens, the parameters survive every redirect, and the form is easy to use on a phone. Submit a test inquiry and check its source in your CRM. Your own test scans will also appear in the statistics. The scan log, with its date, time, and city, helps distinguish them from real scans. **After launch, compare like with like**. A week of flyer distribution and a month of poster display will produce different scan counts simply because of the different durations. For a fair comparison, also consider the print run, location, visibility, and the role each material plays in the campaign. ## How to find QR code traffic in Google Analytics 4 The main report is **Acquisition → Traffic acquisition**. Select the Session source / medium dimension and look for rows containing `/ qr`. For our promotion, these are `poster / qr` and `flyer / qr`. The Session campaign dimension groups visits by campaign. You can add `utm_content` as the Session manual ad content dimension or examine it in Explore to compare individual stores or areas. Visits alone are only half the picture. To see results, your website needs to record an event for the target action. It must capture a **successful** action: the form passed validation and the data was sent, rather than someone simply clicking “Submit.” Set up this event in your website code or through Google Tag Manager, then mark it as a key event. The same report will then show key events for each material alongside the session count. That column ultimately tells you which performed better. UTM parameters alone do not configure forms or create events. Check your setup before printing. Scan a test code and make sure the page opens with the parameters in its address. The Realtime report and DebugView can help confirm that the form submission event reaches GA4. For source and campaign grouping, the standard reports are more reliable once the data has been processed: not every dimension appears immediately in Realtime. **Why QR code visits end up as direct traffic:** - parameters are missing or contain an error, such as a space, Cyrillic characters, or `um_campaign` instead of `utm_campaign`; - the website redirects visitors to another address (from `http` to `https`, to a version with `www`, to another domain, or to another language version) and loses the parameters; - the GA4 code is not installed on the destination page or does not run in time; - the visitor declined analytics cookies, so the session appears only partially in reports or not at all. You can fix the first three causes. The last is a normal part of working with analytics. Treat GA4 data as a reliable comparison between materials, rather than an exact headcount. ## How to send a lead's source to your CRM GA4 shows how many inquiries each material generated, but not what happened next: which turned into deals, how much they were worth, or which customers returned. That information lives in your CRM. If someone leaves their contact details after scanning, save the source along with the inquiry. The lead record will then say “flyer, spring promotion, store 1” instead of just “website inquiry.” Marketing can compare materials by deals and revenue rather than visits. Sales gets context for the conversation: someone who scanned a flyer after making a purchase already knows the store. The conversation should be different from one with a person who has just seen the entrance poster for the first time. If your CRM supports automation, the source can trigger different workflows, such as a dedicated email series for customers who received a flyer. The technical workflow looks like this: 1. **A person opens a page with parameters**, such as `utm_source=flyer&utm_medium=qr&utm_campaign=spring_sale`. 2. **The website reads the parameters from the address.** If the person visits several pages before reaching the form, the values need to be saved for that journey, for example in a cookie. Take your website's cookie consent settings into account. 3. **The form contains hidden fields** for `utm_source`, `utm_medium`, `utm_campaign`, and, if needed, `utm_content`. The person does not see these fields or enter anything extra. The values are populated automatically and submitted along with the contact details. 4. **The fields reach your CRM** through the form's built-in integration, an API, or a webhook. In popular CRMs such as HubSpot, Pipedrive, Zoho, Bitrix24, and others, you create matching fields in the lead record. 5. **The test inquiry and the first real inquiries have been checked:** the source is saved in full, values are not truncated, and different campaigns are not merged. An integration may work technically, but without this check, it is easy to miss that some leads arrive with an empty source. Keep these two mechanisms separate. A form submission event in GA4 does not send parameters to your CRM. Likewise, an inquiry with the correct source in your CRM does not guarantee that GA4 recorded the key event correctly. Set up and test both workflows separately. The transfer method depends on your website, form builder, and CRM. The QR code has one job here: to open the address with the right parameters after a scan. It does not send personal details such as a name, phone number, or email address. People enter those details in your form themselves, so a clear, honest offer on the page matters more than any technical setting. ### When you do not need a CRM Not every QR code needs to generate a lead. If it leads to instructions, a menu, a PDF, or a video without a form, no contact details are collected and there is nowhere to save a lead source. Scan statistics and GA4 data are enough here: you can see how often the content was opened, on which devices, and what people did on the page. There is a middle ground if you already collect inquiries but do not yet have a CRM. A form with hidden fields can save the parameters alongside the responses in a spreadsheet. This will not replace a full CRM, but it preserves the connection between the code and the inquiry. When you do introduce a CRM, you will already have a history of sources. That is why it is worth adding parameters from your very first campaign, even if you are only looking at scans for now. ## When a QR code leads elsewhere: YouTube, social media, and PDFs GA4 can only see pages where its tracking code is installed. If a QR code leads to YouTube, Instagram, or a file, the UTM parameters will not reach your analytics, and those platforms do not show them in their own statistics. That does not mean these campaigns cannot be measured. They simply need a different approach. **An intermediate page on your website.** Place the video or profile link on a page with GA4 and send QR code visitors there. You can then see visits from a specific material. Video starts or button clicks can be configured as events; the exact setup depends on how the video is embedded and how analytics is configured. Another benefit is that you can offer a next step alongside the video: a booking button, a form, or a product link. This is often the best option for video instructions on packaging or videos at an exhibition booth. **A direct link to the platform.** If an intermediate page is unnecessary, the dynamic code's scan statistics will be your only source of data about the material. Create a separate code for each placement so you can compare scan counts, timing, and locations across materials. Do not use that data to draw conclusions about views or subscriptions, though: scanning the code does not mean the person watched the video. For videos, use a [YouTube QR code](https://fbfast.io/qr-code-generator/youtube); for documents, use a [PDF QR code](https://fbfast.io/qr-code-generator/pdf). A few specifics are worth knowing in advance: - If the code leads to a [page with several social media links](https://fbfast.io/qr-code-generator/social-media), the statistics show scans of the code, but not clicks on individual buttons on that page. - YouTube QR codes preserve link parameters, but UTM parameters are not visible in YouTube Studio. - For X QR codes, parameters, including UTM parameters, are removed from profile and post links, so you cannot use them as the basis for analysis. ![Video tracking through a QR code: Scanning, an intermediate page with GA4, and video playback events](https://fbfast.io/assets/blog/a21_figure5_1200w.png) An intermediate page with GA4 lets you track not only the QR code visit, but also video starts and playback ## How to evaluate each material's results Once you have the data, it is tempting to pick a winner by scan count. But scans show interest, not results. Back to our promotion: everyone passing by can see the entrance poster, so its code gets opened more often. Only people who have already made a purchase receive the flyer. It gets fewer scans, but those people are more likely to submit an inquiry. The poster wins on scans; the flyer wins on inquiries. There is no contradiction: each metric describes a different stage of the journey. Where you put the next campaign's budget depends on which stage matters most to you. For each material, it helps to bring the following into one table: - printing and placement costs; - scans from the code's scan statistics in the dashboard; - sessions and key events from GA4, filtered by `utm_source` or `utm_content`; - inquiries and deals from your CRM. You can then calculate the cost per inquiry for each material: divide its costs by the number of inquiries it generated, provided both figures are known and cover the same period. To assess profitability, you will also need revenue and margin data. Remember that not every sale can be attributed unambiguously to a single code: the customer may have seen the poster, a social media ad, and an email from the store. A table like this also shows where the journey breaks down: - **Few scans.** Look at the material itself: its placement, the size of the code, and the call to action beside it. The code may sit on a packaging fold or behind reflective glass. People do not scan a code if they do not understand what they will get. - **Many scans, but disproportionately few GA4 sessions.** The page may load slowly, or a redirect may be dropping the parameters. Test the journey on a smartphone. - **Enough sessions, but no inquiries.** The problem is on the page: it is awkward to use on a phone, the form is too long, or the offer does not match the promise on the material. - **Many inquiries, but few deals.** The issue is now audience quality or lead handling. A conversation with the sales team is the best place to start. Also remember that the available scan history period depends on your [subscription plan](https://fbfast.io/pricing). For long campaigns, save interim results. ## Checklist before printing Most analytics problems start before printing, and most can be spotted with half an hour of testing. 1. Placements you want to compare have separate codes with different addresses or UTM values. 2. Parameters follow a consistent scheme: `utm_medium=qr`, Latin characters, lowercase, and no spaces. 3. Every code has been scanned with a smartphone: the correct page opens, and parameters survive all redirects. 4. GA4 records successful form submissions, and that event is marked as a key event. 5. The test inquiry reached your CRM with the correct source, verified separately from GA4. 6. Test scans have been accounted for: the scan log shows them by date, time, and city. Technical code errors involving contrast, size, the quiet zone, or file format are covered in our article on [mistakes when creating QR codes](https://fbfast.io/blog/the-most-common-mistakes-when-creating-qr-codes). Campaign mistakes involving placement, calls to action, and the mobile page are covered in our article on [mistakes when using QR codes](https://fbfast.io/blog/the-most-common-mistakes-when-using-qr-codes-and-how-to-avoid-them). ## Examples across industries The principle is the same for any business. Only the materials and target action change. - **Packaging.** The code leads to instructions, warranty registration, or a bonus, while `utm_content` distinguishes product lines. You can see which customers are more likely to seek help or activate the loyalty program. Read more in our article on [QR codes on packaging](https://fbfast.io/blog/qr-codes-on-packaging-instructions-loyalty-reviews). - **Restaurants and delivery.** Separate codes on table tents, receipts, and delivery bags show where guests are more likely to open the menu, view a promotional offer, or place another order. See [QR codes for restaurants, cafes, and delivery](https://fbfast.io/blog/qr-codes-for-delivery-restaurants-and-cafes-convenience-speed-analytics). - **Events.** Different codes on badges, booths, and slides, combined with registrations whose sources are saved in your CRM, show which event areas generate contacts. See [QR codes for events](https://fbfast.io/blog/qr-codes-for-events-and-events-registration-navigation-merch). - **Outdoor advertising.** A separate code for each billboard or backlit advertising display location helps you decide which placements to keep. See [QR codes in offline advertising](https://fbfast.io/blog/how-to-use-qr-codes-in-offline-advertising-flyers-billboards-packaging). - **Healthcare and education.** Appointment bookings or course registrations with a saved source show which materials actually bring people in. See our articles on [QR codes in healthcare](https://fbfast.io/blog/qr-codes-in-medicine-cards-instructions-recording-for-reception) and [education](https://fbfast.io/blog/qr-codes-for-schools-universities-and-education). For a complete guide to campaign planning, from setting goals to measuring results, see [“Marketing with QR codes”](https://fbfast.io/blog/marketing-with-qr-codes). ## Frequently asked questions ### Do UTM parameters work in a static QR code? Yes. The parameters are part of the address, so GA4 can track visits from a static code. However, you cannot correct the parameters after printing, and static codes do not provide scan statistics. ### Can I change UTM parameters after printing? Yes, if the code is dynamic: edit the destination address in the dashboard, and all subsequent scans will lead to the updated link. The code on the material stays the same. ### Why do scan counts and GA4 session counts differ? QR code analytics records short-link opens, while GA4 counts sessions according to its own rules. Repeated visits, a page that does not load, declined analytics cookies, or a redirect that drops parameters can cause differences in either direction. If the gap is large, check the redirects and the GA4 installation on the destination page. ### Can QR code analytics show who scanned the code and what they bought? No. Scan analytics does not show names, phone numbers, email addresses, website button clicks, or purchases. Location data is approximate, and unique scans are counted by device, not by person. Inquiries appear in GA4 if key events are configured, and in your CRM if the form sends UTM parameters. ## Conclusion Scans show that people noticed the material. GA4 sessions show that they reached the website. Inquiries and deals in your CRM show whether the material actually worked. Analytics is most useful when these data sources complement one another rather than replace one another. You do not need complex infrastructure for that: a consistent UTM scheme, a GA4 key event for successfully submitted inquiries, and hidden form fields that send the source to your CRM are enough. A separate dynamic code for each placement adds scan statistics to the picture and lets you correct links without reprinting. Start with a single piece of print material: [create a dynamic QR code](https://app.fbfast.io/auth/sign-in?lang=en), add UTM parameters to the destination address, and test the whole journey from scan to inquiry in your CRM before printing. After your first campaign, you will have more than a total scan count. You will know which material is worth using again. ## Other Languages - [Deutsch (de)](https://fbfast.io/de/blog/integration-of-qr-codes-with-crm-google-analytics-and-utm-marks) - [English (en)](https://fbfast.io/blog/integration-of-qr-codes-with-crm-google-analytics-and-utm-marks) - [Español (es)](https://fbfast.io/es/blog/integration-of-qr-codes-with-crm-google-analytics-and-utm-marks) - [Français (fr)](https://fbfast.io/fr/blog/integration-of-qr-codes-with-crm-google-analytics-and-utm-marks) - [Português (pt)](https://fbfast.io/pt/blog/integration-of-qr-codes-with-crm-google-analytics-and-utm-marks) - [Українська (uk)](https://fbfast.io/uk/blog/integration-of-qr-codes-with-crm-google-analytics-and-utm-marks)