UTM Builder

Build campaign URLs with UTM source, medium, campaign, term, and content parameters for consistent attribution and analytics reporting.

How to use this UTM builder

Use this builder before publishing a campaign link so reporting names are consistent across ads, email, social, and partner placements.

  1. Enter the destination URL you want campaign traffic to land on.
  2. Add a source and medium so analytics tools can identify the channel.
  3. Add a campaign name, and optionally use term or content for ad groups, keywords, buttons, or creative variants.
  4. Use consistent lowercase names and separators so reports do not split the same campaign into multiple rows.
  5. Copy the generated URL and use it in your ad, email, social post, or campaign link.

UTM Builder features

  • Build campaign URLs from a destination URL.
  • Add UTM source and medium for channel attribution.
  • Add UTM campaign for campaign-level reporting.
  • Use optional UTM term for keywords or ad groups.
  • Use optional UTM content for buttons, creatives, placements, or variants.
  • Preview the generated tracked URL.
  • Copy the completed URL for ads, email, social posts, and campaign links.

What are UTM parameters?

Campaign parameters documented by Google Analytics are tracking values added to a URL so analytics tools can identify where a visit came from and which campaign drove it. The standard parameters are source, medium, campaign, term, and content.

They help marketers compare channels, ads, emails, social posts, and search campaigns with cleaner attribution data. UTM tags do not directly improve organic search rankings, but they make SEO and campaign reporting easier to measure alongside other marketing traffic.

The most useful UTM strategy is consistent naming. For example, decide whether email traffic is always utm_medium=email, whether paid social is paid_social or cpc, and whether campaign names use dates, launches, regions, or product names. Inconsistent capitalization and separators can fragment reports.

Avoid adding UTM parameters to internal links on your own site. Internal UTMs can overwrite the original acquisition source in analytics reports and make it harder to understand where visitors actually came from.

How the campaign URL is built

The builder parses the destination URL with the browser URL API, adds non-empty UTM values as query parameters, removes blank UTM fields, and percent-encodes values when needed. Existing non-UTM query parameters remain on the URL.

If the destination URL already contains a UTM parameter, the value you enter replaces that parameter. This keeps the final URL from carrying conflicting campaign names. Blank UTM fields are removed so the generated link only includes values you intentionally provided.

UTM builder FAQ

Which UTM fields are required?
Analytics conventions vary, but source, medium, and campaign are the core fields for most campaign reporting.
Do UTM parameters affect SEO?
UTM parameters do not directly improve organic rankings. They are used for campaign attribution and analytics reporting.
What happens if my URL already has query parameters?
The builder keeps existing query parameters and adds or updates the UTM parameters you enter.
Should I use spaces in UTM values?
You can, but many teams prefer lowercase words with underscores or hyphens so reports are easier to scan and compare.
Should I tag links inside my own site?
Usually no. UTMs are meant for inbound campaign links. Internal UTMs can overwrite the original traffic source in analytics reports.

Build campaign links that stay useful in reports

Decide the naming rules before creating links. A small shared vocabulary for source, medium, and campaign prevents one channel from appearing under several spellings. Choose whether values use lowercase, hyphens, or underscores, then document examples. Analytics systems commonly treat differently spelled values as different rows, so consistency matters more than a clever label.

Use source for the specific publisher, platform, list, or partner and medium for the broad traffic type. Use campaign for the initiative that should roll up across channels. Term can distinguish paid-search keywords, and content can distinguish creative, placement, or link variants. The Google Analytics campaign URL guidance explains the parameters its reports recognize.

Do not put personal data, email addresses, customer IDs, private audience labels, or sensitive business information in campaign parameters. A full URL may be stored in browser history, analytics logs, referrer data, screenshots, and shared messages. Use a short internal code when a campaign needs a lookup, and keep the mapping in an access-controlled system.

Start with a clean destination URL. Preserve functional query parameters already used by the page, but remove unrelated tracking copied from another channel. Check whether the destination redirects and whether that redirect retains the new parameters. Some link shorteners, consent tools, app links, and cross-domain flows can drop or rewrite them.

Test the finished link in a private or test session before launch. Confirm the correct page loads, the URL is not double-encoded, and a real-time or debug analytics view records the intended dimensions. Do not rely only on the visible address bar; a single-page application may process navigation without a full page load.

Keep a campaign registry with owner, purpose, destination, launch date, and approved parameter values. That record reduces duplicate names and lets another person interpret a report months later. When a link is printed in a QR code or sent through an email platform, save the exact final URL that was distributed.

UTM parameters identify acquisition context; they do not prove that a campaign caused a conversion. Cookie limits, consent choices, cross-device journeys, redirects, and attribution settings can change what appears in a report. Compare tagged data with platform spend and business outcomes, and use the marketing ROI calculator only after reconciling the revenue and cost period.

Pre-publish checklist

  • Use the approved lowercase source, medium, and campaign vocabulary; check spelling against the campaign registry instead of inventing a near-duplicate.
  • Start from the canonical destination and preserve only functional query parameters that the page genuinely needs.
  • Remove personal data, email addresses, audience traits, customer IDs, draft names, and other values that should not appear in URLs or referrer logs.
  • Open the complete link and confirm its redirects, consent flow, app handoff, fragment, and existing query string survive without double encoding.
  • Verify a visit in the analytics debug or real-time view and confirm the expected source, medium, campaign, term, and content dimensions.
  • Test paid ads, email platforms, QR codes, link shorteners, and social schedulers after their own tracking or wrapping has been applied.
  • Save the exact distributed URL, owner, launch date, destination, naming rationale, and reporting window with the campaign record.
  • Review attribution settings and reconcile reported conversions with orders or leads before using tagged traffic to claim campaign impact.

Built and maintained by utilkit. Updated . Found an issue? Send corrections to contact@utilkit.com

Related Blog Posts

View all