This tool generates properly formatted campaign tracking URLs with UTM parameters for Google Analytics 4 and other analytics platforms. Select a preset template for common platforms or enter custom values, then copy the tagged URL directly into your campaigns.
UTM (Urchin Tracking Module) parameters are query string tags appended to URLs that tell analytics platforms exactly where your traffic originates. When a user clicks a UTM-tagged link, Google Analytics 4 reads these parameters and attributes the session to the correct source, medium, and campaign.
There are five standard UTM parameters. Three are required for proper tracking; two are optional.
| Parameter | Required | Purpose | Example |
|---|---|---|---|
utm_source |
Yes | Identifies the traffic source (website, platform, or sender) | google, facebook, newsletter |
utm_medium |
Yes | Identifies the marketing medium or channel type | cpc, email, social |
utm_campaign |
Yes | Identifies the specific campaign name, promotion, or initiative | spring_sale_2026, product_launch |
utm_term |
No | Identifies paid search keywords (primarily for manual CPC campaigns) | running+shoes, utm+builder |
utm_content |
No | Differentiates ad creatives or link placements within the same campaign | header_banner, cta_button |
GA4 maps utm_source to the Session source dimension, utm_medium to Session medium, and utm_campaign to Session campaign. These three parameters are the foundation of campaign attribution in every Google Analytics report.
Follow these four steps to generate a tagged campaign URL:
Paste the full landing page URL including https://. The tool validates the URL format before generating parameters. If your URL already contains query parameters (e.g., ?product=shoes), the tool appends UTM parameters correctly using & instead of a second ?.
Select a platform preset (Google Ads, Facebook, Email, LinkedIn) to auto-fill common source/medium combinations. Alternatively, type custom values into each field. The campaign name is always required regardless of which method you choose.
The tool generates the complete URL in real time as you type. Click the copy button to place it on your clipboard. Previously generated URLs are saved in your browser’s local storage for reference.
After deploying the tagged URL, monitor performance in GA4 under Reports > Acquisition > Traffic acquisition. Use the Session campaign dimension to filter by campaign name, or switch to Session source/medium for channel-level analysis.
Consistent UTM tagging prevents fragmented data in your analytics reports. Follow these conventions:
utm_source=Facebook and utm_source=facebook as two different sources. Always use lowercase to avoid splitting your data across duplicate entries.%20 in URLs, which makes reports harder to read. Use spring-sale or spring_sale instead of spring sale. Pick one convention and stick with it across all campaigns.fb-retargeting-q1-2026 is clear and scannable. A value like facebook-retargeting-campaign-for-first-quarter-of-2026-version-2 adds noise without adding clarity.facebook while another uses fb or meta.utm_medium=cpc maps to Paid Search. Using utm_medium=paid-social maps to Paid Social. Non-standard medium values fall into the “Unassigned” channel, which reduces reporting clarity.When a visitor clicks a UTM-tagged link, the following sequence occurs:
gtag.js or Google Tag Manager) reads the UTM values from the URL on page load.UTM parameters do not affect page functionality or SEO. Search engines ignore query parameters for ranking purposes, and properly configured canonical tags prevent duplicate content issues. However, you should exclude UTM parameters from your XML sitemap and use the rel="canonical" tag pointing to the clean URL without parameters.
If your paid team uses utm_source=meta while the social team uses utm_source=facebook, GA4 reports split the same traffic source into two line items. Aggregate metrics become unreliable, and you lose the ability to compare campaigns accurately.
Adding UTM parameters to site navigation, sidebar links, or internal banners is the most common UTM mistake. Each internal UTM click starts a new session in GA4 and overwrites the original source. If 30% of your users click an internal UTM-tagged banner, you lose accurate attribution for 30% of your sessions.
A URL with utm_campaign but without utm_source and utm_medium results in incomplete attribution. GA4 requires all three core parameters to properly classify traffic. Partial tagging creates “(not set)” values in reports.
Google Ads automatically appends a gclid parameter that provides more detailed tracking than manual UTM tags. Adding UTM parameters to auto-tagged Google Ads links can create conflicting attribution data. Use UTM tags for Google Ads only if you have disabled auto-tagging or need manual campaign tracking for a specific reason.
UTM-tagged URLs can be 200+ characters long. For social media posts, SMS, or visible placements, use a URL shortener (like Bitly or your own domain shortener) to keep links clean. The UTM parameters still work because the redirect preserves the full query string.
https://example.com/landing?utm_source=google&utm_medium=cpc&utm_campaign=brand_search_2026&utm_term=project+management+tool&utm_content=responsive_ad_v2
https://example.com/offer?utm_source=facebook&utm_medium=paid-social&utm_campaign=spring_retargeting&utm_content=carousel_testimonials
Use paid-social as the medium to match GA4’s default channel grouping for Paid Social.
https://example.com/blog/new-feature?utm_source=mailchimp&utm_medium=email&utm_campaign=march_newsletter_2026&utm_content=hero_cta
Include utm_content to distinguish between multiple links in the same email (header link vs. footer link, for example).
https://example.com/report?utm_source=linkedin&utm_medium=social&utm_campaign=industry_report_q1&utm_content=company_page
Use social (not organic-social) as the medium to correctly map to GA4’s Organic Social default channel.
https://example.com/promo?utm_source=qr_code&utm_medium=print&utm_campaign=conference_booth_2026&utm_content=flyer_a
QR codes are an excellent use case for UTM tracking since there is no other way to attribute offline-to-online traffic without tagged URLs.