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.

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.

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.

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

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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