Skip to content
BernardoViana
Tracking & Data 3 min read By Bernardo Viana

How to Use UTM Parameters to Track Sales

Learn how to use utm parameters properly to see exactly which campaigns drive traffic and sales in Google Analytics.

Abstract digital illustration representing connected data streams and tracking parameters.

Quick summary

  • UTM parameters are essential text snippets added to URLs to track exactly where website traffic and sales originate.
  • Always use consistent, lowercase naming conventions to prevent your data from fragmenting in Google Analytics reports.

If you are spending money on digital advertising, knowing exactly where your conversions come from is non-negotiable. In practice, what I see is many small business owners guessing which platform or ad generated a sale. To stop guessing, you need utm parameters (snippets of text added to URLs that tell analytics tools where traffic originated). Without them, your marketing data becomes messy and unreliable.

Google Analytics uses these tracking tags to identify the campaigns that refer traffic to your website. When a user clicks a referral link, the parameters inside the URL are sent to Analytics, and you can view the results directly in your Traffic acquisition report. Setting this up correctly requires consistency, but it gives you a clear picture of your actual return on ad spend.

Before you start

Before you begin adding tracking tags to your links, you need a few essential items in place. First, you must have an active Google Analytics property installed on your website. Second, you need a clear inventory of the ads, emails, or referral links you plan to run. Finally, you should establish a strict naming convention. Because tracking values are case-sensitive, capital letters and spelling variations will fragment your data.

I always recommend sticking exclusively to lowercase letters for all your tracking tags. For instance, treating Meta and meta as two separate sources will split your reporting. Consistency is the foundation of clean data.

Step by step

To build your tracked links correctly, follow these exact steps based on standard tracking guidelines.

  1. Identify your destination landing page URL, such as https://www.example.com/.
  2. Add a question mark (?) at the end of the base URL to separate the destination address from the tracking parameters.
  3. Include the mandatory source parameter by typing utm_source followed by an equal sign and the platform name, like utm_source=summer-mailer.
  4. Add an ampersand (&) to connect the next parameter. Include the medium parameter by typing utm_medium=email to specify the marketing medium.
  5. Append the campaign name parameter using an ampersand, such as utm_campaign=summer-sale, to identify the overall promotion.
  6. Include optional parameters if needed, such as utm_id for campaign identification, utm_content to differentiate creatives, or utm_source_platform for the buying platform.
  7. Copy the final customized URL and use it as the destination link in your ads, emails, or referral campaigns.

If you prefer not to build these links manually, you can use the Campaign URL Builder tool to generate them automatically.

How to test that it works

After you publish your links, you need to confirm that your setup is working properly. The most reliable way to test is to click your newly created custom URL yourself. Make sure the full link with all parameters opens your website correctly.

Next, open your Google Analytics account and navigate to the Traffic acquisition report. Check the Session source and Session medium dimensions. If your tags were implemented correctly, you will see your custom values populated in the report instead of generic or missing data.

Common problems

Even with a solid setup, advertisers often run into a few common tracking issues. Here is how to fix them.

Missing parameters resulting in unknown traffic

If you leave out core parameters like source, medium, or campaign, your data will show up in reports as unassigned or missing values. Always ensure you include the core trio on every tracked link.

Capitalization discrepancies

If your reports show split rows for what should be a single traffic source, you likely have a mismatch in capitalization. Audit your ads to ensure every single parameter uses identical lowercase spelling.

Incorrect character separators

Using a slash or a semicolon instead of a question mark or an ampersand will break the URL structure. Double-check that your parameters start with a question mark and are separated by ampersands.

Next steps

  1. 1.Audit your current ad campaigns to check if they include standardized tracking tags.
  2. 2.Adopt a strict lowercase naming convention for all future campaign sources and mediums.
  3. 3.Test your custom destination URLs by clicking them and verifying the results in your analytics traffic reports.

Based on reporting by support.google.com : “https://support.google.com/analytics/answer/10917952”. Read the original for the full story.

This article was written with AI assistance from the source reporting, following Bernardo Viana's editorial guidelines, and checked automatically against the source. Educational content. Ad results vary from business to business. How we work.

utm parametersgoogle analyticsconversion trackingpaid mediaanalytics setupmarketing data

Related articles