UTM Link Builder

Generate Google Analytics tracking URLs effortlessly to accurately measure the success of your ad campaigns and social posts.

Please enter a valid Website URL to generate the link.
The full website URL (e.g. https://www.yourdomain.com/landing)
The referrer (e.g. google, facebook, newsletter, twitter)
Marketing medium (e.g. cpc, banner, email, social)
Product, promo code, or slogan (e.g. spring_sale)
Identify the paid keywords (e.g. running+shoes)
Differentiate ads (e.g. logolink or textlink)
Generated Tracking URL

What are UTM Parameters?

UTM (Urchin Tracking Module) parameters are short text codes that you add to URLs (or links) to help you track the performance of webpages or campaigns. They tell tracking platforms like Google Analytics exactly where traffic comes from, how it got there, and what prompted the click.

How to use UTM Links

Instead of placing your standard website URL (https://mysite.com) into a Facebook Ad, you attach UTM parameters to the end (https://mysite.com/?utm_source=facebook&utm_medium=cpc&utm_campaign=summer_sale). When users click that link, Facebook's browser naturally passes the entire URL to your website, and Google Analytics reads those variables to categorize the traffic perfectly.

Formatting Best Practices

  • Always use lowercase: UTMs are case-sensitive. utm_source=Email will categorize differently than utm_source=email in most analytics software. Stick to lowercase to maintain clean data.
  • Avoid spaces: Spaces in URLs break formatting across different software. This tool automatically URL-encodes spaces using standard protocols, but using dashes (-) or underscores (_) is widely considered best practice.
  • Source is mandatory: Almost all analytics dashboards require utm_source to be present at a bare minimum for the data to register properly. Medium and Campaign are highly recommended standard practices.

Related Developer Tools

JSON Formatter

Instantly format, minify, and validate JSON strings to find syntax errors.

HTML Minifier & Formatter

Optimize web pages for faster load times, or reverse engineer minified code.

CSS Minifier & Formatter

Compress stylesheets for production builds, or beautify CSS instantly.