HomeGeneratorsDeveloper ToolsUTM Link Generator

UTM Link Generator

Developer Tools

Build UTM-tagged URLs for Google Analytics tracking. Add source, medium, campaign, and content parameters to any link — free, instant, no account needed.

Reviewed by the thecalcu.com team · Last updated July 6, 2026

What is a UTM Link?

UTM parameters are small text tags appended to the end of a URL that tell analytics tools, such as Google Analytics 4 or Adobe Analytics, exactly how a visitor arrived at your page. When you run a campaign across email, social media, paid ads, or influencer posts without UTM tags, every click lands in your analytics as unattributed traffic, making it impossible to measure which channel, which campaign, or which specific creative drove results.

A UTM Link Generator assembles these tagged URLs for you: you enter the destination page and fill in the parameter fields, and the tool outputs a properly formatted URL with all parameters correctly encoded. Without a generator, marketers manually string together URLs like https://example.com/page?utm_source=newsletter&utm_medium=email&utm_campaign=launch, which is error-prone and inconsistent, a single typo or capitalisation difference fragments your data across multiple rows in your reports.

The five standard UTM parameters are:

  • utm_source, the specific platform (e.g. newsletter, google, facebook)
  • utm_medium, the channel category (e.g. email, cpc, organic)
  • utm_campaign, the campaign name (e.g. diwali-sale-2024, product-launch)
  • utm_term, the paid search keyword (primarily for PPC campaigns)
  • utm_content, differentiates multiple links in the same campaign (for A/B testing creative)

Only the first three are typically required; utm_term and utm_content are optional and situation-specific. Once tagged URLs are in place, your analytics platform groups all traffic by source and medium automatically, giving you a clear view of which campaigns drive the most valuable visitors.

Use this generator alongside robots.txt Generator and Sitemap.xml Generator to build out your full technical marketing stack, controlling what search engines crawl while accurately measuring what human traffic converts.

Why Use a UTM Link Generator?

Manually building UTM URLs is tedious and inconsistent. A team of three marketers working independently will often write utm_source=Newsletter, utm_source=newsletter, and utm_source=Email Newsletter for the same channel, three separate rows in Analytics for what is actually the same traffic. This fragments reporting and makes cross-campaign comparisons meaningless.

A dedicated generator solves this in two ways: it enforces consistent parameter names through form fields rather than free-text editing, and it handles URL encoding automatically, so a campaign named "Summer Sale 2024" becomes utm_campaign=Summer+Sale+2024 rather than breaking your URL with an unencoded space.

A concrete example: a SaaS company running a product-launch email campaign to 50,000 subscribers can tag the primary CTA button link with utm_source=mailchimp&utm_medium=email&utm_campaign=product-launch-jun24 and a secondary footer link with the same source and medium but utm_content=footer-link. When the campaign ends, Analytics shows exactly how many conversions came from the email CTA versus the footer, which informs the design of the next campaign.

The Privacy Policy Generator is a companion tool for marketers setting up new campaign landing pages, once your UTM tracking is in place, make sure your site's privacy policy discloses that analytics cookies are used.

Who Should Use This Generator?

Digital marketers and campaign managers, anyone running paid, email, or social campaigns needs UTM tags on every link. This tool is the fastest way to produce consistent, correctly encoded URLs before distribution.

Growth and performance teams, teams running A/B tests on email CTAs or ad creatives use utm_content to differentiate links pointing to the same destination, so conversion data is split by variant in the analytics dashboard.

Content and SEO teams, even organic campaigns benefit from UTM tagging. When sharing a blog post in a newsletter, tagging with utm_medium=email distinguishes newsletter-driven readership from organic search traffic in reporting.

Freelance marketers and consultants, client reporting depends on accurate attribution. Using a generator ensures every link handed to a client or scheduled in a tool like Hootsuite or Mailchimp is correctly tagged, eliminating the "where did this traffic come from?" question in monthly reports.

