Build properly tagged UTM URLs in seconds. Paste your link, add your campaign details, and copy the tracked URL ready to share in ads, emails, or social posts. Free forever, no signup required.
Read here more info on how to use utm paramters and tags.
219+ founders, marketers, and product teams use PrettyInsights to track website analytics, product analytics, events, conversions, and customer journeys.
Get started for free →A UTM builder is a free tool that adds tracking parameters (UTM codes) to your URLs so you can measure which marketing channels, campaigns, and content drive traffic and conversions. Instead of building tracking URLs manually — which is error-prone and time-consuming — you fill in the fields above and get a clean, properly formatted URL you can use in any campaign.
UTM stands for Urchin Tracking Module, named after Urchin Software Corporation (the company Google acquired in 2005 to build Google Analytics). Every modern analytics platform — Google Analytics, Pretty Insights, Matomo, Plausible, Fathom, Simple Analytics — reads UTM parameters the same way, so tagging your URLs once gives you consistent data across whichever analytics tool you use.
The value is attribution. Without UTM tags, visitors from your Facebook ads, newsletter emails, and LinkedIn posts all show up as “direct” or “social” in your reports — lumped together with zero way to measure which specific campaign worked. With UTM tags, every click is traceable to the exact source, medium, campaign, and even specific ad creative.
There are exactly five UTM parameters. Three are required for useful tracking; two are optional but powerful.
| Parameter | Purpose | Required? | Example value |
|---|---|---|---|
| utm_source | Where the traffic came from | Required | facebook, newsletter, google |
| utm_medium | The marketing channel type | Required | cpc, email, social, organic |
| utm_campaign | The specific campaign name | Required | summer_sale, q4_webinar |
| utm_term | Paid keyword targeted | Optional | analytics+software |
| utm_content | Specific ad creative or link variant | Optional | hero_cta, blue_button |
This is the specific platform or website sending the click. Think “the brand name of the source.” Examples: facebook, instagram, linkedin, newsletter, youtube, partner_blog, google. Always lowercase, always consistent — Facebook, FB, and facebook count as three separate sources in most analytics tools.
This groups sources into channel categories. Common values: cpc (paid search), display (display ads), social (organic social), paid_social (paid social), email, referral, affiliate. If someone asks “how much traffic came from paid ads last month,” they’re asking about utm_medium.
The unique name of the campaign driving this traffic. Examples: summer_sale_2026, product_launch_v2, black_friday, q1_webinar_series. Use underscores or hyphens instead of spaces. Keep a naming convention so you can filter cleanly later.
Optional field primarily used in Google Ads and paid search. Lets you track which specific keywords drove clicks when running a broad-match paid campaign. If you’re not running paid search, you can leave this blank.
Optional field for A/B testing and variant tracking. If you’re running the same campaign with a blue button vs a red button, or a long-form post vs a short-form post, use utm_content to tell them apart. Examples: blue_cta, long_version, header_link, footer_link.
Here’s what proper UTM URLs look like in context.
https://yoursite.com/?utm_source=facebook&utm_medium=paid_social&utm_campaign=summer_sale_2026&utm_content=blue_cta
https://yoursite.com/blog/new-feature?utm_source=newsletter&utm_medium=email&utm_campaign=weekly_digest_w14
https://yoursite.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=brand_search&utm_term=analytics+tool
https://yoursite.com/guides/seo?utm_source=linkedin&utm_medium=social&utm_campaign=content_distribution
https://yoursite.com/signup?utm_source=partner_acme&utm_medium=affiliate&utm_campaign=partnership_2026
Paste any of these formats into the builder above to see how the parameters compose into a final URL.
Step 1: Paste your destination URL. This is the page you want visitors to land on — your homepage, a product page, a blog post, a pricing page, or any landing page. The builder preserves the full URL including any existing query parameters.
Step 2: Fill in the three required fields. Source, medium, and campaign are non-negotiable. Skip them and analytics platforms will treat your traffic as unknown.
Step 3: Optionally add utm_content or utm_term. Use utm_content for A/B variants and utm_term for paid search keywords. Skip both if you’re running a simple campaign.
Step 4: Click “Generate UTM URL” and copy the result. The builder produces a clean, properly encoded URL ready to paste into your ad platform, email tool, or social scheduler.
Step 5: Verify the tracking in your analytics. Within 24 hours of publishing the tagged link, check your analytics reports under the Source/Medium or Campaigns section. You should see your new campaign appearing with the values you set.
Messy UTM parameters are worse than no UTMs at all. If you have Facebook, facebook, FB, and facebook.com all floating around as sources, your analytics will show four different channels that should be one.
Stick to these rules for clean, reportable data:
Email and email count as separate mediums, making your reports meaningless.summer_sale not summer sale. Spaces get encoded as %20 in the URL and break readability.paid_social, not sometimes social_paid, sometimes paid-social, sometimes socialpaid.newsletter_2026_q1_product_launch_v2 is more useful than email. You’ll thank yourself in six months.camp3x2a make auditing impossible.Different platforms have different conventions. Here’s what works for each.
Use facebook or instagram as the source, paid_social as medium, and a specific campaign name. Meta’s Ads Manager has a URL parameters field — paste your tagged URL there and Meta appends the UTMs automatically to every click. Don’t forget utm_content for tracking specific ad creatives.
Google Ads is unique: it has auto-tagging built in (the gclid parameter) which passes campaign data to Google Analytics automatically. You can use UTMs alongside auto-tagging, but if you use both, UTM values override auto-tagging values. For most teams, auto-tagging is sufficient for Google Ads — reserve manual UTMs for channels Google doesn’t auto-tag.
Every link in every email campaign should carry UTMs. Common source values: the name of your email platform (mailchimp, klaviyo, sendgrid) or simply newsletter. Medium is almost always email. Campaign should identify the specific send (weekly_digest_w14, product_launch_announcement). Add utm_content if you’re testing CTAs within the email.
Source linkedin, medium social for organic posts or paid_social for LinkedIn Ads. Campaign identifies the specific post series or ad campaign. If LinkedIn is a major channel for you, use utm_content to differentiate sponsored content from text ads from message ads.
Same pattern: source is the platform, medium is social or paid_social, campaign names the initiative. TikTok’s ad platform accepts UTM-tagged URLs directly.
Source is the partner name (partner_techcrunch, affiliate_johndoe), medium is affiliate or partner, campaign identifies the program. Many affiliate platforms auto-append their own tracking IDs — make sure your UTMs survive the redirect chain.
Source is the podcast name, medium is podcast or audio, campaign identifies the sponsored segment. Since podcast clicks are typed rather than clicked, keep your tagged URLs short enough that listeners can type them. Use a URL shortener pointing to your full UTM URL.
Mistake 1: Inconsistent capitalization. The #1 UTM problem. Email and email split your data. Standardize on lowercase and audit old campaigns quarterly.
Mistake 2: Tagging internal navigation links. Never add UTMs to your own site’s internal links (header navigation, footer links, blog cross-links). Doing this overwrites the original source and makes your analytics useless. UTMs are for external campaigns only.
Mistake 3: Using UTMs on backlinks. If you’re building SEO backlinks on other sites, don’t add UTMs to the URLs you give them. Clean URLs are better for SEO, and Google Analytics treats referrer traffic appropriately without UTMs.
Mistake 4: Forgetting the base URL. UTM parameters must attach to a real destination URL — not just floating in empty space. Always start with https://yoursite.com/page.
Mistake 5: Using special characters or spaces. Values should be alphanumeric with underscores or hyphens. Characters like &, ?, =, #, or spaces will break your tracking.
Mistake 6: Overly long campaign names. A 100-character campaign name becomes unreadable in reports. Keep values under 30 characters when possible.
Mistake 7: Not documenting conventions. Without a shared naming guide, every team member invents their own format. Six months in, your campaign reports are a mess nobody can unravel.
Mistake 8: Tagging then forgetting to track. Creating UTM URLs is pointless if nobody looks at the reports. Build a weekly habit of reviewing campaigns by UTM source, medium, and campaign.
Once your UTM-tagged URLs start driving traffic, every analytics platform has a way to report on them.
In Google Analytics 4: Reports → Acquisition → Traffic Acquisition. Filter by “Session source / medium” and “Session campaign.” For deeper analysis, build explorations grouping by UTM fields.
In Pretty Insights: The Sources dashboard automatically groups traffic by UTM source, medium, and campaign. Conversions can be filtered by any UTM field to measure specific campaign ROI.
In other platforms (Plausible, Fathom, Matomo, Mixpanel): All support native UTM parsing. Reports are typically found under “Sources,” “Acquisition,” or “Campaigns.”
Key reports to build weekly:
UTM parameters are visible in the URL itself, which has a few privacy implications.
UTMs are not PII. They describe the marketing source, not the visitor. Adding UTMs to your URLs doesn’t require cookie consent or privacy disclosures.
UTMs can appear in referrer data. If a user shares a UTM-tagged link, the receiving site might see the campaign data. This is usually harmless but worth knowing.
Don’t put sensitive data in UTMs. Never include emails, user IDs, names, or anything else identifying a specific person in a UTM value. It breaks privacy norms and violates GDPR and CCPA.
Privacy-first analytics still reads UTMs. Cookieless analytics tools like Pretty Insights, Plausible, and Fathom all track UTM data without cookies. UTM-based attribution works perfectly in privacy-first setups.
When someone clicks your UTM-tagged URL, here’s what happens:
Most analytics tools “stick” the UTM attribution to the user for the duration of that session — so if someone lands via your UTM-tagged Facebook ad and then navigates through five pages, every pageview is attributed to that Facebook campaign.
Some platforms (Google Analytics, Pretty Insights, Mixpanel) can attribute conversions to UTM sources across multiple sessions using first-touch or last-touch attribution models. For more on attribution models, see our marketing attribution tools guide.
Most teams first build UTM-tagged URLs using a builder (like this one) and then track them in Google Analytics. That works, but it comes with downsides: GA4’s complexity, required cookie consent banners in the EU, and the 30-60% of traffic lost to ad blockers and consent opt-outs.
If you’re building UTM URLs regularly for marketing campaigns, you’ll want analytics that actually capture the data those URLs generate. Pretty Insights is a privacy-first web analytics platform that reads UTM parameters natively, shows clean campaign performance reports, and doesn’t require a cookie consent banner.
Start your free 14-day trial →
UTM stands for Urchin Tracking Module, named after Urchin Software Corporation — the company Google acquired in 2005 to build what became Google Analytics. The parameters are now a universal standard used by every major analytics platform.
Yes, in most analytics tools. Facebook, facebook, and FB count as three separate sources. Standardize on lowercase across all your URLs for consistent reporting.
No, UTM-tagged URLs don’t hurt SEO. Search engines handle query strings normally. However, don’t use UTMs for SEO backlinks — keep those clean. UTMs are for campaigns you control (ads, emails, social), not for links other sites publish to you.
No, and this is a common mistake. Tagging internal navigation with UTMs overwrites the original external source attribution. When someone arrives from Facebook and then clicks an internal UTM-tagged link, their session loses the Facebook attribution and gets re-attributed to the internal UTM. Reserve UTMs for external campaigns only.
Three are required for useful tracking: utm_source, utm_medium, and utm_campaign. Without all three, most analytics tools either ignore the tags or attribute incorrectly. utm_term and utm_content are optional.
No, but you control their lifecycle. Once a tagged URL is published, it keeps attributing traffic until you stop using that link. Some analytics tools cap attribution windows (e.g., Google Analytics defaults to 6 months for first-touch attribution), but the UTM values themselves never expire.
Usually not — Google Ads has auto-tagging (the gclid parameter) that passes campaign data to Google Analytics automatically. If you use both auto-tagging and manual UTMs, UTMs override auto-tagging values. For most teams, auto-tagging alone is sufficient for Google Ads.
Some tools support bulk UTM generation via CSV upload. This builder handles single URLs; for bulk needs, use a spreadsheet template with UTM building formulas, or a dedicated enterprise tool. Most marketing teams only need 5-20 tagged URLs per campaign, so single-URL builders work for most use cases.
In your analytics platform, filter by campaign source/medium and look for: inconsistent casing (Facebook vs facebook), typos (newsletyer), missing fields (source with no medium), or duplicates with slight variations. Export the list, fix your templates going forward, and archive problem campaigns.
Yes. UTM tracking doesn’t require cookies — the data travels in the URL itself, which analytics tools read server-side. Pretty Insights, Plausible, Fathom, and Matomo all support UTM tracking without cookies. This is why UTMs are particularly valuable for EU-focused brands running cookieless analytics.
utm_source is specific (the exact site or platform — facebook, newsletter, partner_techcrunch), while utm_medium is the category (social, email, affiliate). Source is the “what” — where the user came from. Medium is the “how” — what type of channel it is.
Sort of. You can put UTM-tagged URLs on business cards, print ads, or podcast spots — but users have to manually type them. Use short URL shorteners (bit.ly, yoursite.com/pod) that redirect to your full UTM URL. QR codes work better than typed URLs for offline-to-online tracking.