UTM Link Generator
Developer ToolsBuild 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
- 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. - Fill in UTM Source — the platform name in lowercase, no spaces (e.g.
mailchimp,google,instagram). - Fill in UTM Medium — the channel category in lowercase (e.g.
email,cpc,social,qr). - Fill in UTM Campaign — a descriptive campaign identifier using hyphens instead of spaces (e.g.
diwali-sale-2024,onboarding-week-1). - Optionally fill in UTM Term if this is a paid search campaign — enter the target keyword exactly as bid.
- 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-ctaorfooter-linkto distinguish them. - 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-ctaThe generator uses the browser's nativeURLAPI 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/offersSource:chatCampaign:festive-sale-oct24Content: (blank) Output:https://myshop.in/offers?utm_source=whatsapp&utm_medium=chat&utm_campaign=festive-sale-oct24When this link is opened, Google Analytics records one session attributed towhatsapp / chatunder thefestive-sale-oct24campaign — no additional configuration required on the analytics side.
Frequently Asked Questions