How to build a UTM link
- Enter the destination URL, the page you want people to land on.
- Fill in campaign source, medium and name. These three are required.
- Add term and content if you need them.
- Press Run tool and copy the finished link.
The tool adds the parameters with correct URL encoding, so spaces and special characters will not break the link. If the URL already has query parameters, they are kept. If it already has UTM values, the new ones replace them.
What each parameter means
- utm_source is where the traffic comes from:
newsletter,facebook,partner-site. - utm_medium is the type of channel:
email,social,cpc,referral. - utm_campaign is the specific promotion:
black-friday-2026,spring-launch. - utm_term is mainly for paid search keywords.
- utm_content tells apart links in the same campaign, such as
header-buttonandfooter-link, or two versions of an ad.
In Google Analytics 4 you will find these in the traffic acquisition reports under session source, session medium and session campaign.
Naming rules that keep reports clean
UTM values are case sensitive. Facebook, facebook and FB show up as three different sources. A few habits prevent that:
- Always use lowercase.
- Use hyphens instead of spaces. Spaces become
%20and are easy to mistype. - Match GA4's channel rules for medium. GA4 groups traffic into channels such as Email, Organic Social and Paid Search by looking at the medium. Values like
email,socialandcpcland in the right channel. A made-up value likeblastends up as "Unassigned". - Keep a shared sheet of the values you use so everyone on the team tags links the same way.
Where to use UTM links, and where not to
Use them on links you place outside your own site: email newsletters, social posts, paid ads without auto-tagging, partner and affiliate placements, QR codes on printed material, and links in PDFs or videos.
Do not use them on internal links between pages of your own site. A UTM link starts a new session in GA4 and overwrites the real source. A visitor who came from Google and then clicked an internal link tagged utm_source=sidebar would no longer count as organic search, and your reports would be wrong.
Also skip them on Google Ads when auto-tagging is on, since the gclid parameter already does the job.
SEO and UTM parameters
UTM links can create duplicate URLs, since /page/ and /page/?utm_source=x load the same content. That is not usually a problem. Your canonical tag should point to the clean URL, and Google is good at ignoring tracking parameters. Most WordPress SEO plugins set the canonical correctly, and you can confirm it with the canonical URL checker.
Tips for long links
UTM links get long. For social posts and print, use a link shortener or a link management plugin so you can show a clean URL and still track the campaign. The ClickWhale review on WPSekar.com looks at one option that runs inside WordPress.
Frequently asked questions
Does the order of parameters matter?
No. Analytics tools read them in any order.
Can I use UTM links with other analytics tools?
Yes. Matomo, Plausible, Fathom and most email platforms read UTM parameters too.