UTM Campaign URL Builder
Build correctly-encoded UTM tracking URLs for campaigns, with consistent lower-casing to avoid splitting your analytics reports.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the UTM Campaign URL Builder does
This UTM campaign URL builder will build correctly-encoded UTM tracking URLs for campaigns, with consistent lower-casing to avoid splitting your analytics reports. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for tagging newsletter links so email traffic is attributed correctly. The companion to this one is our twitter card validator.
How to use it
- Paste the destination URL.
- Fill in source, medium and campaign — these three are the important ones.
- Leave lowercase on to keep your reports consistent.
- Copy the URL into your campaign.
How it works
UTM parameters are read by analytics tools to attribute a visit to a campaign. The three that matter are source (where the traffic came from), medium (the channel type) and campaign (which campaign it belongs to). Term and content are optional and used for paid keywords and A/B variants respectively.
Case consistency is the single biggest practical issue. Analytics platforms treat Email and email as different mediums, so a team that is inconsistent ends up with their campaign split across several rows in every report, and the totals are wrong. Forcing lowercase removes the problem entirely, which is why it is on by default.
Spaces are converted to underscores before encoding. A space would otherwise become %20 and show up in reports with the encoding visible, which is ugly and makes filtering harder.
Keep in mind that these parameters are visible in the URL, so do not put anything in them you would not want a visitor to read.
When to use it
- Tagging newsletter links so email traffic is attributed correctly.
- Tracking which social post drove sign-ups.
- Distinguishing two placements of the same link on one page.
Common mistakes to avoid
- Mixing cases across a team, which splits one campaign into several report rows.
- Adding UTM parameters to internal links, which resets the original attribution and corrupts your data.
- Putting personal or sensitive information into a parameter that appears in the URL.
Frequently asked questions
What is the difference between source and medium?
Source is the specific origin — newsletter, facebook, partner-site. Medium is the channel type — email, social, cpc, referral. Source answers "which one", medium answers "what kind".
Should I use UTM parameters on internal links?
No. They overwrite the original campaign attribution, so a visitor who arrived from your newsletter gets re-attributed to an internal link. Use them only on links from outside your site.
Why force lowercase?
Because analytics tools are case-sensitive. Email and email become two separate mediums, splitting one campaign across multiple rows and making every total wrong.