How to use UTM codes to measure the effectiveness of your marketing campaigns

Tips 'n tricks about the web, digital trends, and online marketing

Back to the overview

In the world of online marketing, measurement is essential. Without clear insights into the performance of your campaigns, it is difficult to know what is working and where there is room for improvement. This is where UTM codes come in. UTM codes are a simple but powerful way to track how effective your campaigns are. In this blog post, you will learn step by step how to use UTM codes to better measure and optimise your marketing campaigns.

(Read more below.)
How to use UTM codes to measure the effectiveness of your marketing campaigns

Questions about this post?

Schedule a free consultation
Send an email 👋

What are UTM codes?

UTM stands for "Urchin Tracking Module" and refers to pieces of code that you add to the end of a URL. These codes help you track traffic to your website and provide insight into where your visitors are coming from and which marketing campaigns are driving the most traffic.

UTM codes consist of several parameters, such as source, medium and campaign, that you can set specifically to find out which campaign or platform is responsible for the traffic. By using these codes properly, you can accurately analyse which efforts produce the best results.

Step 1: Understanding the key UTM parameters

Before we go into how to create UTM codes, it is important to understand what parameters you can use. Here are the five most important UTM parameters:

  • utm_source: This parameter indicates where the traffic comes from, such as Google, Facebook or a newsletter.
  • utm_medium: Specifies the type of channel, such as CPC (for paid ads), email or social.
  • utm_campaign: You use this parameter to name the specific marketing campaign, e.g. "spring_sale" or "newsletter_March_2024".
  • utm_term: Optional and especially relevant for paid search campaigns; it allows you to track the keyword used.
  • utm_content: This is often used in A/B testing or when you have different variants of ads. For example, you can track which ad performs best.

Step 2: Creating a UTM code

Now that you know the basic parameters, it's time to create a UTM code. Fortunately, you don't have to type the code yourself; there are handy tools that automate this process, such as the Google Campaign URL Builder.

Here are the steps you follow to create a UTM code:

  • Enter the URL of your landing page. This is the page where your visitors will land after clicking on your link.
  • Enter the utm_source parameter. This could be "Facebook", "Google" or "Newsletter", for example.
  • Add the medium. Use terms like "social", "email" or "CPC".
  • Give your campaign a clear name. This will help you easily identify campaigns in Google Analytics, for example "spring_2024".
  • Add any additional parameters such as utm_term or utm_content, depending on how detailed you want to track.

After filling in the parameters, the tool automatically generates the full URL with the UTM code that you can use in your marketing campaigns.

Step 3: Adding the UTM codes to your campaigns

Now that you have generated your UTM codes, you can start adding them to your marketing links. You do this in, for example:

  • Social media posts: For example, if you run an ad on Facebook, you can add the UTM code to the link to track how much traffic this ad generates to your website.
  • Email campaigns: Add UTM codes to the links in your newsletters to measure how effective these campaigns are.
  • Paid search campaigns: In Google Ads, you can add UTM codes to your landing pages, so you know exactly which ad generates the most traffic.

Step 4: Analyse results in GA4

Now that your UTM codes are active in your campaigns, it's time to look at the results in GA4. GA4 works slightly differently from Universal Analytics, as it focuses on events (events) and users rather than sessions. As a result, GA4 offers more flexibility and insight into the entire customer journey, from first interaction to conversion.

Here's how to analyse the results of your UTM codes in GA4:

  • Log in to your Google Analytics 4 account.
  • From the left-hand menu, click Reports.
  • Go to Acquisition and then choose Traffic Acquisition or User Acquisition. Here you will see a summary of the traffic that came to your website through various sources and mediums.
  • To view UTM data, click on Sessions or Users and select the Campaign, Medium, or Source/Media dimension in the secondary dimensions. This allows you to see exactly which campaigns are performing well based on your UTM codes.

In GA4, you can also do deeper analysis by using custom reports and explorations, giving you more control over how you visualise the data.

Step 5: Optimise your campaigns

