Want to know which marketing campaigns actually bring visitors to your website? UTM tracking URLs help you identify where traffic comes from, which channels attract visitors, and which campaigns contribute to your business goals in Google Analytics 4 (GA4).
To create a UTM tracking URL, start with your landing page URL and add three parameters: utm_source, utm_medium, and utm_campaign. For example:
https://www.example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale
This URL identifies a visit from an email newsletter promoting a summer sale.
You can create these URLs using the free DevBricks UTM Builder instead of writing the parameters manually.
In this guide, you'll learn how UTM tracking works, how to build campaign URLs, which naming conventions to follow, and where to find your campaign data in Google Analytics 4.
What Is a UTM Tracking URL?
A UTM tracking URL is a website link containing extra information called UTM parameters.
UTM stands for Urchin Tracking Module, a term originating from the analytics technology that preceded Google Analytics.
These parameters help analytics software identify the marketing source, channel, and campaign associated with a website visit.
Consider two visitors arriving at the same landing page:
- Visitor A clicks a link in an email newsletter.
- Visitor B clicks a link in an Instagram post.
Both visitors arrive at:
https://www.example.com/pricing
Without consistent campaign tagging, it can be harder to distinguish the marketing activity responsible for each visit.
With UTM parameters, you can create two separate links.
Email newsletter:
https://www.example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale
Instagram post:
https://www.example.com/pricing?utm_source=instagram&utm_medium=social&utm_campaign=summer_sale
Both links lead to the same page, but the campaign information differs.
When your website has Google Analytics 4 configured correctly, GA4 can use these parameters in its traffic acquisition reporting.
What Can UTM Tracking Tell You?
UTM tracking can help answer questions such as:
- Which email campaign brought the most website sessions?
- Did visitors arrive from LinkedIn, Facebook, or Instagram?
- Which campaign attracted more engaged sessions?
- Which advertisement or email button produced better results?
- Which tracked campaign contributed to important website actions?
UTM tracking is particularly useful for email marketing, paid advertising, social media promotions, partnerships, and QR-code campaigns.
However, UTM parameters do not automatically measure conversions. To analyze purchases, sign-ups, or other meaningful outcomes, those events must also be collected and configured appropriately in GA4.
Understanding the Five Main UTM Parameters
Before creating your first tracking link, it's important to understand what each parameter represents.
| Parameter | Purpose | Example |
|---|---|---|
utm_source |
Identifies where traffic originated | newsletter |
utm_medium |
Identifies the marketing channel | email |
utm_campaign |
Identifies the campaign or promotion | summer_sale |
utm_term |
Identifies a paid keyword or search term | running_shoes |
utm_content |
Distinguishes links or creative variations | header_button |
Google recommends including utm_source, utm_medium, and utm_campaign when creating manually tagged campaign URLs.
The other two parameters are useful when you need more detail.
1. utm_source: Where Did the Traffic Come From?
The source identifies the publisher, platform, or specific origin sending visitors to your website.
Common examples include:
utm_source=instagram
utm_source=linkedin
utm_source=facebook
utm_source=newsletter
For example:
utm_source=linkedin
This tells your analytics setup that LinkedIn was the stated source of the visit.
Use consistent source names. Treat Instagram and Facebook as distinct sources when you want separate reporting for each platform.
2. utm_medium: Which Marketing Channel Was Used?
The medium identifies the type of marketing traffic.
Examples include:
utm_medium=email
utm_medium=social
utm_medium=paid_social
utm_medium=cpc
utm_medium=referral
A newsletter campaign could use:
utm_source=newsletter
utm_medium=email
A paid LinkedIn campaign might use:
utm_source=linkedin
utm_medium=paid_social
Consistent medium values matter because Google Analytics uses traffic-source information to categorize traffic into channels.
3. utm_campaign: Which Campaign Generated the Visit?
The campaign parameter identifies a specific marketing initiative.
Examples include:
utm_campaign=summer_sale
utm_campaign=product_launch
utm_campaign=november_newsletter
Suppose you're promoting a new product through email and social media.
You can use the same campaign name across both channels:
utm_campaign=product_launch
Then use different source and medium values to distinguish the channels.
This creates more consistent campaign reporting.
4. utm_term: Which Keyword Was Targeted?
The term parameter is primarily used to identify a paid search keyword.
Example:
utm_term=online_marketing_tools
It's optional for most manually tagged campaigns.
For Google Ads, Google's recommended approach is normally auto-tagging rather than manually maintaining keyword-level UTM values.
5. utm_content: Which Link or Creative Was Clicked?
The content parameter helps distinguish different links within the same campaign.
Imagine an email newsletter containing two buttons pointing to the same landing page.
The first button could use:
utm_content=header_button
The second button could use:
utm_content=footer_button
This helps you compare the performance of individual placements in suitable GA4 reports.
Additional GA4 UTM Parameters
Google Analytics also supports parameters including:
utm_id— identifies a campaign using an ID.utm_source_platform— identifies the platform responsible for directing traffic.
For standard campaigns, start with consistent source, medium, and campaign values. Add other parameters when they serve a clear reporting purpose.
For details, consult Google's official campaign URL parameter documentation.
How to Create UTM Tracking URLs: Step by Step
You can create UTM links manually, but using a URL builder makes the process easier and helps reduce formatting errors.
Follow these steps to create your first campaign tracking URL.
Step 1: Choose Your Destination URL
Start with the webpage you want visitors to reach.
For example:
https://www.example.com/pricing
This is your destination or landing page.
Before adding tracking information, make sure the page loads correctly and is appropriate for your campaign.
Avoid directing users to broken pages or irrelevant destinations.
Step 2: Open the DevBricks UTM Builder
Open the free DevBricks UTM Campaign Builder.
Use it to prepare a tracking URL based on your landing page and campaign details.
For this example, we'll promote a pricing page through an email newsletter.
Step 3: Choose Your Campaign Parameters
Use the following values:
| Field | Example value |
|---|---|
| Website URL | https://www.example.com/pricing |
| Campaign source | newsletter |
| Campaign medium | email |
| Campaign name | summer_sale |
| Campaign term | Leave empty |
| Campaign content | header_button |
These values identify the traffic as originating from a newsletter campaign.
Use names that your team can easily recognize later.
Step 4: Generate the Tracking URL
Combine the destination URL with your selected parameters using the UTM builder.
The resulting URL should look like this:
https://www.example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale&utm_content=header_button
Each part has a specific function:
?starts the query string.=separates a parameter name from its value.&separates individual parameters.
The order of UTM parameters does not determine their meaning.
Important: If your destination already contains a query parameter, append the new parameters with &, not a second ?.
For example:
https://www.example.com/pricing?plan=pro&utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale
If a URL contains a fragment beginning with #, its query parameters should appear before that fragment.
Step 5: Test Your UTM Link
Before publishing the link in an advertisement or newsletter, test it.
- Open the generated URL in a browser.
- Confirm the correct destination page loads.
- Check whether the campaign parameters remain in the URL after any redirects.
- Confirm the webpage's Google Analytics tracking is working.
- Check whether the campaign information appears in GA4 after processing.
You can also inspect the URL structure using the DevBricks URL Parser.
If your campaign values contain spaces, special characters, or other characters requiring encoding, use correctly encoded URL values. The DevBricks URL Encoder can help with this.
For example, a space in a query parameter may be encoded as %20.
Always test the final link rather than assuming it will work.
Step 6: Add the Link to Your Marketing Campaign
Once the link works, place it in the channel you want to measure.
Common uses include:
- Email newsletter buttons.
- Social media campaign posts.
- Paid advertising landing-page links.
- Partner promotions.
- Downloadable marketing materials.
- QR codes used in offline promotions.
For printed campaigns, you can create a tagged destination URL and use the DevBricks QR Code Generator to turn it into a scannable link.
Before printing large quantities, test the QR code with a mobile device.
Real UTM Tracking URL Examples
Let's look at three practical scenarios.
Example 1: Tracking an Email Newsletter
Suppose an online store sends a promotional email to subscribers.
Destination URL:
https://www.example.com/products
Campaign settings:
utm_source=newsletter
utm_medium=email
utm_campaign=november_sale
Generated URL:
https://www.example.com/products?utm_source=newsletter&utm_medium=email&utm_campaign=november_sale
This link helps you identify traffic associated with the November newsletter campaign.
You can compare its performance with other campaigns in GA4.
Example 2: Tracking an Organic Instagram Campaign
Suppose you publish an Instagram promotional post.
Campaign settings:
utm_source=instagram
utm_medium=social
utm_campaign=product_launch
Generated URL:
https://www.example.com/products?utm_source=instagram&utm_medium=social&utm_campaign=product_launch
This identifies the visit as associated with your Instagram campaign.
Use a consistent campaign name when promoting the same launch across different platforms.
Example 3: Tracking a Paid LinkedIn Campaign
Suppose a business is promoting a free software trial through LinkedIn ads.
Campaign settings:
utm_source=linkedin
utm_medium=paid_social
utm_campaign=software_trial
utm_content=ad_variant_a
Generated URL:
https://www.example.com/free-trial?utm_source=linkedin&utm_medium=paid_social&utm_campaign=software_trial&utm_content=ad_variant_a
You can create another link with:
utm_content=ad_variant_b
This helps distinguish the two advertised creative variations.
The platform's own advertising reports may still be necessary for detailed click costs and ad delivery metrics.
How to View UTM Campaign Data in Google Analytics 4
Creating tagged links is only the first part of the process.
You also need to know where to find campaign performance information.
Step 1: Open Google Analytics
Visit Google Analytics and select the GA4 property associated with your website.
Make sure the website is collecting analytics data through a properly configured Google tag or another supported implementation.
Step 2: Open the Traffic Acquisition Report
In GA4:
- Select Reports.
- Open Acquisition.
- Select Traffic acquisition.
This report shows how visitors arrived at your website.
Depending on your reporting configuration, you can examine dimensions such as:
- Session source / medium.
- Session source.
- Session medium.
- Session campaign.
Choose an appropriate dimension to analyze the traffic generated by your links.
Step 3: Find Your Campaign
Suppose you used:
utm_source=newsletter
utm_medium=email
utm_campaign=november_sale
You can look for campaign traffic associated with:
newsletter / email
You can also select or use a session campaign dimension to examine the campaign name.
For a more detailed view of manually tagged campaigns, GA4 provides a Manual campaigns report.
Google's instructions describe accessing it through:
Reports → Acquisition → Overview → Sessions by Session manual source → View Manual campaigns
Report availability and navigation can vary according to your property's configuration and permissions.
Step 4: Evaluate Campaign Results
Once the campaign has collected data, review useful metrics such as:
- Sessions.
- Engaged sessions.
- Engagement rate.
- Key events.
- Revenue, if ecommerce measurement is configured.
For example, two campaigns may attract similar numbers of sessions but generate different numbers of sign-ups.
Your business goals should determine which metrics matter most.
Google Analytics may require 24–48 hours to finish processing some data, so avoid drawing conclusions from incomplete reporting.
See Google's official Traffic acquisition report guide and data freshness documentation.
UTM Naming Conventions and Best Practices
Consistent naming is one of the most important aspects of accurate campaign measurement.
Poorly organized UTM parameters can make reporting harder to interpret.
Use Lowercase Values Consistently
UTM values are case-sensitive.
For example:
utm_source=Facebook
and
utm_source=facebook
are different values.
Choose lowercase names as your default convention.
This reduces unnecessary reporting fragmentation.
Avoid Spaces and Unnecessary Special Characters
Prefer:
utm_campaign=summer_sale
instead of:
utm_campaign=Summer Sale!
Spaces and special characters are technically possible when properly URL-encoded, but simple values are easier to maintain.
Hyphens and underscores can both work. Choose one naming approach and apply it consistently.
Use Consistent Medium Names
Avoid switching between several medium names for the same marketing channel.
For example, don't alternate between:
utm_medium=email
utm_medium=newsletter
utm_medium=email_marketing
when all three represent the same channel in your reporting plan.
A consistent medium helps keep campaign analysis organized.
Keep Campaign Names Meaningful
A campaign name should identify an actual marketing initiative.
Good examples include:
product_launch_2026
black_friday_2026
monthly_newsletter_november
Avoid vague names such as:
test
campaign1
promotion
Descriptive naming makes it easier to compare reports over time.
Maintain a Campaign Tracking Record
If you manage several campaigns, keep a shared record containing:
| Campaign | Source | Medium | Content |
|---|---|---|---|
| November promotion | newsletter | header_button | |
| Product launch | social | launch_post | |
| Trial campaign | paid_social | ad_variant_a |
This reduces duplicate campaign names and helps team members follow the same rules.
For larger campaigns, consider recording the complete destination URL and launch date as well.
Common UTM Tracking Mistakes to Avoid
Even correctly formatted UTM links can produce confusing analytics data when used incorrectly.
Mistake 1: Using Different Names for the Same Source
For example:
utm_source=Instagram
utm_source=instagram
utm_source=insta
These values may fragment campaign reporting.
Use one standardized name for each source.
Mistake 2: Forgetting Important Parameters
An incomplete link might contain:
?utm_campaign=summer_sale
Google recommends providing the relevant campaign parameters together, especially source, medium, and campaign.
Missing information may cause values such as (not set) to appear in reports.
Mistake 3: Adding UTMs to Normal Internal Navigation
UTM parameters are primarily intended to identify incoming marketing traffic.
Avoid adding campaign UTMs to ordinary navigation links between pages on the same website.
Doing so can introduce unnecessary campaign data during an existing visit and complicate attribution analysis.
For internal button or navigation measurement, use appropriate GA4 event tracking instead.
Mistake 4: Using Manual UTMs Instead of Google Ads Auto-Tagging
Google recommends auto-tagging for Google Ads integrations.
Auto-tagging can add a Google Click Identifier, or gclid, to advertising URLs and provide more detailed Google Ads integration data.
GA4 generally prioritizes auto-tagged information over manually tagged campaign values when both are available.
Manual UTMs remain valuable for channels such as email, partnerships, and marketing platforms without an appropriate auto-tagging integration.
See Google's Google Ads tagging guidance.
Mistake 5: Failing to Check Redirects
A destination URL may redirect before reaching the final landing page.
If campaign parameters are removed during that process, GA4 may not receive the intended campaign information.
Always test the complete visitor journey.
Mistake 6: Expecting UTM Tags to Fix Missing Analytics Tracking
Adding UTM parameters does not install Google Analytics.
For accurate measurement, confirm that:
- Your GA4 property is configured.
- The destination page is tagged correctly.
- Analytics collection is functioning.
- Relevant consent and privacy requirements are respected.
- Important actions are collected when needed.
If the measurement setup is incomplete, the UTM link alone cannot provide a complete performance report.
Troubleshooting: Why Are UTM Parameters Not Showing in GA4?
If you created a tracking URL but can't find the campaign in Google Analytics, check these possible causes.
The GA4 Property Is Incorrect
Confirm you're viewing the property associated with the destination website.
If your organization manages multiple properties, selecting the wrong one can make a campaign appear missing.
The URL Loses Its Parameters
Open the campaign URL and inspect the final destination.
If a redirect removes parameters before analytics collection, the campaign information may be unavailable.
Check whether the query string survives the redirect.
The Tracking Tag Is Missing or Blocked
Analytics might not collect the visit if the page isn't tagged correctly or collection is blocked.
Privacy settings, consent choices, and browser restrictions can also influence measurement.
The Campaign Values Are Inconsistent
Search for both the expected campaign name and possible variations.
For example:
summer_sale
Summer_Sale
summer-sale
Different values may appear separately.
The Report Hasn't Finished Processing
Some GA4 reports can change while data is being processed.
Allow sufficient time for the report to update before concluding that the campaign failed.
You're Looking at the Wrong Dimension
The User acquisition report and Traffic acquisition report answer different questions.
User acquisition focuses on the initial acquisition of users.
Traffic acquisition focuses on sessions and their traffic sources.
For campaign visits, begin with session-scoped dimensions in Traffic acquisition or the Manual campaigns report.
Do UTM Parameters Affect SEO?
UTM parameters are campaign measurement tools, not a way to directly improve Google Search rankings.
A URL containing UTM values generally points to the same content as the untagged destination.
For example:
https://www.example.com/pricing
and:
https://www.example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale
can display the same webpage.
If multiple parameterized URLs expose essentially identical content, search engines may need to select a preferred canonical URL.
For SEO, use a consistent canonical URL strategy and link to the clean preferred URL in your site's ordinary internal navigation.
Google's canonicalization documentation explains how canonical signals help search engines identify preferred URLs.
The primary purpose of UTM tracking remains marketing attribution and measurement, not search ranking.
Frequently Asked Questions About UTM Tracking URLs
Are UTM Parameters Free to Use?
Yes. UTM parameters are ordinary URL query parameters and do not require a paid license.
You can create tracking URLs using a free tool such as the DevBricks UTM Builder.
Google Analytics 4 also offers a free analytics service for eligible use.
Which UTM Parameters Should I Always Include?
For manually tagged campaign URLs, Google recommends including:
utm_sourceutm_mediumutm_campaign
Additional parameters such as utm_content, utm_term, and utm_id can provide more detail when needed.
Can I Use UTM Links Without Google Analytics?
Yes. A UTM URL is still a valid URL even without Google Analytics.
However, you need a compatible analytics system to collect and interpret campaign information.
Simply appending UTM parameters does not create analytics reports.
Do UTM Parameters Track Individual People?
UTM parameters identify campaign information, not inherently a specific individual.
Avoid placing personal information such as email addresses, phone numbers, or customer identifiers in UTM values.
Campaign URLs may be copied, shared, logged, and stored by multiple services.
Can UTM Tracking Be Used for QR Codes?
Yes.
Create a destination URL containing the appropriate campaign parameters, then convert that URL into a QR code.
For example:
utm_source=printed_flyer
utm_medium=qr
utm_campaign=local_promotion
Be aware that custom medium values such as qr may not map to the default GA4 channel category you expect. Review the resulting channel attribution and use an appropriate reporting strategy.
What's the Difference Between UTM Source and UTM Medium?
The source identifies where traffic originated, such as Instagram.
The medium identifies the type of marketing channel, such as social or paid social.
For example:
utm_source=instagram
utm_medium=social
Using both values provides more meaningful campaign information than either one alone.
Why Do My Campaign Clicks and GA4 Sessions Not Match?
Ad-platform clicks and GA4 sessions are different measurements.
They may differ because of repeated clicks, analytics collection restrictions, consent settings, redirects, or other technical factors.
Do not expect every recorded advertising click to produce exactly one GA4 session.
Final UTM Tracking Checklist
Before sharing your next campaign URL, confirm the following:
- The destination webpage loads correctly.
- The URL contains consistent source, medium, and campaign values.
- Parameter names and values are spelled correctly.
- Campaign naming follows your team's conventions.
- Special characters are properly URL-encoded.
- Redirects preserve the necessary campaign information.
- GA4 tracking is configured on the destination website.
- The final link has been tested.
- You know which GA4 report you'll use to evaluate the campaign.
Start Creating UTM Tracking URLs
UTM tracking helps replace guesswork with more structured marketing measurement.
By using consistent campaign names, testing your links, and checking the correct GA4 reports, you can better understand which marketing efforts attract visitors and contribute to your goals.
Start with three essential parameters: source, medium, and campaign. Add more detail only when it supports a useful reporting question.
Create Your Free UTM Tracking URL With DevBricks
Sources and Further Reading
This guide is based on official documentation and established campaign-measurement practices: