Marketingutm builderutm parametersgoogle analytics

UTM Builder

Fill in your URL and campaign details to generate a properly formatted UTM tracking link. Paste it into your ads, emails, and social posts to see exactly which campaigns are driving traffic and conversions in Google Analytics.

Advertisement

Calculator

See your UTM Builder results

Enter your email to unlock results — free forever.

or

No spam, ever. Unsubscribe at any time.

Advertisement

Formula

URL?utm_source=X&utm_medium=Y&utm_campaign=Z[&utm_term=A][&utm_content=B]

UTM parameters are appended to your URL as query string key-value pairs. Google Analytics parses these parameters to attribute sessions to specific campaigns, sources, and mediums. All five parameters are stored as dimensions in GA4 under 'Traffic acquisition'.

How to use the UTM Builder

  1. 1

    Enter your website url

    The full URL of the page you're linking to.

  2. 2

    Enter your campaign source

    Where the traffic originates (e.g. google, facebook, newsletter).

  3. 3

    Enter your campaign medium

    The marketing channel (e.g. cpc, email, social, organic).

  4. 4

    Enter your campaign name

    A name for this specific campaign (e.g. spring_sale, brand_awareness).

  5. 5

    Enter your campaign term

    Optional. The paid keyword for search ads.

  6. 6

    Enter your campaign content

    Optional. Differentiates ads or links within the same campaign (for A/B testing ads).

  7. 7

    Read your results instantly

    Results update in real time as you type.

Advertisement

What are UTM parameters and why they matter

UTM stands for Urchin Tracking Module — a legacy name from Urchin Software, which Google acquired to build Google Analytics. UTM parameters are tags you append to URLs that tell Analytics exactly where a visitor came from.

Without UTM tags, traffic from email campaigns often appears as 'Direct' in Analytics because email clients don't pass referrer headers. Social media links frequently get misattributed. UTM tagging gives you accurate, granular attribution for every campaign you run.

The five UTM parameters explained

utm_source identifies where the traffic came from: google, facebook, newsletter, partner_site. This is the traffic origin.

utm_medium identifies the marketing channel: cpc (paid search), organic, email, social, referral, banner. Think of this as the type of marketing.

utm_campaign identifies the specific campaign: black_friday_2024, retargeting_cart_abandoners, brand_awareness_q1. Use descriptive, consistent naming.

utm_term is for paid search keywords: the specific keyword that triggered your ad. Mostly used in Google Ads.

utm_content differentiates between multiple links in the same campaign — useful for A/B testing two different ad creatives or two links in the same email.

Advertisement

UTM naming conventions

Inconsistent naming is the most common UTM mistake. 'Facebook', 'facebook', and 'FB' will appear as three separate sources in Analytics — fragmenting your data.

Best practices: always use lowercase. Use underscores instead of spaces (spaces get encoded as %20 or +, which can cause mismatches). Be consistent with medium names — pick cpc vs. paid_search and stick with it across all campaigns. Document your conventions in a shared team spreadsheet.

Tips & Insights

Never use UTM tags on internal links

Adding UTMs to links within your own site overwrites the original session source, making every internal click look like a new campaign visit. UTMs are only for external traffic sources.

Use a URL shortener for social posts

Long UTM URLs look spammy in tweets and posts. Run your UTM URL through Bitly or a branded shortener before sharing on social media.

Worked Examples

Google Ads campaign

URL: https://yoursite.com/pricingSource: googleMedium: cpcCampaign: brand_keywords

yoursite.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=brand_keywords — tracks all clicks from this Google Ads campaign separately from organic Google traffic.

Email newsletter

URL: https://yoursite.com/blog/new-postSource: substackMedium: emailCampaign: weekly_digest_apr2025

Attributes newsletter clicks accurately — without UTMs, these visits would appear as 'Direct' in Analytics.

Advertisement

Frequently Asked Questions

Do UTM parameters affect SEO?

No — search engines ignore UTM parameters when crawling and indexing URLs. Google treats your canonical URL and the UTM-tagged version as the same page. UTM parameters are stripped from indexed URLs. There is no SEO downside to using UTM tags.

What's the difference between utm_source and utm_medium?

Source is the who (which platform or publisher sent the traffic). Medium is the how (what type of marketing channel). Google is a source; cpc is a medium. Facebook is a source; social is a medium. You can have the same medium across multiple sources: twitter + social, facebook + social, linkedin + social.

Should I UTM-tag organic social posts?

Yes — many social platforms don't reliably pass referrer data to Analytics. UTM-tagging organic posts lets you see exactly which platforms and posts drive traffic, separate from paid campaigns on the same platform.

What happens if the URL already has query parameters?

Use & instead of ? to append UTMs if the URL already has parameters. E.g. yoursite.com/page?ref=homepage&utm_source=google. This calculator assumes a clean URL — manually adjust the separator if your URL already includes query strings.

Advertisement

Related Calculators