How to Build UTM Links for Campaign Tracking
Create UTM-tagged URLs for precise campaign tracking in Google Analytics with our free UTM Builder. Track source, medium, campaign, and more.
Steps
Enter the destination URL
Paste the full URL of the landing page you want to track. This is the page users will land on after clicking the link. Include https:// and any existing query parameters if the URL already has them — the tool will append UTM parameters correctly.
Set utm_source
The source identifies where the traffic comes from. Examples: newsletter, facebook, google, linkedin, twitter, podcast, direct. Be consistent — use the same source name every time for the same channel (e.g., always 'facebook', never mix 'facebook', 'Facebook', 'FB').
Set utm_medium
The medium identifies the marketing channel type. Standard medium values: email (for email campaigns), cpc (for paid search/display), organic (for organic social), social (for social media generally), banner, referral, affiliate, display. Consistent medium values let you group traffic by channel type across campaigns.
Set utm_campaign
The campaign name identifies the specific marketing campaign. Use descriptive, consistent names: spring-sale-2024, product-launch-v2, holiday-newsletter-dec. Avoid spaces (use hyphens or underscores) and keep names short enough to be readable in reports.
Add utm_term and utm_content (optional)
utm_term is used for paid search ads to track which keyword triggered the ad. utm_content differentiates between links within the same campaign, such as two different versions of an email CTA or two different banner designs. Copy the generated URL and use it in your campaign.
Building a UTM Naming Convention
The biggest mistake with UTM tracking is inconsistent naming. If your team uses 'email', 'Email', 'e-mail', 'newsletter', and 'Newsletter' interchangeably for the same channel, your analytics will show six sources instead of one. Before you launch any campaigns, establish a naming convention document. Decide: always lowercase, hyphens instead of spaces, standard abbreviations for campaigns, and which parameters are mandatory. Create a shared UTM builder spreadsheet or use a team-wide tool so everyone generates consistent parameters. Consistent UTM data enables accurate attribution reporting, channel comparison, and ROI calculations. Inconsistent UTM data creates a reporting nightmare that grows harder to fix over time.
UTM Parameters in GA4 vs Universal Analytics
Google Analytics 4 (GA4) uses UTM parameters in the same way as Universal Analytics but surfaces them differently in reports. In GA4, UTM data appears in the Acquisition reports under Session source/medium and Session campaign. GA4 also automatically tracks some source parameters without UTM — Google Ads data is shared directly, and some Google product traffic is identified automatically. One important GA4 change: the 'direct' and '(none)' attribution works differently because GA4 uses a different attribution model by default. Verify your UTM-tagged campaigns are being attributed correctly in GA4 by checking reports within a few days of launch. If you use Google Tag Manager, you can also access UTM parameters as data layer variables for more advanced tracking scenarios.
Frequently Asked Questions
UTM parameters do not directly harm SEO, but they can cause duplicate content issues if Google indexes multiple versions of the same page with different UTM parameters. Best practice: set your canonical URL to the clean URL without UTM parameters, and optionally disallow UTM parameter URLs in robots.txt or use Google Search Console's URL parameter handling to tell Google to ignore UTM parameters. UTM parameters are stripped from the URL shown in search results.
Yes, UTM parameters are case-sensitive in Google Analytics. 'Email' and 'email' are tracked as separate sources. This is why consistency matters — establish naming conventions early and stick to them. Best practice is lowercase with hyphens: newsletter, social-organic, paid-search, affiliate-partner.
No — never add UTM parameters to internal links (links between pages on your own website). Doing so overwrites the user's original traffic source, making all subsequent pageviews appear to come from the internal UTM source rather than the original channel. Use UTM parameters only on external links that bring users to your website.
utm_source is the specific origin (facebook, google, newsletter-june-2024) and utm_medium is the channel type category (social, cpc, email). Think of it like: medium = transportation type (train), source = specific route or service (east-coast-express). This hierarchy allows reporting at both the channel level (how is email performing overall?) and the campaign level (how is this specific email performing?).