The UTM Architect

Clean data in. Clean insights out.

A UTM builder appends five tracking tags to a link so your analytics can tell where each visitor came from. The five keys are utm_source, utm_medium, utm_campaign, utm_term, and utm_content. Source names the site (twitter), medium the channel (social), campaign the promotion (launch_v1). This builder lowercases every value and swaps spaces for underscores, so Email and email never split into two channels.

How the link is built

  1. Start from your destination URL. A missing https:// is added for you.
  2. Each value is sanitized: lowercased, trimmed, spaces turned into underscores, unsafe characters dropped.
  3. Every non-empty parameter is attached as utm_key=value, joined with & after a ?.

Sample links

Source Medium Campaign Generated URL
Twitter Social Launch V1 https://leanentrepreneur.com?utm_source=twitter&utm_medium=social&utm_campaign=launch_v1
News Letter Email Q3 Promo https://leanentrepreneur.com/pricing?utm_source=news_letter&utm_medium=email&utm_campaign=q3_promo
Google CPC Brand https://leanentrepreneur.com?utm_source=google&utm_medium=cpc&utm_campaign=brand

How it works

Enter your Destination URL.

Fill in the Source (e.g., twitter) and Medium (e.g., social).

The tool automatically sanitizes your inputs (lowercase, no spaces).

Copy the final link.


Why it matters

Google Analytics is case-sensitive. "Email" and "email" are treated as different channels. This tool ruthlessly formats your links (lowercase, no spaces) to ensure your data remains pristine.


The Logic

Sanitization: All inputs are converted to lowercase. Spaces are replaced with underscores. Special characters are removed.

Show Advanced Options

COPIED
The Stack (Recent Links)

Questions people ask

What is a UTM parameter?

A UTM parameter is a tag added to a URL that tells your analytics tool where a click came from. There are five: utm_source, utm_medium, utm_campaign, utm_term, and utm_content. When someone visits a tagged link, the tool reads those tags and files the visit under the right source, channel, and campaign instead of lumping it into direct or referral traffic.

Why force lowercase and remove spaces?

Most analytics tools treat utm values as case-sensitive strings, so Email, email, and EMAIL become three separate channels and your reporting splinters. Spaces are also unsafe in URLs and get encoded as %20, which is ugly and easy to break. This builder lowercases every value and swaps spaces for underscores so one channel stays one channel.

Do I need to fill in all five UTM parameters?

No. Source and medium are the two that matter most and cover where and how the visit arrived, so fill those first. Campaign groups a set of links under one promotion. Term and content are optional: term is for paid-search keywords, content for telling two versions of the same ad or link apart.