Small business owners, even a single-person business sending a monthly WhatsApp broadcast or Instagram story swipe-up benefits from knowing which channel drove website visits. The generator requires no technical knowledge; fill in four fields and copy the link.

Pair this with the Sitemap.xml Generator if you are also launching new landing pages and need to submit them to Google Search Console quickly.

What Insights Does the UTM Link Generator Give You?

The generator produces two outputs.

UTM-Tagged URL is the primary output, the complete destination URL with all your parameters appended as query string arguments. This is the link to copy into your email template, ad platform, social post scheduler, or QR code generator. It is human-readable, so you can verify at a glance that source, medium, and campaign are spelled correctly before distributing.

URL-Encoded Version is the same link with special characters converted to percent-encoding (spaces become %20, ampersands within parameter values become %26). Most modern platforms handle raw UTM URLs correctly, so you will use this version only when pasting into systems that fail on unencoded characters, certain API request bodies, spreadsheet HYPERLINK() formulas, or legacy CMS fields with strict URL validation.

Understanding both outputs prevents a common mistake: pasting the encoded version into an HTML href attribute when the browser would double-encode it, resulting in a broken link.

How to use this UTM Link calculator

  1. Enter the full destination URL in the Base URL field, include the protocol (https://). The tool validates the URL format and returns an error if it is not parseable.
  2. Fill in UTM Source, the platform name in lowercase, no spaces (e.g. mailchimp, google, instagram).
  3. Fill in UTM Medium, the channel category in lowercase (e.g. email, cpc, social, qr).
  4. Fill in UTM Campaign, a descriptive campaign identifier using hyphens instead of spaces (e.g. diwali-sale-2024, onboarding-week-1).
  5. Optionally fill in UTM Term if this is a paid search campaign, enter the target keyword exactly as bid.
  6. Optionally fill in UTM Content if you have multiple links in the same campaign pointing to the same destination, use a short descriptor like hero-cta or footer-link to distinguish them.
  7. Copy the UTM-Tagged URL from the output field and paste it into your email template, ad manager, or social scheduling tool. Use the URL-Encoded Version only when the destination field requires it.
Show formula & methodology ↓Show less ↑

Formula & Methodology

UTM URLs follow the standard query string format defined in RFC 3986. Parameters are appended to the base URL after a ? delimiter and joined with &:

https://example.com/landing-page   ?utm_source=newsletter   &utm_medium=email   &utm_campaign=summer-sale-2024   &utm_content=hero-cta

The generator uses the browser's native URL API to append parameters, this guarantees correct encoding of special characters and prevents double-encoding. Parameters are added in the order: source → medium → campaign → term → content. If the base URL already contains a query string, the UTM parameters are appended to it with & rather than ?.

Worked example:

Base URL: https://myshop.in/offers
Source: whatsapp
Medium: chat
Campaign: festive-sale-oct24
Content: (blank)

Output: https://myshop.in/offers?utm_source=whatsapp&utm_medium=chat&utm_campaign=festive-sale-oct24

When this link is opened, Google Analytics records one session attributed to whatsapp / chat under the festive-sale-oct24 campaign, no additional configuration required on the analytics side.

Frequently Asked Questions

What is a UTM parameter?
A UTM parameter is a snippet of text appended to a URL that tells analytics tools, most commonly Google Analytics, exactly where a visitor came from. The five standard parameters are utm_source (the platform), utm_medium (the channel type), utm_campaign (the campaign name), utm_term (the keyword), and utm_content (the specific creative). They were originally developed by Urchin Software, which Google acquired, giving UTM its name.
What are the five UTM parameters and what does each one mean?
utm_source identifies the platform sending traffic, such as 'newsletter' or 'google'. utm_medium describes the marketing channel, such as 'email', 'cpc', or 'social'. utm_campaign groups traffic by campaign name, such as 'summer-sale-2024'. utm_term captures the paid search keyword that triggered an ad. utm_content differentiates multiple links within the same campaign, useful for A/B testing two differently worded calls-to-action in the same email.
Which UTM parameters are required and which are optional?
Only utm_source, utm_medium, and utm_campaign are treated as required in most analytics platforms, without them, traffic may be grouped as 'untracked' rather than attributed to the campaign. utm_term is used primarily for paid search and is optional for email or social campaigns. utm_content is entirely optional and is most useful when you want to distinguish between two links pointing to the same destination within a single campaign.
What is the difference between utm_source and utm_medium?
utm_source names the specific platform, for example 'google', 'facebook', or 'mailchimp'. utm_medium names the category of channel, for example 'cpc', 'social', or 'email'. Think of medium as the type of road and source as the specific road. A single source can be used with multiple mediums: 'google / cpc' for a paid ad and 'google / organic' for search engine results are both valid but separate attribution.
How do I build a UTM link?
Enter your destination URL in the Base URL field, then fill in UTM Source (e.g. 'newsletter'), UTM Medium (e.g. 'email'), and UTM Campaign (e.g. 'product-launch'). The generator automatically appends the parameters in the correct format, no manual URL editing or special encoding knowledge required. Copy the generated UTM-Tagged URL and use it wherever you would normally use the plain destination link.
Do UTM parameters affect SEO?
UTM parameters do not help or hurt your own SEO rankings directly, search engines index the canonical URL without UTM parameters. However, if UTM-tagged URLs are shared publicly and other sites link to them, search engines may crawl multiple versions of the same page. Prevent duplicate content issues by setting a canonical tag on your landing pages pointing to the parameter-free URL, which is standard practice.
Should I use lowercase or uppercase in UTM parameters?
Always use lowercase. Most analytics platforms, including Google Analytics 4, treat 'Email' and 'email' as two separate values, which splits your data and makes reports harder to read. Establish a naming convention before your first campaign and document it: lowercase only, hyphens instead of spaces (e.g. 'summer-sale-2024' not 'Summer Sale 2024'), and consistent abbreviations across teams.
Can UTM parameters track clicks in WhatsApp or other messaging apps?
Yes. Any link shared via WhatsApp, Telegram, or SMS can carry UTM parameters. When the recipient opens the link in a browser, the UTM values are read by the analytics script on the landing page and attributed accordingly. For WhatsApp campaigns, a common convention is utm_source=whatsapp and utm_medium=chat. Note that if the link is opened inside WhatsApp's in-app browser, some privacy features in newer Android and iOS versions may strip referrer data, the UTM parameters in the URL itself remain unaffected.
Is the URL-Encoded Version different from the standard UTM URL?
The URL-Encoded Version replaces spaces and special characters with percent-encoded equivalents (e.g. a space becomes %20). Use the standard UTM-Tagged URL wherever you can, in email HTML, social posts, and most ad platforms. Use the encoded version only when pasting into a field that does not handle raw URLs correctly, such as certain API parameters or spreadsheet formulas that would otherwise break on spaces or ampersands.
Is my URL or campaign data stored or shared when I use this generator?
No. The UTM Link Generator runs entirely in your browser, no data you enter is sent to any server or stored anywhere. The URL is assembled client-side using JavaScript and never leaves your device. You can safely enter real campaign URLs and production destination pages without any privacy concern.
Can I use UTM parameters with shortened URLs like bit.ly?
Yes, and it is a common workflow. Build the full UTM-tagged URL first using the generator, then paste the complete tagged URL into your URL shortener. The shortener stores the full UTM URL as the destination, so when someone clicks the short link, they are redirected to your landing page with all UTM parameters intact and tracked by analytics.
What happens if I forget to add UTM parameters to a campaign link?
Traffic that arrives without UTM parameters is typically attributed to 'Direct / None' in Google Analytics, even if it actually came from an email or social post. This makes your direct traffic metrics look higher than they are and makes it impossible to measure the return on that campaign accurately. Retrospectively fixing this is not possible, UTM parameters must be on the link before it is distributed. Using a UTM generator as a required step in your campaign publishing workflow prevents this.
Also known as
UTM buildercampaign URL builderGoogle Analytics link builderUTM parameter generatormarketing link trackerutm tag generator