Skip to main content

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.

Loading tool...

Steps

1

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.

2

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').

3

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.

4

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.

5

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

Related Tools