UTM Builder

Build UTM tracking URLs for Google Analytics campaigns.

How to use UTM Builder

1

Enter Your Website URL

Paste your base website URL into the 'Website URL' field at the top. For example: https://www.example.com/page. This is the destination link where users will land after clicking your tracked link.

2

Fill in Campaign Source

Type the traffic source in the 'Campaign Source' field (e.g., 'facebook', 'google', 'newsletter'). This identifies where the traffic originates in your Google Analytics reports under the 'Source' dimension.

3

Add Campaign Medium

Enter the traffic medium in the 'Campaign Medium' field (e.g., 'social', 'email', 'cpc', 'organic'). This appears as 'Medium' in Analytics and helps categorize the marketing channel type.

4

Input Campaign Name

Add a descriptive campaign name in the 'Campaign Name' field (e.g., 'summer-sale-2024', 'product-launch'). This groups all related traffic together in your Analytics dashboard under 'Campaign' reports.

5

Optional: Add Campaign Term and Content

Optionally enter 'Campaign Term' (for paid keywords) and 'Campaign Content' (to differentiate ad variants). Leave blank if not needed. These fields help segment performance by keyword or creative version.

6

Copy Your Tracking URL

Click the blue 'Copy URL' button to copy your complete UTM-tagged URL to clipboard. The URL will appear in the output box showing all parameters appended as query strings (utm_source, utm_medium, utm_campaign, etc.).

7

Use Your URL in Marketing

Paste the tracking URL into your social posts, email campaigns, paid ads, or anywhere you promote content. Share it exactly as copied—UTM parameters track every click back to Google Analytics.

Related Tools

UTM builder: create trackable campaign links instantly

UTM builder: create trackable campaign links instantly

A UTM builder generates UTM-tagged URLs for campaign tracking in Google Analytics by appending structured parameters to any link so you can see exactly which source, medium, and campaign drove each visit. Use the free ToolHQ UTM builder to create properly formatted campaign URLs in seconds.

A UTM builder is a marketing tool that constructs URLs with UTM (Urchin Tracking Module) parameters appended as query strings, enabling analytics platforms to attribute website traffic to specific marketing campaigns, channels, and content.

Without UTM parameters, your analytics tool lumps all traffic from email, social media, and paid ads together as "direct" or incorrectly attributes it to organic search. With UTM parameters, you know exactly which newsletter, which Facebook post, or which banner ad sent each visitor. The difference between guessing and knowing which marketing efforts work is usually a properly tagged URL.

Key takeaways

  • Add utm_source, utm_medium, utm_campaign, utm_term, and utm_content to any destination URL
  • Special characters in parameter values are URL-encoded automatically
  • Copy the complete tagged URL with one click, ready to use in any campaign
  • Built in your browser, no URL or campaign data is stored
  • Free, instant, no account needed

What UTM parameters are and how the builder works

UTM parameters are query string tags appended to a URL that analytics platforms read to classify incoming traffic. They were originally developed by Urchin (the analytics tool that became Google Analytics) and are now supported by virtually every analytics platform including GA4, Mixpanel, Amplitude, and Fathom.

The five standard UTM parameters are:

  • utm_source: identifies where the traffic originates. Examples: newsletter, facebook, google, partner-site
  • utm_medium: describes the marketing channel. Examples: email, cpc, social, banner, affiliate
  • utm_campaign: names the specific campaign. Examples: summer-sale, product-launch-q2, retargeting-lapsed-users
  • utm_term: used primarily for paid search to identify the keyword that triggered the ad. Optional for other channels.
  • utm_content: differentiates variations within the same campaign. Examples: button-top, text-link, image-banner. Useful for A/B testing different ad creatives or email placements.

Google's official UTM parameter documentation confirms that source, medium, and campaign are the three required parameters. Term and content are optional but add significant attribution granularity.

The UTM builder combines your destination URL with the parameters you specify, URL-encodes any spaces or special characters in the values, and outputs the complete tagged URL. A URL tagged with UTM parameters looks like:

https://example.com/landing-page?utm_source=newsletter&utm_medium=email&utm_campaign=july-promo

Without the builder, constructing this manually means remembering the exact parameter names, correctly encoding values, and ensuring the ? and & separators are in the right places. The builder handles all of that automatically.


When UTM tracking makes the biggest difference

Email marketing campaigns. Email clients do not pass referral headers, so traffic from email typically appears as "direct" in analytics. UTM parameters on every email link correctly attribute that traffic to email. Without them, you cannot measure email's contribution to conversions.

Social media posts and ads. Links shared organically on Facebook, LinkedIn, or Twitter/X show up with different attribution in different analytics tools. UTM parameters override that ambiguity and consistently classify the traffic by the specific post or campaign.

Paid advertising. For paid social and display ads, UTM parameters complement the tracking pixels those platforms use. They provide attribution data in your own analytics tool rather than relying solely on the ad platform's self-reported numbers.

Affiliate and partnership links. When partners drive traffic to your site, UTM-tagged links identify which partner sent each visitor. This makes partner performance measurement straightforward and objective.

A/B testing different content placements. If you send two versions of an email with the CTA button in different positions, using utm_content=button-top and utm_content=button-bottom on the respective links shows which placement drives more clicks.

