UTM Builder for Campaign URLs
UTM parameters help analytics tools understand where a visitor came from and which campaign brought them to a page. A well-built UTM link can separate newsletter traffic from paid search, social posts, affiliate links, QR code scans, and partner campaigns.
Use the UTM Builder when you need a clean campaign URL. Use the URL Parser afterward if you want to inspect the final query string.
What Is a UTM URL?
A UTM URL is a normal URL with tracking parameters added to the query string.
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_launchThe destination is still /pricing. The extra parameters tell analytics software how to classify the visit.
The Five Standard UTM Parameters
The most common parameters are:
utm_source: where traffic comes from, such asgoogle,newsletter,linkedin, orpartner_siteutm_medium: the channel type, such asemail,cpc,social, orreferralutm_campaign: the campaign name, such asspring_launchorblack_friday_2026utm_term: usually used for paid search keywords or audience termsutm_content: used to distinguish variants, such ashero_button,footer_link, orversion_b
Most teams should treat source, medium, and campaign as required. The other two are useful when you need deeper comparison.
UTM Parameter Reference
| Parameter | Use it for | Example |
|---|---|---|
utm_source | Traffic origin | newsletter, google, linkedin |
utm_medium | Channel type | email, cpc, social, qr |
utm_campaign | Campaign or initiative | summer_launch, webinar_june |
utm_term | Keyword, audience, or paid term | json_tools, developer_audience |
utm_content | Creative or link variant | hero_cta, footer_link, version_b |
The first three fields answer the most important questions: where did the visitor come from, what type of channel was it, and which campaign should receive credit?
Naming Consistency Matters
UTM data becomes messy when the same channel is named in multiple ways.
Weak:
utm_source=Newsletter
utm_source=email_newsletter
utm_source=newsletter-juneBetter:
utm_source=newsletter
utm_medium=email
utm_campaign=june_product_updatePick a naming convention before launching a campaign. Lowercase words with underscores are usually easier to filter and compare.
Build a Small Naming Taxonomy
A simple taxonomy prevents messy analytics reports. For example:
utm_source: newsletter, linkedin, google, partner_name
utm_medium: email, social, cpc, referral, qr
utm_campaign: product_launch, webinar_june, black_friday_2026
utm_content: hero_cta, footer_link, image_ad, text_linkKeep source focused on the traffic origin and medium focused on the channel type. If both fields describe the same thing, reports become harder to compare.
For recurring campaigns, document the naming pattern before the first link is shared.
Source vs Medium Examples
source and medium are easy to mix up. A useful rule is:
- source = who sent the traffic
- medium = how the traffic was delivered
Examples:
| Link context | Source | Medium |
|---|---|---|
| Email newsletter | newsletter | email |
| LinkedIn organic post | linkedin | social |
| Google paid search ad | google | cpc |
| Partner article | partner_name | referral |
| Printed event flyer QR | event_flyer | qr |
This separation makes channel reports cleaner. If utm_source=email and utm_medium=email are both used, the data becomes less descriptive.
Do Not Use UTMs on Internal Links
UTM parameters are for inbound campaign attribution. Do not add them to links inside your own site navigation.
For example, avoid:
https://example.com/pricing?utm_source=homepage&utm_medium=internalInternal UTMs can overwrite the original acquisition source and make analytics reports less accurate.
Handling Existing Query Parameters
Many destination URLs already contain query parameters:
https://example.com/pricing?plan=teamIn that case, UTM parameters should be appended with &, not a second ?:
https://example.com/pricing?plan=team&utm_source=newsletter&utm_medium=email&utm_campaign=launchThis is a small detail, but it is a common source of broken campaign links. After building the URL, inspect it with the URL Parser to confirm the path, query string, and fragment are in the right places.
UTM Links for QR Codes and Offline Campaigns
UTM parameters are also useful for offline materials. If a QR code appears on a flyer, poster, event badge, or product insert, use a medium such as qr and a campaign name that describes the offline context.
Example:
utm_source=event_booth
utm_medium=qr
utm_campaign=summer_demoAfter building the URL, use a QR Code Generator and test the scan on multiple devices before printing.
UTM Governance for Teams
If several people create campaign links, a shared naming sheet or short internal guideline can prevent reporting chaos. Define:
- approved
utm_mediumvalues - source names for major channels
- campaign naming format
- when to use
utm_content - whether separators should be underscores or hyphens
- who reviews links before launch
This is not bureaucracy for its own sake. It keeps reports readable months later when people are comparing channels, creatives, and campaigns.
Practical UTM Checklist
Before sharing a campaign URL, check:
- Is the destination URL correct?
- Are source, medium, and campaign filled in?
- Is naming lowercase and consistent?
- Are spaces encoded correctly?
- Does the URL still work after the query string is added?
- Is the link intended for external traffic, not internal navigation?
Also check whether the final URL contains private values, draft parameters, or temporary preview tokens. Campaign URLs are often copied into public platforms and partner systems.
Example: Newsletter Link
Destination:
https://example.com/blog/launch-guide
Source:
newsletter
Medium:
email
Campaign:
launch_announcement
Content:
main_ctaGenerated URL:
https://example.com/blog/launch-guide?utm_source=newsletter&utm_medium=email&utm_campaign=launch_announcement&utm_content=main_ctaThis lets you compare the main CTA against other links in the same email if you also tag them with different utm_content values.
Common UTM Mistakes
Using inconsistent casing LinkedIn, linkedin, and linkedIn may split into separate values.
Putting campaign names in the source field The source should identify the traffic origin. Put launch names, promotions, or seasonal labels in utm_campaign.
Tagging internal links Internal UTMs can overwrite original attribution and make acquisition reports unreliable.
Leaving old UTMs on copied links When reusing a previous campaign URL, replace every field. Old utm_campaign values are easy to miss.
Forgetting to encode special characters Spaces, ampersands, and non-ASCII characters should be encoded so the URL remains valid.
Related QuickToolFlow Tools
- UTM Builder for building campaign URLs.
- URL Parser for inspecting query parameters.
- QR Code Generator when you want to turn a campaign URL into a scan-ready QR code.
Related Guides
- UTM Parameters vs Query Parameters for the difference between campaign tags and general URL state.
- URL Query Builder: Encode Parameters when a link needs non-UTM query values too.
- SEO Tools for campaign, metadata, snippets, and publishing utilities.
Keep going