UTM Link Generator
Build a campaign tracking URL with utm_source, utm_medium, utm_campaign, utm_term, and utm_content. One-click presets for X (Twitter), Facebook, LinkedIn, and email. Values are cleaned to lowercase with hyphens. Runs in your browser.
Landing page URL
Preset
Fills source and medium with the standard values for that channel. Pick Custom to type your own.
Campaign parameters
Twitter, twitter, and X as three different sources, so pick one spelling and reuse it everywhere. The first parameter is joined with ? and the rest with &. This tool handles that for you, and it keeps any query string or #fragment your URL already has. Links are built in your browser, nothing is sent to a server.About the UTM Link Generator
The UTM Link Generator builds campaign tracking URLs. You enter your landing page URL, pick a channel preset (X, Facebook, Instagram, LinkedIn, YouTube, newsletter, or Google Ads) or type your own values, and the tool appends utm_source, utm_medium, utm_campaign, utm_term, and utm_content in the correct format. It joins the first parameter with a question mark and the rest with ampersands, URL-encodes every value, and keeps any query string or #fragment your URL already has. A cleanup option lowercases values and replaces spaces with hyphens so your reports stay consistent. Everything runs in your browser, so the links you build are never sent to a server.
How it works
- Paste your landing page URL, including https:// at the start.
- Pick a preset for the channel you are sharing on. The X (Twitter) preset sets utm_source=twitter and utm_medium=social. Pick Custom to type your own source and medium.
- Name the campaign in utm_campaign, for example spring-launch. Add utm_term or utm_content if you need them.
- Copy the finished URL from the output panel and use it in your post, ad, or email.
Features
- Presets for X (Twitter), Facebook, Instagram, LinkedIn, YouTube, newsletter, and Google Ads that fill source and medium with the standard values.
- Supports all five UTM parameters: source, medium, campaign, term, and content.
- Cleans values to lowercase with hyphens instead of spaces, so twitter and Twitter never split into two rows in your reports. You can turn this off.
- Handles URLs that already have a query string or #fragment: parameters merge correctly and the fragment stays at the end.
- URL-encodes every value and shows a parameter breakdown under the finished link.
- Fully client-side. No accounts, no logging, nothing sent to a server.
Frequently asked questions
What UTM values should I use for Twitter (X)?
The common convention is utm_source=twitter and utm_medium=social, then a utm_campaign name that describes the push, such as spring-launch. Some teams now use utm_source=x instead. Either works, but pick one and use it for every link so your analytics groups the traffic under a single source.
What does each UTM parameter mean?
utm_source is the site or platform sending the traffic (twitter, facebook, newsletter). utm_medium is the channel type (social, email, cpc). utm_campaign names the specific promotion or launch. utm_term usually holds a paid search keyword. utm_content tells apart links in the same campaign, for example image-link versus text-link in one tweet.
Why do lowercase and hyphens matter?
Google Analytics and most other tools are case-sensitive, so Spring_Launch and spring-launch count as two separate campaigns and split your numbers. Spaces get encoded as %20 and look messy in reports. Sticking to lowercase letters, numbers, and hyphens keeps every report clean and easy to filter.
Do UTM parameters affect SEO or change the page?
They do not change what the page shows. They are read by analytics scripts only. To avoid search engines indexing tagged duplicates of a page, make sure the page has a canonical tag pointing to its clean URL, which most CMS platforms including WordPress add by default.
My URL already has a question mark in it. Will this break?
No. The tool detects an existing query string and joins the UTM parameters with ampersands instead of adding a second question mark. If the URL already contains a utm parameter, the new value replaces it, and a #fragment stays at the end of the link where browsers expect it.
Where do I see UTM data in Google Analytics 4?
Open Reports, then Acquisition, then Traffic acquisition, and switch the dimension to Session source / medium. Campaign, term, and content have their own dimensions you can add as a secondary column or use in Explorations. Data appears once visitors start clicking the tagged link.