You send a newsletter, post on LinkedIn and run a small ad, and your analytics shows a spike. Which one worked? Without tags you may not be able to tell. UTM parameters fix that: short tags added to a link that tell your analytics where the visit came from.
You can build tagged links by hand or with our free UTM Link Builder, which also checks them against the naming rules below.
What a tagged link looks like
Google’s help page gives this example for a summer sale email:
https://www.example.com/?utm_source=summer-mailer&utm_medium=email&utm_campaign=summer-sale
Everything after the ? is tags. When someone clicks the link, the values are sent to Google Analytics and appear in the Traffic acquisition report.
The parameters
| Parameter | What it records | Example values |
|---|---|---|
utm_source |
Who sent the visit | google, newsletter, linkedin |
utm_medium |
The marketing channel | cpc, email, banner |
utm_campaign |
The campaign, product or promotion | spring_sale |
utm_content |
Which link or creative was clicked | header_button, footer_link |
utm_term |
The paid keyword | analytics_course |
utm_id |
A campaign ID, matching IDs you upload | spring_2027_01 |
Google’s guidance is to always use utm_source, utm_medium and utm_campaign. The others are optional. utm_content is the useful one for small teams: if an email has two links to the same page, give them different content values and you’ll see which one people click.
The naming rules that keep reports clean
Google’s best-practice notes come down to one idea: one name for one thing, every time.
- Values are case-sensitive. Google gives the example that “Meta” and “meta” are treated as different values. Use lowercase for everything.
- One source per platform. Decide once whether LinkedIn is
linkedinorli, and never use the other. - One medium per channel, such as
email,paid_socialororganic_social. - One campaign name per campaign. Google notes that SpringSale and Spring_Sale count as distinct, so one effort splits into two rows.
- No spaces. Use underscores or hyphens, and pick one.
The reason this matters: a campaign tagged three slightly different ways shows up as three small campaigns, and none of them looks like it worked.
Where tagged links don’t belong
This is our advice rather than Google’s page: use UTM tags on links that bring people to your site from elsewhere: emails, social posts, ads, partner sites, QR codes. Don’t put them on links between pages of your own site. A visitor who arrives from your newsletter and then clicks an internal link with different tags can be attributed to that internal “campaign” instead, and the newsletter loses the credit.
Keep a log
One way campaign reports get messy is people inventing names whenever they need a link. A simple log prevents it: one row per link with the date, the full URL and each value. Before making a new link, check the log for the names already in use.
The UTM Link Builder does this for you: it lowercases values and replaces spaces, warns when a required tag is missing, and keeps a list of the links you create that you can download as a CSV. Put that file next to your data dictionary so everyone uses the same names.
A five-minute setup
- Write down your sources and mediums for the channels you use now.
- Agree a campaign naming pattern, for example
topic_month(spring_sale_march). - Tag every outbound link in your next email, post and ad with the builder.
- Check the Traffic acquisition report a week later. If a value appears that isn’t on your list, find the link and fix it.
Once campaigns are tagged consistently, you can answer the question that started this: which one worked. To count what each campaign produced, not just the visits, set up key events in GA4. If you’re deciding which numbers to watch, start with which metrics a small business should track.