Quick answer
To build a UTM link, enter your website URL, then the campaign source (where the traffic comes from, such as facebook or newsletter), campaign medium (the type of channel, such as social, email or cpc) and campaign name (such as black_friday). Optionally add term, content and campaign ID. Click a preset to fill common values. The tracking URL updates live — copy it and use it in your post, email, ad or QR code.
- Required:
- Website URL, source, medium, campaign name
- Optional:
- Term, content, campaign ID
- Presets:
- google, facebook, instagram, linkedin, tiktok, youtube, twitter, newsletter, qr, affiliate and more
- Mediums:
- cpc, social, paid_social, email, display, referral, affiliate, qr
- Works with:
- Google Analytics 4, Matomo, Plausible and most analytics tools
- Output:
- Ready-to-copy tracking URL
- Account:
- Not required
- Price:
- Free
You share links everywhere: Facebook posts, Instagram bios, WhatsApp broadcasts, email newsletters, YouTube descriptions, paid ads, printed flyers with QR codes. But when visitors arrive, analytics often lumps them together as "direct" or "referral", and you cannot tell which campaign actually worked. Was it the email or the Facebook ad? The flyer or the influencer post?
UTM parameters solve this. They are short tags added to the end of a URL — ?utm_source=facebook&utm_medium=social&utm_campaign=eid_sale — that analytics tools read and record. The page itself does not change, but in Google Analytics 4 you can see exactly how many visitors, sign-ups and sales came from each source, medium and campaign.
Our UTM builder makes these links quickly and consistently. Enter your page URL and the campaign details, use presets for the most common sources and mediums, and copy the finished link. Values are automatically encoded so spaces and special characters do not break the URL. Consistent, lowercase naming is the secret to clean reports — the builder helps you keep it that way.
How to create a UTM link – step by step
- 1 Enter the page URLPaste the landing page address, for example https://example.com/offer.
- 2 Add source and mediumSource is the platform or sender (facebook, newsletter, google); medium is the channel type (social, email, cpc). Click presets to fill them.
- 3 Name the campaignUse a short, consistent name such as summer_sale_2026 or product_launch.
- 4 Add optional detailsUse term for paid keywords, content to tell apart two links or ad versions, and campaign ID if your ad platform needs one.
- 5 Copy and useCopy the tracking URL and use it in your post, email or ad. Shorten it or turn it into a QR code if needed.
Why use this UTM builder?
All five UTM parameters
Plus campaign ID for advanced tracking.
Quick presets
Common sources and mediums in one click.
Correct encoding
Spaces and special characters are handled automatically.
Live preview
The tracking link updates as you type.
GA4-ready naming
Mediums match how Google Analytics groups channels.
Free and private
No sign-up, nothing stored.
The UTM parameters explained
| Parameter | Answers | Examples |
|---|---|---|
| utm_source | Where did the visitor come from? | facebook, google, newsletter, linkedin |
| utm_medium | What type of channel? | social, paid_social, email, cpc, display, qr |
| utm_campaign | Which campaign or promotion? | eid_sale, spring_launch, webinar_march |
| utm_term | Which paid keyword? | pdf_editor, invoice_template |
| utm_content | Which link, ad or version? | header_button, video_ad_a, footer_link |
| utm_id | Which campaign ID? | Ad platform campaign ID for data import |
Naming conventions that keep reports clean
UTM values are case-sensitive: "Facebook", "facebook" and "FB" appear as three different sources. Agree on a simple convention and stick to it:
- Always use lowercase.
- Use underscores or hyphens instead of spaces.
- Use standard mediums that analytics recognises: email, social, paid_social, cpc, display, referral, affiliate.
- Keep a shared spreadsheet of campaign names, sources and the links you created.
- Do not put personal data (names, email addresses) in UTM values.
How UTM medium affects GA4 channel groups
Google Analytics 4 sorts traffic into default channel groups using source and medium. A medium of email appears under Email, cpc or ppc with a search source under Paid Search, paid_social or cpc with a social source under Paid Social, social with a social source under Organic Social, display under Display, affiliate under Affiliates and referral under Referral. Using non-standard mediums like "fb-post" sends traffic to "Unassigned", making reports harder to read.
Where to find UTM data in Google Analytics 4
In GA4, open Reports → Acquisition → Traffic acquisition to see sessions by session source/medium, or change the dimension to session campaign. For conversions and revenue by campaign, use the same report with key events and revenue columns, or build an exploration. Data typically appears within 24–48 hours; real-time reports show visits within minutes.
Where not to use UTM links
Never put UTM parameters on internal links within your own website — for example a homepage banner pointing to a product page. Clicking them starts a new session in analytics and overwrites the original source, so you lose track of where visitors really came from. Use UTMs only on links placed outside your site. Also avoid them on links you want search engines to index as your main URL; set canonical tags so that tagged URLs are treated as duplicates of the clean page.
Making UTM links short and shareable
UTM links are long, which looks untidy in social posts and SMS. Shorten them with a link shortener, or put them behind a QR code for print materials using our QR Code Generator (use medium "qr" and source "flyer" or "poster"). For WhatsApp campaigns, create a chat link with our WhatsApp Link Generator. Check the final link with the Redirect Checker to make sure the parameters survive any redirects.
Measuring social media and influencer campaigns
Social platforms are where UTM tags pay off most, because their in-app browsers often hide the referrer and traffic would otherwise appear as direct. Give every placement its own tagged link: the link in your Instagram bio, each Facebook post, each YouTube description, each story. Use utm_content to tell versions apart — bio_link, story_swipe, pinned_comment — so you learn which placement actually drives visits. For influencer collaborations, set the source to the platform and put the influencer's handle in utm_content or a dedicated campaign name. After a week, compare sessions, sign-ups and sales per link in GA4. You will quickly see which creators and formats deserve more budget, instead of relying on likes and views alone.
Measuring email newsletters
Most email platforms can add UTM tags automatically. If yours does not, tag every link in the newsletter with source newsletter, medium email and the issue name as the campaign. Use utm_content for each button or section so you can see which part of the email people clicked most.
Example UTM links
- Facebook post:
?utm_source=facebook&utm_medium=social&utm_campaign=eid_sale - Newsletter button:
?utm_source=newsletter&utm_medium=email&utm_campaign=november_update&utm_content=main_button - Google Ads (if auto-tagging is off):
?utm_source=google&utm_medium=cpc&utm_campaign=invoice_tool&utm_term=free_invoice_generator - Printed flyer QR:
?utm_source=flyer&utm_medium=qr&utm_campaign=shop_opening
Troubleshooting
- Visits show as "(direct)/(none)". The link may have been changed, redirected without parameters, or opened from an app that strips them.
- Campaign appears under "Unassigned". Use a standard medium value.
- The page shows an error. Some sites reject unknown parameters; test the link before publishing.
- Google Ads data duplicates. With auto-tagging (gclid) on, you usually do not need manual UTMs for Google Ads.
Frequently asked questions
What is a UTM link?
A URL with tracking parameters that tell analytics where a visitor came from.
Which UTM parameters are required?
utm_source, utm_medium and utm_campaign. Term, content and ID are optional.
Are UTM parameters case-sensitive?
Yes. Always use lowercase to keep reports clean.
Do UTM parameters affect SEO?
No, if you only use them on external links and have canonical tags on your pages.
Should I use UTMs on internal links?
No. They overwrite the original traffic source.
Where do I see UTM data in GA4?
In Reports → Acquisition → Traffic acquisition, by session source/medium or campaign.
What medium should I use for Facebook posts?
social for organic posts and paid_social (or cpc) for ads.
Can I use UTMs in QR codes?
Yes. Use medium qr and a source describing the printed material.
Do I need UTMs for Google Ads?
Usually not if auto-tagging is enabled.
Is the UTM builder free?
Yes. No sign-up required.
How do I shorten a UTM link?
Use a link shortener or a QR code. Test that the parameters survive.
Can I track offline campaigns?
Yes. Put a UTM link behind a QR code on flyers, posters or packaging and give each printed item its own source.
Will UTM links work on any website?
Almost always. Parameters are ignored by the page and read only by analytics.
Last updated November 21, 2026 · Written and tested by the SmallEasyTools team.