UTM links: how to tell which post, email or QR code brought you a customer

Sell moreBy Oziel Fuchs3 min read

Close-up of a phone screen showing a Google search for Google Analytics.
Photo: Illustrative image. Edho Pratama / Wikimedia Commons, CC0 (cropped)

You post on Instagram, email your customers, print a QR code for the counter and pay for an ad. At the end of the month your site got more visits, but which of those actions worked? Without a tag on each link, the answer is usually “no idea”, and you keep investing blind.

UTM parameters are that tag. They’re free, need no software and take a minute to build.

It’s your usual link with some data added at the end, telling Google Analytics where the visit came from. For example:

https://yourbusiness.com/promo/?utm_source=instagram&utm_medium=social&utm_campaign=holidays-2026

The visitor sees the same page. The difference is that in your analytics that visit shows up with a full name: it came from Instagram, through an organic post, from the holiday campaign.

2. The three parameters you can’t skip

Google has a full list of parameters, but advises always using these three:

  • utm_source: where it comes from (instagram, newsletter, counter-qr).
  • utm_medium: the type of channel (social, email, cpc for paid ads).
  • utm_campaign: the campaign or promotion (holidays-2026, january-sale).

There are optional ones, like utm_content, which helps tell apart two links in the same email or two versions of an ad. If one of the main three is missing, the report shows it as “(not set)”.

3. Use the medium names Google understands

Google Analytics groups visits into channels based on utm_medium, using fixed rules you can’t edit. A few worth knowing:

  • email (or e-mail) goes to the Email channel.
  • social goes to organic social.
  • A medium containing cp (like cpc) or starting with paid goes to the paid channels.

If you invent a medium like ig-story, the visit lands in “Unassigned” and gets mixed up with everything else. Better to use social as the medium and put the detail in the source or in utm_content.

4. Write everything the same way, always lowercase

Google notes that values are case sensitive: Instagram and instagram show up as two different sources. Its recommendation is to use lowercase as standard practice. Also pick one separator (hyphen or underscore) and stick to it.

A shared spreadsheet with the links you’ve already built keeps each team member from inventing their own version.

UTMs go on links you publish outside your site: social media, emails, ads, QR codes, signatures, PDFs. Don’t use them on internal links (from one page of your site to another), because you’d change the source of a visit that was already on your site and lose the data on how it arrived.

6. Build them without mistakes

Typing them by hand is error-prone. Google has a campaign URL builder: you fill in the fields and it gives you the finished link. If the link will be printed, turn it into a QR code so nobody has to type it.

For WhatsApp there’s a similar trick without analytics: a different pre-filled message for each place. We cover it in how to create a WhatsApp link with a pre-filled message.

7. Check the results

In Google Analytics 4, go to Acquisition → Traffic acquisition. There you can see visits by session source, medium and campaign. Also look at what those visits did: whether they reached the contact page, sent a message or bought. A campaign that brings lots of visits that leave right away can be worth less than a small one that brings customers.

Wrapping up

After one month of properly tagged links, you’ll know which channel brings you customers and which one only brings you work. If your site doesn’t track visits or inquiries yet, our SEO and maintenance page explains how we set it up.

← Back to the blog

Shall we talk about your project?

Tell us what you need and we will reply the same day.