Generate UTM-tagged URLs for Google Analytics, social media, and email campaigns. Includes complete best practices guide, parameter reference, naming conventions, GA4 integration tips, and campaign tracking strategies.
All 5 UTM parameters recognized by Google Analytics 4. Parameters marked with * are required for proper traffic categorization.
| Parameter | Required | Description | Example Values |
|---|---|---|---|
| utm_source | โ Yes | Identifies the traffic source โ the platform, site, or sender driving the click | google, facebook, newsletter, bing, linkedin, twitter, tiktok |
| utm_medium | โ Yes | Identifies the marketing medium or channel category | cpc, email, social, social-paid, display, affiliate, organic, referral, sms |
| utm_campaign | โ Yes | Identifies the specific campaign, promotion, or strategic initiative | spring_sale_2026, black_friday_q4, product_launch_jan, weekly_newsletter_042 |
| utm_term | No | Used exclusively for paid search keywords (Google Ads, Bing Ads) | running+shoes, seo+audit+tool, buy+laptop+online, cheap+flights+nyc |
| utm_content | No | Used to differentiate ad or link variations in A/B tests | cta_button_red, hero_image_v2, sidebar_promo, footer_banner, email_header_link |
Inconsistent UTM naming destroys your data quality and makes campaign analysis impossible. Follow these rules to keep your analytics clean, trustworthy, and useful for decision-making.
utm_source=facebook
utm_source=Facebook โ utm_source=facebook (treated as two different sources in GA4)
utm_campaign=spring_sale_2026
utm_campaign=spring sale 2026 (will break the URL or produce unexpected encoding)
utm_campaign=q1_newsletter_promo
utm_campaign=campaign1 or utm_campaign=promo (meaningless when reviewing data months later)
utm_source=google (standardized across all team members and agencies)
google vs Google vs goog vs g vs google_ads (fragments your data into multiple sources)
See how UTM parameters are used across common marketing channels. Use these as templates for your own campaigns.
| Channel | Example UTM Setup | When to Use |
|---|---|---|
| Email Newsletter | ?utm_source=mailchimp&utm_medium=email&utm_campaign=weekly_digest_042 | Weekly or monthly email newsletters to your subscriber list |
| Google Ads (Search) | ?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale&utm_term=running+shoes | Paid search campaigns on Google Ads or Bing Ads |
| Facebook Paid Ad | ?utm_source=facebook&utm_medium=social-paid&utm_campaign=retargeting_q2&utm_content=carousel_ad_v2 | Paid social ads on Facebook or Instagram |
| Organic Social Post | ?utm_source=instagram&utm_medium=social&utm_campaign=product_launch_may | Organic (unpaid) social media posts |
| Affiliate Link | ?utm_source=partner_site&utm_medium=affiliate&utm_campaign=summer_promo | Links from affiliate partners or referral programs |
| QR Code (Print/Offline) | ?utm_source=flyer&utm_medium=print&utm_campaign=store_opening_2026 | Printed materials with QR codes โ flyers, posters, business cards |
UTM parameters (Urchin Tracking Module) are query string tags added to the end of a URL that tell analytics tools exactly where your traffic comes from. Without them, all traffic from social media, email newsletters, paid ads, and affiliate links gets lumped together into generic "direct" or "referral" buckets โ making it impossible to measure which channels actually drive conversions, revenue, and ROI. A 2026 survey of 1,500+ digital marketers found that teams using consistent UTM naming conventions achieve 3.2x better attribution accuracy than teams that don't use UTMs at all, and are able to optimize their marketing spend with significantly more precision.
๐ก 67% of marketers admit their UTM data is unreliable due to inconsistent naming across team members, agencies, and contractors. The #1 root cause? Using variant capitalizations and abbreviations for the same source โ "Facebook" vs "facebook" vs "fb" โ across different campaigns. Standardize your naming convention once with a shared document, and your analytics data instantly becomes reliable enough to base budget decisions on.
When a visitor clicks your UTM-tagged URL, Google Analytics 4 automatically parses the parameters and maps them to specific dimensions that you can use throughout reports and explorations:
utm_source parameter valueutm_medium parameter valueutm_campaign parameter valueutm_term parameter valueutm_content parameter valueYou can find UTM data in GA4 under Reports โ Acquisition โ Traffic Acquisition (add Session Source/Medium/Campaign as secondary dimensions). For more advanced analysis, use Explore โ Free Form to build custom reports combining any UTM dimensions with metrics like Sessions, Conversions, Purchase Revenue, and Ad Cost.
UTM parameters were created by Urchin Software Corporation in the early 2000s as part of the Urchin Web Analytics platform โ one of the first comprehensive web analytics tools. Google acquired Urchin in 2005 for $30 million, and the Urchin technology became the foundation of what launched as Google Analytics in November 2005. The term "UTM" is an abbreviation of Urchin Tracking Module. Despite being over 20 years old, the UTM parameter framework remains the universal standard for campaign tracking across all major analytics platforms, including Google Analytics 4, Adobe Analytics, Matomo, and Plausible.
YYYYMMDD or YYYY_MM for date-stamped campaigns โ for example, may_2026_newsletter or spring_sale_20260519. This makes chronological sorting and period-over-period comparisons trivial in GA4.cpc for paid search, email for email marketing, social for organic social, social-paid for paid social ads, display for banner/display ads, and affiliate for affiliate or partner marketing. The precision of your medium naming directly determines how useful your channel comparison reports will be.utm_content=variant_A and utm_content=variant_B to the respective links. This is the most underutilized UTM parameter โ it turns every campaign into a built-in A/B test with clear performance data in GA4.?utm_source=... in the URL), it may treat these as duplicate content. To prevent this, add a canonical URL tag (<link rel="canonical" href="https://example.com/page">) to every page pointing to the clean URL without UTM parameters. This tells Google to consolidate all ranking signals to the original URL regardless of any query parameters.All processing happens entirely in your browser. No data is ever stored, logged, or transmitted to any server. The tool is free forever with no usage limits.