UTM link generator

Add UTM source, medium, campaign, term and content parameters to any URL and track campaigns in Google Analytics. Free UTM builder.

Track exactly where your visitors come from

UTM parameters are tags added to the end of a link that tell analytics tools like Google Analytics where a visit came from. Without them, clicks from your newsletter, a social post or a partner's site can all end up lumped into "direct" or "referral" traffic. With them, you can see which campaign, channel and even which button drove each visit.

Enter your page URL and fill in the five standard fields: utm_source (who sent the traffic, such as newsletter or instagram), utm_medium (the channel, such as email, social or cpc), utm_campaign (the campaign name), utm_term (paid keywords) and utm_content (to tell apart two links in the same ad or email). The tool builds a valid, encoded link.

Example: https://mybotsy.com/?utm_source=newsletter&utm_medium=email&utm_campaign=october_toolbox.

How to use the utm link generator

  1. Paste the URL of the page you're sending people to.
  2. Fill in UTM source, medium and campaign (the essentials).
  3. Optionally add UTM term and content.
  4. Generate the link and use it in your post, email or ad.
  5. Check the results in your analytics under traffic acquisition or campaigns.

Examples

A newsletter link

Input:

URL: https://mybotsy.com/pricing
source: newsletter, medium: email, campaign: spring sale

Output:

https://mybotsy.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring+sale

The space in the campaign name becomes +, which analytics tools read as a space.

A URL with existing parameters

Input:

URL: https://mybotsy.com/?ref=42#plans
source: instagram

Output: https://mybotsy.com/?ref=42&utm_source=instagram#plans

Existing parameters are kept and the #fragment stays at the end, where it belongs.

Common uses

  • Tracking newsletter clicks separately from social media.
  • Comparing performance of different social posts or influencers.
  • Measuring paid campaigns on platforms without auto-tagging.
  • A/B testing two links in the same email using utm_content.
  • Tracking QR codes on flyers and packaging.

Tips and things to know

  • Be consistent: pick lowercase names and stick to them. Analytics treats Email and email as different values.
  • Never use UTM tags on internal links within your own site; they reset the original source of the session.
  • Keep a simple spreadsheet of the UTM names you use so your team stays consistent.
  • Long tagged links look messy in posts. Check the final link with the URL parser and make sure redirects keep the tags with the URL redirect checker.

Edge cases and limitations

  • Values are case-sensitive in Google Analytics: Newsletter and newsletter show up as two sources. Pick lowercase and stick to it.
  • Use hyphens or underscores instead of spaces (spring-sale) for cleaner, easier-to-read links.

Frequently asked questions

What are UTM parameters?

Tags like utm_source, utm_medium and utm_campaign added to a URL so analytics tools can attribute visits to specific campaigns.

Which UTM parameters are required?

Google Analytics needs at least utm_source to attribute a campaign, and source, medium and campaign together are the recommended minimum.

Do UTM tags affect SEO?

No, as long as you use them on external campaign links and your pages have proper canonical tags.

Should I use UTM links for Google Ads?

Google Ads auto-tagging (gclid) is usually better for Ads traffic. Use UTMs for other platforms and channels.

Where do I see UTM data in Google Analytics 4?

In the Traffic acquisition and User acquisition reports, using dimensions such as session source/medium and session campaign.

Related tools

Popular free tools