Now that you have insight into how your various campaigns are performing, it's time to take action. Here are some tips to improve your marketing strategies based on the data:

  • Focus on what works: Use data from Google Analytics to discover which sources and mediums are generating the most traffic and conversions. Focus on scaling up the channels that are performing best.
  • Experiment with different UTM content: Try different variants of ads or emails and use the UTM content parameter to determine which version produces the best results.
  • Optimise for conversions: Use the insights to not only focus on traffic, but also to see which campaigns lead to the most conversions and thus deliver the most for your business.

Conclusion: take your marketing to the next level with UTM codes

UTM codes are an indispensable tool for understanding the effectiveness of your marketing campaigns. By using UTM codes correctly and analysing the results in Google Analytics, you can make targeted improvements that lead to better results. Need help setting up UTM codes or analysing your campaigns? Then contact us. We would love to help you take your marketing campaigns to the next level!

👉 Funkhaus goes the extra mile for you

We are the all-in-one partner that takes care of everything: from creative web designs to technical optimisations and strategic content. You focus on your business, we take care of the rest.

Send an email, or schedule an appointment right away!

Get free, no-obligation personal advice

👋 Hi, we are there for you!

What’s your challenge today?

This field is for validation purposes and should be left unchanged.

What our partners say

ACg8ocIhuGjaXDeM6VEXpqvIB39 ifYMqf1kRc CvndQziHsq1Npaw=s120 c rp mo br100
Mara Bisceglia

What a top service!

Thanks Wout !

ALV UjX2lujPCJu32emIBT826jJnj11OW1Lc84QhoOGKvBGTpudaG 8=s120 c rp mo br100
Emmanuel Verraes

Wout is very hands-on and service-minded! I have been recommended Funkhaus by another customer and I - on turn - highly recommend their services!

ACg8ocLR0VtY2hJBHOe5T4D0pVzpZT yIybh4ZpotgH LfIzhNoWRw=s120 c rp mo br100
Geert Berden

When you bring together strong potential from the healthcare sector with Funkhaus' special expertise from the ICT -sector, the result is more than worth... 👊

ACg8ocL1s i3 3KxViPTnVPQpC7wxkbNosNZKrkWaxrqs5rv63E6A=s120 c rp mo ba12 br100
Johnny Spies

A conflict in our association's woocommerce shop was preventing payments from being processed. Wout from Funkhaus checked with us and managed to identify the problem.

Good party that works quickly and professionally and keeps in touch very well!

ALV UjXOfljfBkz7 FUp qF7D9rzFUKHTgFbn43VgpPUD7944mhKoh2l=s120 c rp mo br100
Lisa van Gils

Funkhaus designed our website. They heard us well and translated our wishes into something that suits us perfectly. In the process, they continue to help us with topics that are not 'proprietary' for us such as visibility and marketing. The contact is fluid and good. We are fans!

ALV UjWMr41NrBFg9qq a3pWL8oJK0xTATL3FDdZVaGyu91i41OXXPQP=s120 c rp mo br100
Yv. Private

Always a very quick response and strong in communication. Wout can switch quickly and always understands immediately what I mean. The end result is therefore always quick and immediately satisfactory. Definitely highly recommended!

ALV UjX2Rs7GlT5a w730bimutCbzEaPrhys2 bkIqgej1FumsZkt3rr w=s120 c rp mo br100
Alexander Coopmans

Funkhaus thinks along with the customer to come up with a good solution for the question or project.

Their quote, prices are transparent and clear.

Top service, would definitely recommend them.

ALV UjV7gFWiuTldP0t8MfnucTRR2hGYDxleR36QssFT5x26dpvdE8lSQA=s120 c rp mo ba2 br100
Fanny Verstappen

I am very satisfied with working with this agency. They put my company pages on social media back in perfect order. They were always ready to help, thoughtful and also very friendly. Definitely highly recommended!

ACg8ocLBFd0pYGUn8L9E8ovDKiFfIsKN1c 2HGOjENMv3u niXXfgA=s120 c rp mo br100
Hans Kenis

Very nice collaboration. Great input and ideas with a beautifully finished website as the end result!

ALV UjViW6ZdbGNana6SeIAAVunsnJID0mgtabMSZz6qK40n gNACEys=s120 c rp mo br100
Chayenne Van Den Eynden

Very satisfied with the service , always in good order