Victory Digital

What are UTM codes and how do you use them to track campaigns?

Cai 4 min read 1 viewsUncategorised

When you share a link to your website on social media, in an email or on a business listing, how do you know whether anyone actually clicked it? And if they did, which campaign sent them your way? The answer is a small piece of text added to the end of a URL called a UTM code.

<b>What is a UTM code?</b>

UTM stands for Urchin Tracking Module, named after the analytics software Google acquired to build what is now Google Analytics. A UTM code is a set of parameters added to a URL that tells your analytics platform exactly where a visitor came from and what campaign brought them.

A tagged URL looks like this: https://victory.digital/run-a-seo-report?utm_source=newsletter&utm_medium=email&utm_campaign=october-2026

The question mark separates the page URL from the tracking parameters. Everything after it is the UTM code. The visitor sees the page as normal. Your analytics software records the source, medium and campaign name so you can report on it later.

<b>The five UTM parameters</b>

There are five standard parameters, and you only need the first three to get useful data:

<b>utm_source</b> refers to the platform sending the traffic: newsletter, twitter, facebook, google, linkedin, bing, a specific directory or a partner website.

<b>utm_medium</b> describes the channel type: email, social, cpc (paid search), organic, display, referral, sms or podcast. Separating source from medium means you can track Facebook organic posts separately from Facebook paid ads.

<b>utm_campaign</b> names the specific promotion, season or initiative: summer-sale-2026, october-newsletter, launch-webinar. This is what groups your clicks into a single campaign report.

<b>utm_term</b> is optional and used for paid search to identify which keyword triggered the ad. Most ad platforms add this automatically.

<b>utm_content</b> is optional and used to distinguish two links that go to the same page, for example an A/B test comparing a button versus a text link, or two versions of an email.

<b>How to build a UTM code</b>

You can type the parameters directly into the URL bar or use a free tool like Google Campaign URL Builder. Use lowercase for all parameter values and separate words with hyphens or underscores. Campaign names should be consistent so your reports stay clean. For example, do not use october-newsletter in one email and oct-news in the next; they appear as separate campaigns with no way to merge them.

The Victory Digital client dashboard pulls campaign data from Google Analytics 4 so you can see which channels contribute to enquiries and sales. Every tagged link feeds directly into your dashboard reports and latest SEO reports.

<b>Where UTM codes appear in your reports</b>

In Google Analytics 4, UTM data surfaces under Acquisition > Traffic Acquisition and in the Campaigns report. You can filter by source, medium or campaign to see exactly which email subject line or social post drove the most visitors, how long they stayed and whether they converted.

The Victory Digital latest SEO reports and monthly report emails include campaign-level tracking so you see the full picture: organic search performance alongside paid, social and email results. UTM codes are what make that cross-channel view possible.

<b>Common mistakes to avoid</b>

The most common mistake is mixing parameter values. If you use Facebook as a source in one campaign and facebook in the next, GA4 treats them as separate sources. Agree on a naming convention and stick to it. Google Analytics is case-sensitive, so Facebook and facebook are different.

Another common mistake is tagging internal links. Links people click from your own website to another page on your site should never carry UTM codes. They inflate campaign numbers and break your analytics by attributing your own site traffic to a campaign. Only tag links that point to your site from external placements.

<b>Start tagging your links today</b>

If you already run social media posts, email newsletters or paid advertising, adding UTM codes takes seconds per link and transforms your reporting from guesswork into data. It is the cheapest improvement you can make to your campaign measurement.

Our SEO and digital marketing plans include campaign tracking and full reporting through the client dashboard. Start with a free SEO report at https://victory.digital/run-a-seo-report to see how your site performs today, or get in touch at [email protected] to talk about tracking your campaigns properly.

What are your Feelings?

Share your reaction

Click a reaction to share how useful this article was.

Share This Article