UTM Link Generator
Build tracking URLs, parse existing UTM links, use marketing templates, and validate naming conventions. Supports generation, parsing, and real-time validation.
Marketing Scene
Naming Convention
What Are UTM Parameters?
UTM (Urchin Tracking Module) parameters are tags added to URLs to track the effectiveness of online marketing campaigns. They help you identify where traffic comes from in analytics tools like Google Analytics 4 (GA4).
UTM Field Reference
| # | Parameter | Description |
|---|---|---|
| 1 | utm_source | Source β Where the traffic comes from (e.g., google, facebook, newsletter). |
| 2 | utm_medium | Medium β The marketing channel (e.g., cpc, email, social, referral). |
| 3 | utm_campaign | Campaign β The specific campaign name (e.g., summer_sale, product_launch). |
| 4 | utm_term | Term β Keywords for paid search ads (e.g., running+shoes). |
| 5 | utm_content | Content β Differentiates similar content or links within the same ad (e.g., blue_button). |
| 6 | utm_id | Campaign ID β A unique ID for the campaign. |
How to Create UTM Links
- 1Enter the target URL (the page users will land on).
- 2Select a marketing template or fill in UTM fields manually.
- 3Choose a naming convention (recommended: all lowercase).
- 4Review warnings and fix any issues.
- 5Copy the generated link and use it in your campaign.
Usage Examples
| Scenario | Parameters | Result |
|---|---|---|
| Facebook ad campaign | source=facebook, medium=cpc, campaign=summer | ?utm_source=facebook&utm_medium=cpc&utm_campaign=summer |
| Email newsletter | source=newsletter, medium=email, campaign=weekly | ?utm_source=newsletter&utm_medium=email&utm_campaign=weekly |
| QR code on flyer | source=offline, medium=qr_code, campaign=launch | ?utm_source=offline&utm_medium=qr_code&utm_campaign=launch |
| Google search ad | source=google, medium=cpc, campaign=shoes | ?utm_source=google&utm_medium=cpc&utm_campaign=shoes |
| Partner referral | source=partner, medium=referral, campaign=affiliate | ?utm_source=partner&utm_medium=referral&utm_campaign=affiliate |
Email Marketing Example
For email campaigns, use utm_source=newsletter, utm_medium=email. Add the campaign name and content identifier to track specific emails and links within them.
Social Media Example
For social media ads, use the platform name as utm_source (e.g., facebook, instagram) and utm_medium=cpc. Add campaign and content identifiers to track specific ads.
UTM Naming Best Practices
- β’ Always use lowercase β UTM parameters are case-sensitive.
- β’ Use underscores or hyphens instead of spaces.
- β’ Do not include personal information (names, emails, phone numbers).
- β’ Be consistent across campaigns.
- β’ Keep names short but descriptive.
- β’ Document your naming convention for your team.
Viewing UTM Data in GA4
In Google Analytics 4, go to Reports > Acquisition > Traffic acquisitions. You can filter by Session source, Session medium, and Session campaign to see how each UTM-tagged link performs.
UTM vs Google Ads Auto-tagging
Google Ads uses its own auto-tagging system (gclid parameter) by default. If you run Google Ads, you typically donβt need manual UTM parameters. Use UTM for non-Google channels like email, social media, and partner links.
Common Mistakes
- β Inconsistent casing (Summer_Sale vs summer_sale creates separate campaigns).
- β Using spaces in parameter values.
- β Including personal data in UTM parameters.
- β Forgetting to encode special characters.
- β Using different source names for the same platform.
- β Not documenting the naming convention for the team.
Limitations
- β’ This tool generates URLs only; it does not send or track data.
- β’ UTM parameters must be supported by your analytics platform.
- β’ Some platforms may strip or modify UTM parameters.
- β’ Very long URLs may be truncated by some messaging apps.
Frequently Asked Questions
What is the purpose of UTM links?
UTM links help you track where website traffic comes from in analytics tools. They let you measure the effectiveness of specific marketing campaigns.
Which UTM parameters are required?
utm_source and utm_medium are the most important. utm_campaign is also highly recommended. utm_term and utm_content are optional.
Are UTM parameters case-sensitive?
Yes. utm_campaign=Summer_Sale and utm_campaign=summer_sale are treated as different campaigns in analytics.
What if the URL already has parameters?
UTM parameters are appended after existing parameters with an & separator. For example: example.com?id=10&utm_source=google.
Do UTM links affect SEO?
No. UTM parameters do not affect search engine rankings. However, avoid using UTM on internal links as they may create duplicate content issues.
Why does GA4 show (not set)?
This usually means the UTM parameters were missing, malformed, or stripped before reaching GA4. Check that all required parameters are present and correctly formatted.
Can internal links use UTM?
It is not recommended. UTM parameters are designed for external traffic tracking. Using them on internal links can cause duplicate content and confusing analytics.
Can UTM links be modified after creation?
Yes, but changing UTM parameters creates a new tracking entry in analytics. Previous data will not be updated.
Are generated links saved?
No. All URL generation happens locally in your browser. History is stored only in your browserβs local storage and is never sent to any server.
Can UTM links generate QR codes?
This feature is planned for a future update. You can use any online QR code generator with the generated UTM link.
Related Tools
Related Articles
- π Complete guide to UTM parameters for beginners
- π UTM best practices for email marketing
- π How to track social media campaigns with UTM
- π UTM naming conventions for large teams
- π GA4 traffic acquisition reports explained