Mini-story: Claire, a 32-year-old digital marketing manager at a software company in London, had been sending monthly newsletters for two years. Her analytics showed a traffic spike on newsletter send days, but it all appeared as "direct" traffic. She had no idea which email links drove conversions versus which were just browsed and closed. She started using the UTM builder to tag every link in every newsletter with utm_source=newsletter&utm_medium=email&utm_campaign=[month-name]. Within two months she had clear data: her product comparison page drove 3x more trial signups from email than any other linked page. She restructured the newsletter to lead with that link.

Build your UTM-tagged URL now


How to use the UTM builder: step by step

  1. Enter the destination URL. Paste the full URL of the page you want to link to. Include https://. This is the page your campaign traffic will land on.

  2. Fill in utm_source. Enter where the link will be placed. Use lowercase, no spaces: newsletter, facebook, google, linkedin, partner-xyz.

  3. Fill in utm_medium. Enter the marketing channel type: email, cpc, social, banner, organic-social.

  4. Fill in utm_campaign. Name the specific campaign: spring-sale-2026, product-launch, webinar-june. Use a consistent naming convention so you can filter campaigns in analytics.

  5. Optionally add utm_term and utm_content. For paid search, add the keyword in utm_term. For content differentiation (two versions of the same ad), add a descriptor in utm_content.

  6. Copy the tagged URL. The builder outputs the complete URL with all parameters appended and correctly encoded. Copy it and use it in your campaign, email, or ad.


UTM tracking best practices

Establish a naming convention and document it. Inconsistent UTM values are the most common way to corrupt analytics data. If one email uses utm_medium=email and another uses utm_medium=Email (capital E), analytics counts them as two different channels. Define lowercase conventions for every parameter and share them with your team.

Never use UTM parameters on internal links. UTM parameters on internal links reset the session source in Google Analytics, making it appear that the visitor came from your own site mid-session. Only use UTM parameters on external links pointing to your site.

Shorten UTM-tagged URLs before sharing on social media. A long URL with multiple UTM parameters looks cluttered and reduces click rates on social posts. Use the ToolHQ link shortener to create a clean short URL that preserves the full UTM parameters behind the scenes.

Use consistent campaign names across channels. If you run a campaign on email, Facebook, and Google Ads simultaneously, using the same utm_campaign value for all three lets you aggregate cross-channel performance for that campaign in your analytics.

Mini-story: Marco, a 44-year-old agency owner in Milan, was reporting on a client's Q1 marketing performance. The client's analytics showed paid social and email as nearly equal traffic drivers. But when Marco dug deeper, he realized the email team had been using utm_medium=Email (capital E) in some sends and utm_medium=email (lowercase) in others. Analytics was splitting the email traffic across two channels, making paid social look proportionally more important than it was. After correcting the naming convention and noting the discrepancy in the report, the recalculated email traffic share was 40% higher than the initial view suggested. The client reallocated budget away from social.

Once your UTM-tagged URLs are built, preview how they will look when shared on social media with the Open Graph preview tool. For social media posts, the social media image resizer ensures your promotional images are the right size for each platform.


Frequently asked questions

What does UTM stand for?

UTM stands for Urchin Tracking Module, named after Urchin Software, the analytics company Google acquired in 2005 to build Google Analytics. The UTM parameter standard has remained the industry convention for campaign tracking ever since.

Which UTM parameters are required?

utm_source, utm_medium, and utm_campaign are the three required parameters. utm_term and utm_content are optional but add useful granularity for paid search keyword tracking and A/B testing respectively.

Will UTM parameters affect my page's SEO?

No. Google treats UTM parameters as query strings and uses the canonical URL for indexing. However, if you share UTM-tagged URLs publicly on social media and they get indexed, use a canonical tag on the landing page to point to the clean URL.

Can I use UTM parameters with any analytics tool?

Yes. UTM parameters are a universal standard supported by Google Analytics (UA and GA4), Mixpanel, Amplitude, Fathom, Heap, and most other web analytics platforms.

Should I use manual UTM parameters for Google Ads, or rely on auto-tagging?

Google Ads has a feature called auto-tagging that automatically appends a gclid (Google Click ID) parameter to your ad URLs when a user clicks. If you use Google Analytics 4 as your analytics platform, auto-tagging is generally the recommended approach: it passes more granular data (match type, network, keyword) to GA4 than manual UTM parameters can. If you also add manual UTM parameters to Google Ads URLs, GA4 may prioritize the manual UTMs, potentially reducing the data detail you get from auto-tagging. The standard recommendation is: use auto-tagging for Google Ads + GA4 combinations, and use manual UTM parameters for all other channels (email, social, affiliates, display outside Google). If you use a non-Google analytics platform (Mixpanel, Amplitude, Fathom), manual UTM parameters are necessary since those platforms do not read the gclid.

Is my campaign data stored when I use the builder?

No. The UTM builder runs entirely in your browser. Your destination URL, campaign names, and source values are not sent to any server or stored anywhere.


The short version

A UTM builder turns marketing attribution from a guessing game into a fact. By appending structured parameters to every campaign link, you can see exactly which source, medium, campaign, and content drove each click and conversion.

ToolHQ's free UTM builder handles the URL encoding, formats the complete tagged URL, and runs entirely in your browser with no data storage.

Create your UTM-tagged URL now

Shorten your tagged URLs with the link shortener before sharing on social media. Check how your links will appear when shared with the Open Graph preview tool. Browse all social tools on ToolHQ.