Build UTM URL
This UTM link builder generates campaign-trackable URLs by appending UTM parameters to any base URL. Enter your URL and campaign details below.
What Are UTM Parameters?
UTM parameters are tags appended to a URL that tell analytics tools where your traffic came from. When someone clicks a UTM-tagged link, the parameters are captured by Google Analytics (or any analytics platform that reads query strings) and attributed to that visit's session.
Without UTM tracking, traffic from emails, social posts, and partner links often appears as "direct" or "referral" with no campaign detail. UTM parameters solve this by explicitly labeling each link with its source, channel, and campaign.
The 5 UTM Parameters Explained
| Parameter | Purpose | Example Values |
|---|---|---|
utm_source |
Identifies the traffic source — the specific platform, website, or sender | google, newsletter, facebook, partner_blog |
utm_medium |
Identifies the marketing channel type | cpc, email, social, referral, display |
utm_campaign |
Names the specific campaign or promotion | spring-sale-2025, product-launch, weekly-digest |
utm_term |
Tracks paid search keywords (optional) | running+shoes, crm+software |
utm_content |
Differentiates link variants for A/B testing (optional) | hero-cta, sidebar-link, blue-button |
Common Source / Medium Combinations
Use consistent source and medium values across your campaigns. Here are standard combinations recognized by Google Analytics default channel groupings:
| Channel | utm_source | utm_medium |
|---|---|---|
| Google paid search | cpc | |
| Facebook Ads | cpc | |
| LinkedIn Ads | cpc | |
| Email newsletter | newsletter | |
| Transactional email | company_name | |
| Organic social (Twitter/X) | social | |
| Organic social (LinkedIn) | social | |
| Partner referral | partner_name | referral |
| Display / banner ads | ad_network | display |
| Affiliate links | affiliate_name | affiliate |
Always use lowercase. GA4 is case-sensitive — "Email" and "email" appear as separate channels.
UTM Naming Best Practices
1. Always Use Lowercase
Analytics tools treat Facebook and facebook as different sources. Use lowercase for all parameter values to prevent data fragmentation.
2. Use Hyphens or Underscores Instead of Spaces
Spaces in URLs become %20, which is hard to read in reports. Use spring-sale or spring_sale instead of spring sale. Pick one style and stick with it.
3. Be Descriptive but Concise
Good: utm_campaign=product-launch-widget-pro-2025-q1
Bad: utm_campaign=campaign1
Include enough detail to identify the campaign months later without needing to look it up.
4. Document Your Naming Convention
Keep a shared spreadsheet listing approved values for source, medium, and campaign formats. This prevents team members from creating fb, Facebook, and facebook as three separate sources.
Common UTM Mistakes to Avoid
- Tagging internal links: Never add UTM parameters to links within your own website. This resets session attribution and makes it look like your own site is a traffic source, overwriting the real external source.
- Inconsistent capitalization:
facebookvsFacebookvsfbcreates three separate entries in analytics. Standardize on lowercase. - Using UTMs with Google Ads when auto-tagging is enabled: Google Ads auto-tagging (gclid) is more accurate. Adding manual UTMs on top can cause data discrepancies. Use UTMs for non-Google platforms.
- Forgetting to test links: Always click the generated URL before distributing. A malformed URL means zero tracking data for that campaign.
- Over-tagging everything: Not every link needs UTM parameters. Focus on links in campaigns you actively measure — email, paid ads, social posts, and partner sites.
Privacy & Limitations
- All calculations run entirely in your browser -- nothing is sent to any server.
- Results are estimates and may vary based on actual conditions.
Related Tools
- CSS Unit Converter -- Convert between px, rem, em, percent, vw, and vh
- Typography Scale Generator -- Generate harmonious type scales with modular ratios
- Meta Title Description Length Checker -- Check meta title and description length with live Google SERP preview
- Sitemap XML Generator -- Generate a simple sitemap.xml from a list of URLs
Related Tools
View all toolsUser-Agent Parser
Parse a user-agent string for quick details
URL Parser
Parse a URL into protocol, host, path, and query
Sitemap XML Generator
Generate a simple sitemap.xml from a list of URLs
Robots.txt Generator
Generate a robots.txt file with common rules
Meta Tag Generator
Generate common SEO meta tags for a page
SERP Preview Tool
Preview how your page appears in Google search results
UTM Link Builder FAQ
What are UTM parameters?
UTM parameters are tags added to the end of a URL that tell analytics tools where traffic came from. There are five UTM parameters: utm_source (traffic source like google or newsletter), utm_medium (marketing channel like cpc or email), utm_campaign (campaign name), utm_term (paid search keywords), and utm_content (used for A/B testing or differentiating links). When someone clicks a UTM-tagged URL, the parameters are sent to Google Analytics or similar tools.
Which UTM parameters are required?
Technically, none are strictly required by analytics tools — any UTM parameter present will be recorded. However, best practice is to always include utm_source, utm_medium, and utm_campaign together. Without all three, your analytics reports may show incomplete or misleading data. utm_term and utm_content are optional and used for more granular tracking.
What is the difference between utm_source and utm_medium?
utm_source identifies the specific platform or sender (e.g., google, facebook, mailchimp, partner_blog). utm_medium identifies the marketing channel type (e.g., cpc, email, social, referral). Think of medium as the category and source as the specific entity. For example: utm_source=google&utm_medium=cpc means paid search on Google, while utm_source=google&utm_medium=organic means organic search.
Are UTM parameters case-sensitive?
Yes. Google Analytics treats utm_source=Facebook and utm_source=facebook as two different sources. This is a common mistake that fragments your data. Always use lowercase for all UTM values to keep reports clean. Establish a naming convention and document it so your team stays consistent.
Should I use UTM parameters on internal links?
No. Adding UTM parameters to links within your own website resets the session attribution in Google Analytics. The original traffic source is overwritten, making it appear that the traffic came from your own site instead of the actual external source. Use UTM parameters only on links that appear outside your website — in emails, social media posts, ads, and partner sites.
What values should I use for utm_medium?
Google Analytics recognizes specific utm_medium values for its default channel groupings. Common standard values are: cpc (cost-per-click paid ads), email (email campaigns), social (organic social media posts), referral (partner or third-party links), display (banner ads), affiliate (affiliate links), and organic (organic search, though this is usually auto-tagged). Using these standard values keeps your channel reports organized.
How do UTM parameters appear in Google Analytics 4?
In Google Analytics 4, UTM data appears under Reports > Acquisition > Traffic Acquisition. The Session source/medium dimension shows utm_source and utm_medium combined (e.g., newsletter / email). You can also view utm_campaign under the Session campaign dimension. Use the secondary dimension or exploration reports to see utm_term and utm_content.
Can I use UTM parameters with Google Ads?
Google Ads has its own auto-tagging system (gclid) which is more accurate than manual UTM tagging for Google Ads campaigns. If you enable auto-tagging in Google Ads, you do not need to add UTM parameters — in fact, using both can cause data discrepancies. Use UTM parameters for non-Google ad platforms (Facebook Ads, LinkedIn Ads, etc.) and for organic channels like email and social.
Do UTM parameters affect SEO?
UTM parameters do not directly affect SEO rankings. However, if search engines index UTM-tagged URLs alongside clean URLs, it can create duplicate content issues. To prevent this, ensure your website uses canonical tags pointing to the clean URL (without UTM parameters). Most modern CMS platforms handle this automatically.
What is the best naming convention for UTM campaigns?
Use lowercase, separate words with hyphens or underscores, and include identifiers like date or product. A good pattern is: product_type-date (e.g., widget-pro-launch-2025-q1). Avoid spaces (they become %20 in URLs), special characters, and vague names like campaign1. Document your convention in a shared spreadsheet so all team members use the same format.
How many UTM parameters can I add to a URL?
There are five standard UTM parameters (source, medium, campaign, term, content). You can include all five in a single URL. While URLs have a practical length limit of about 2,000 characters in most browsers, UTM parameters rarely approach this limit. Keep parameter values concise — shorter URLs are easier to share and less likely to break when copied.
Does this UTM builder store my data?
No. All URL building happens entirely in your browser using JavaScript. No URLs, campaign names, or parameter values are sent to any server. When you refresh the page, all inputs are cleared.