UTM tags: how to track which ads bring customers

What UTM tags are, which parameters they contain, how to build a tracking URL and where to see the results in Google Analytics 4.

25Views

UTM tags: how to track which ads bring customers

UTM tags are short parameters added to the end of a URL that tell analytics software where a visitor came from: which platform, channel and campaign. The URL site.ua/?utm_source=instagram&utm_medium=social&utm_campaign=black_friday tells Google Analytics that someone clicked on a sale announcement on Instagram. Without tracking tags, some of these visits appear as "direct" or "referral" traffic, leaving business owners unable to see which ads generate orders and which simply waste money.

What a UTM tag contains

Each parameter follows the "name=value" format. A question mark separates the parameters from the page URL, and an ampersand (&) separates individual parameters. In its Analytics documentation, Google recommends always including three parameters: source, medium and campaign name. If you leave one out, reports will display "⁠(not set)" instead of its value.

ParameterWhat it meansExample value
utm_sourceTraffic source: website, social network, email newslettergoogle, facebook, newsletter
utm_mediumChannel typecpc, social, email
utm_campaignCampaign or promotion nameblack_friday, kofevarki_noyabr
utm_termPaid search keywordkupit_kofevarku
utm_contentAd or link variationbanner_red, video_15s
utm_idCampaign identifierbf2026

The last three parameters are optional but useful. You can use utm_content to compare two banners within the same campaign. The utm_id parameter is useful when importing cost data from other systems into Analytics. Google documents several additional parameters, such as utm_source_platform, but the first five are enough for most small businesses.

How to build a URL with UTM tags

The easiest option is Google's free Campaign URL Builder. Enter the page URL, fill in the fields and copy the generated link. You can also add parameters manually by following two rules:

  1. If the URL does not already contain a question mark, add the first parameter after "?" and separate the remaining parameters with "&".
  2. If the URL already contains a question mark (for example, a filtered page such as site.ua/catalog/?color=red), add the tags using "&". Do not add a second "?".

Always open the finished URL in your browser. Some websites lose parameters when redirecting from HTTP to HTTPS or from a URL without a trailing slash to one with a trailing slash. This makes the tracking tags useless. It is better to catch this before launching your ads than a month later.

Naming rules that keep reports organized

Analytics is case-sensitive: Instagram and instagram count as two different sources. Over six months, this can create a dozen report rows for the same social network. Agree on a simple naming convention and record it in a shared spreadsheet:

  • Use only lowercase Latin letters.
  • Replace spaces with either underscores or hyphens, and use one consistently.
  • Use consistent utm_medium values: cpc for paid clicks, social for posts and email for newsletters.
  • Include the campaign topic and month in its name, for example kondicionery_may.
  • Never include customer phone numbers, email addresses or names in parameters: Google Analytics policies prohibit sending personal data.

The utm_medium value affects how traffic is assigned to channels. GA4 groups sessions into "Paid Search", "Email", "Organic Social" and other channels based on their source and medium. If you enter utm_medium=reklama, the system will not recognize it and will place those visits in the "Unassigned" group.

UTM tags in Google Ads, Meta, email and offline advertising

Google Ads

Google advertising usually uses auto-tagging. The system automatically adds a gclid parameter to the URL, allowing Analytics to receive campaign, ad group and keyword data. Google's documentation explicitly states that manual tagging and auto-tagging should not be used together, so UTM parameters are generally unnecessary for Google Ads. The main requirement is to link your Google Ads and Analytics accounts.

Facebook and Instagram

In Meta advertising, tags are added at the ad level in the URL parameters field. It supports dynamic variables such as {{campaign.name}}, {{adset.name}}, {{ad.name}} and their corresponding IDs. The system automatically inserts the campaign, ad set and ad names, so you do not need to edit every URL manually.

Email newsletters, messaging apps and QR codes

Tracking tags are particularly useful here because visits from emails, Viber or Telegram often appear as direct traffic without them. Assign separate tags to the link in your Instagram profile, a button in an email newsletter and a QR code on a flyer or storefront. You can shorten long URLs for QR codes, but check that the parameters still reach your website afterward.

Another often overlooked location is the website link in your Google Business Profile. Adding a tag such as utm_source=google&utm_medium=organic&utm_campaign=profil lets you see in Analytics how many visitors came from your Google Maps listing rather than regular search results. The same applies to directories, marketplaces and partner websites. Giving each source its own tag provides a more accurate picture.

Where to see the results in GA4

The data appears under Reports → Acquisition → Traffic acquisition (using the English interface names). In the table, select the Session source/medium or Session campaign dimension. Alongside session counts, GA4 displays key events such as requests, calls and purchases, provided they are configured. Together, these metrics show which campaigns brought in customers. Clicks alone tell you little: cheap traffic that generates no leads costs more than expensive traffic that generates sales.

Here is a simple example. A store launches a promotion through an email newsletter, Instagram Stories and a banner on a partner website. After a week, the report shows that the newsletter generated 40 sessions and 6 orders, while Stories generated 300 sessions and 2 orders. Without tracking tags, both sources would be mixed together, and the owner would probably invest more in Stories.

Common mistakes

  • Adding tags to internal website links. The visitor is already on the website, but clicking a banner with UTM tags overwrites the source and makes the report inaccurate.
  • Using different names for the same channel: fb, facebook, Facebook.
  • Adding manual UTM parameters on top of Google Ads auto-tagging.
  • Using redirects that strip URL parameters.
  • Adding tags without configuring key events in GA4, making traffic visible but leaving leads untracked.
  • Failing to document naming conventions, leaving each contractor to tag campaigns differently.

How WID7 can help

We set up advertising so that every channel is visible in analytics. We develop UTM naming conventions, check redirects, link Google Ads with Analytics and configure key events. See our online advertising page for details. One-time setup costs from UAH 5,000. Setup and ongoing management cost from UAH 5,000/month, with the advertising budget paid separately. If your ads are already running but you cannot tell where customers come from, start with an advertising audit (from UAH 3,000) or explore our Google advertising services.

Rate this article

Other articles

loading