UTM Builder: Generate Campaign Tracking URLs Instantly
UTM parameters are the standard way to track where your website traffic comes from. Every link you share in an email campaign, social post, paid ad, or banner should carry UTM tags so your analytics tool can attribute sessions correctly. Without them, all that traffic lands in the 'Direct' or 'Unassigned' bucket — and you lose visibility into which campaigns are working.
Our UTM Builder generates properly formatted tracking URLs in real time. Enter your base URL and campaign parameters, and the tool assembles the full tagged URL instantly. Quick Presets for Email, Social Media, Paid Search, and Display Ad let you populate common field combinations with one click. A Parameter Breakdown shows each utm_ key and value clearly so you can review before copying.
All processing is 100% browser-based. No URLs or marketing data are sent to any server.
Parameters are URL-encoded automatically. Spaces become %20, special characters are escaped. The base URL has its trailing slash removed before parameters are appended.
UTM Parameter Reference
utm_source (required): The referrer — identifies which site, newsletter, or platform sent the traffic. Examples: google, newsletter, facebook, linkedin, bing.
utm_medium (required): The marketing channel. Examples: cpc (paid search), email, social, display, affiliate, referral.
utm_campaign (required): The specific campaign name. Use underscores for readability. Examples: summer_sale_2024, product_launch_q1, brand_awareness.
utm_term (optional): The paid keyword that triggered the ad. Used primarily for Google Ads and Bing Ads campaigns. Example: running+shoes.
utm_content (optional): Differentiates ads or links pointing to the same URL. Use to A/B test creatives. Examples: header_cta, button_green, sidebar_banner.
UTM Best Practices
Use lowercase consistently. Analytics treats 'Email' and 'email' as different values. Lowercase everything to avoid fragmented reports.
Use underscores, not spaces. Spaces URL-encode to %20 in reports. 'summer_sale' reads cleanly; 'summer%20sale' does not.
Be consistent with naming conventions. If you use 'cpc' for paid search in one campaign, don't switch to 'paid' in another. Inconsistency fragments your channel groupings in GA4.
Never use UTM parameters on internal links. Adding UTM tags to links between pages on your own site resets the session and breaks attribution, making your traffic appear to come from yourself.
Practical Examples
Email Newsletter Campaign
Tracking clicks from a promotional email to your product page.
- 1.Base URL: https://yourstore.com/products/summer-collection
- 2.Source: newsletter
- 3.Medium: email
- 4.Campaign: summer_sale_2024
- 5.Content: header_cta
- 6.Result: https://yourstore.com/products/summer-collection?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale_2024&utm_content=header_cta
Google Ads Paid Search
Tracking a paid search ad with keyword-level granularity.
- 1.Base URL: https://yoursite.com/landing
- 2.Source: google
- 3.Medium: cpc
- 4.Campaign: product_launch_q1
- 5.Term: best+project+management+tool
- 6.Result: https://yoursite.com/landing?utm_source=google&utm_medium=cpc&utm_campaign=product_launch_q1&utm_term=best%2Bproject%2Bmanagement%2Btool
Frequently Asked Questions
What is a UTM parameter?
UTM (Urchin Tracking Module) parameters are tags appended to a URL that tell analytics tools like Google Analytics where your traffic came from. There are five parameters: utm_source, utm_medium, utm_campaign, utm_term, and utm_content.
Which UTM parameters are required?
Google Analytics requires at least utm_source, utm_medium, and utm_campaign for a session to be attributed to a campaign. utm_term and utm_content are optional and used for additional segmentation.
What should I use for utm_source?
Use utm_source to identify the platform or origin sending the traffic. Common values include 'google', 'newsletter', 'facebook', 'instagram', 'twitter', 'linkedin', and 'bing'.
What is the difference between utm_medium and utm_source?
utm_source identifies the specific origin (e.g., 'google', 'newsletter'), while utm_medium identifies the marketing channel type (e.g., 'cpc', 'email', 'social', 'display'). Think of source as the publisher and medium as the channel.
Should I use spaces or underscores in UTM values?
Use underscores or hyphens instead of spaces. Spaces are URL-encoded as %20 or + which makes reports harder to read. For example, use 'summer_sale_2024' instead of 'summer sale 2024'.
Are UTM parameters case-sensitive?
Yes. Google Analytics treats 'Email', 'email', and 'EMAIL' as three different values. Stick to lowercase consistently to keep your reports clean.
Does this tool store my URLs?
No. The UTM Builder runs entirely in your browser. No URLs, parameters, or any input data are sent to or stored on any server.
Can I use UTM parameters with any URL?
Yes, UTM parameters work with any web URL. Just ensure your analytics tool (Google Analytics, Mixpanel, etc.) is installed on the destination page to capture the parameters.