UTM URL Builder
Build UTM-tagged URLs for campaign tracking. Enter base URL and UTM parameters (source, medium, campaign, term, content). Generates properly encoded URLs.
Generated UTM URL
All UTM generation and parameter string concatenation happens strictly in your browser. URLs are never logged or transmitted to an external server.
How to build UTM-tagged URLs
- Enter the base URL. The destination page you want to track (e.g., https://example.com/landing-page).
- Fill in UTM parameters. At minimum, use utm_source, utm_medium, and utm_campaign for meaningful tracking.
- Click Build URL. The tool builds a properly encoded URL with all UTM parameters.
- Copy or download. Use Copy URL to copy to clipboard or Download TXT to save as text.
- Parse existing URLs. Paste a UTM-tagged URL and click Parse to extract its parameters.
UTM Parameters: utm_source (where traffic comes from), utm_medium (marketing medium), utm_campaign (campaign name), utm_id (GA4 campaign ID), utm_term (paid keywords), utm_content (content differentiator). All values are automatically URL-encoded.
UTM Tracking Conventions & GA4 Best Practices
| Parameter | Description | Example |
|---|---|---|
utm_source |
Identifies which site or platform sent the traffic. | google, facebook, substack |
utm_medium |
Identifies the marketing channel or communication type. | cpc, email, social, referral |
utm_campaign |
Identifies the specific product promotion or campaign theme. | spring_launch, black_friday |
utm_id |
(GA4) Campaign ID used to map campaign data to imported cost data. | campaign_123 |
utm_term |
Identifies paid search keywords. | running_shoes |
utm_content |
Differentiates similar links within the same ad or email. | cta_button_blue, header_link |
Critical Hygiene Rules
- Enforce Lowercase. GA4 is case-sensitive.
utm_medium=Emailandutm_medium=emailsplit reports into two distinct channels. Always use lowercase. - Avoid Spaces. Use underscores (
_) or hyphens (-) instead of spaces to prevent unsightly%20encodings. - Don't Use UTMs on Internal Links. Tracking internal navigation with UTMs overwrites the original referral source and inflates session counts.
Frequently Asked Questions
- A UTM URL builder appends tracking parameters (utm_source, utm_medium, utm_campaign, etc.) to a destination URL so you can measure where traffic comes from in analytics tools like GA4.
- Yes. GA4 treats
utm_medium=Emailandutm_medium=emailas different values, splitting your reports. This builder lowercases all values by default to prevent that. utm_source,utm_medium, andutm_campaignare required for standard attribution.utm_id,utm_term, andutm_contentare optional but recommended for GA4 cost-data imports and granular reporting.utm_idis the Campaign ID used by GA4 to map campaign data to imported cost data (e.g., ad spend from Google Ads or Facebook). It lets you join click data with spend data.- No. All URL building happens entirely in your browser. Your URLs and parameters never leave your device and are not logged or transmitted to any server.
- Once the page is loaded, the tool works offline because all logic runs client-side.
What Is a UTM URL Builder
A UTM URL builder is a free web-based developer tool that appends Urchin Tracking Module (UTM) parameters to any destination URL so marketers and developers can track exactly where website traffic comes from. By adding standard tags such as utm_source, utm_medium, utm_campaign, utm_term, and utm_content to a link, teams can attribute clicks, conversions, and revenue to specific campaigns, channels, and ads in Google Analytics 4 and other analytics platforms. DevPouch's UTM URL Builder runs entirely in the browser, generates properly encoded campaign URLs instantly, and never sends your links to a server, keeping sensitive URLs private. Because the tool is client-side, there is no signup, no API key, and no risk of leaking campaign links to a third party. It also supports utm_id for GA4 campaign cost data import, so performance marketers can reconcile ad spend with on-site results.
Use Cases
Email marketers tag newsletter links with utm_source=newsletter and utm_medium=email to measure open-to-click performance. Paid search teams append utm_source=google, utm_medium=cpc, and utm_term=keyword to track paid keyword ROI. Social media managers distinguish organic posts from paid ads using utm_medium=social versus utm_medium=paid_social. Affiliate programs use utm_source=partner_site and utm_campaign=affiliate_program to credit referring partners. Developers use utm_content=banner_top versus utm_content=text_link to A/B test creative placement within the same campaign. Content teams also tag blog referral links to see which external sites send the most engaged visitors.
How To Build a UTM URL
- Paste your destination landing page URL into the URL field.
- Enter the traffic source, such as google, newsletter, or facebook, in the Source field.
- Enter the marketing medium, such as cpc, email, social, or referral, in the Medium field.
- Enter a campaign name, such as spring_sale_2024 or product_launch, in the Campaign field.
- Optionally add Campaign ID, Term for paid keywords, or Content to differentiate ads or links.
- Click Generate to create the encoded UTM-tagged URL, then copy or download it.
Stick to a consistent naming convention so reports stay clean: use lowercase values, replace spaces with underscores, and avoid special characters. The live preview panel shows each parameter as you type, and built-in validation flags missing required fields such as source, medium, and campaign before you copy the final link. Use the copy button to place the full tagged URL on your clipboard, or download it as a text file for sharing with stakeholders.