UTM parameters and URL tracking

What those codes at the end of a link mean, how to use them, and what they mean for privacy.

Illustration: a network of glowing paths connecting icons of digital channels

UTM parameters are tags added to URLs to measure how well digital marketing campaigns work. They identify the source of web traffic, the channel used and the specific campaign, providing essential data for improving online marketing strategies.

Have you ever noticed those strange codes at the end of a URL when you click a link in a newsletter or a social post? They are not errors or random code: they are URL tracking parameters, powerful tools that let companies understand exactly where the visitors to their websites come from. In this article we will look at tracking parameters, with a focus on UTMs, and see how they work, why they matter and what they mean for your privacy online.

What are URL tracking parameters?

Imagine you are a detective trying to find out how people reach a particular destination. URL tracking parameters are like small clues left along the digital path, telling you exactly where a visitor came from, which ad they saw, on which platform, and much more.

These parameters appear as additions to the normal web address, after a question mark (?) or an ampersand (&). Here is an example:

https://example-store.com/shoes?utm_source=instagram&utm_campaign=summer_sale

Here, everything after the question mark is a tracking parameter that tells the site owner you came from Instagram, through a campaign called “summer_sale.”

The different types of tracking parameters

UTMs (Urchin Tracking Module) are the most widely used tracking parameters. The name “Urchin” comes from the company that created them, before Google bought it in 2005 and turned its product into what we now know as Google Analytics.

UTMs work like a standardized labeling system, with five main types:

  • utm_source: where the traffic comes from (for example: facebook, newsletter, google)
  • utm_medium: the type of channel (for example: social, email, cpc)
  • utm_campaign: the specific marketing campaign (for example: black_friday, new_product_launch)
  • utm_term: used to track keywords in paid ads
  • utm_content: distinguishes different versions of the same ad (for example: red_banner, video_testimonial)

2. Facebook’s parameter: fbclid

When you share a link on Facebook, the platform automatically adds its own fbclid parameter (Facebook Click Identifier). It is like a digital barcode Facebook uses to track clicks on links shared within its ecosystem:

https://example-store.com/shoes?fbclid=IwAR123456abcdefg...

3. Google’s parameters: gclid and dclid

Google has its own parameters too:

  • gclid: added automatically to links in Google Ads
  • dclid: used for DoubleClick display campaigns (Google’s advertising platform)

4. Other custom parameters

Many marketing platforms have created their own tracking parameters:

  • HubSpot uses _hsenc and _hsmi
  • Mailchimp uses mc_cid and mc_eid
  • Adobe Analytics uses s_cid

How tracking parameters work, simply explained

Think of tracking parameters as a movie ticket torn at the entrance. Here is what happens when you click a link with these parameters:

  1. Click on the link: it is like taking a ticket that says where you come from (social, email and so on)
  2. Arrival on the site: the ticket is “torn” and the information is recorded
  3. Data analysis: the site owners can see a summary of all the “tickets” and understand which channels bring the most visitors

This collection of information lets companies understand which of their marketing activities work best and which need improving.

Why do tracking parameters matter to companies?

For companies, knowing where visitors come from matters for several reasons:

Measuring return on investment (ROI)

If a company spends €1,000 on Instagram ads and another €1,000 on a newsletter, how can it know which channel produced more sales? Tracking parameters answer that question, allowing smarter investment.

Improving campaigns

Knowing which email subject line, which image in an ad or which social media message gets the most clicks makes it possible to keep improving marketing strategies.

Understanding the customer’s path

Before buying, a person may visit a website several times, arriving from different channels. Tracking parameters help map this complex path, showing the whole route from first discovery to final purchase.

How to use tracking parameters correctly

Use simple, consistent names

Imagine having to organize hundreds of files on your computer without a consistent naming system: it would quickly become chaos! The same goes for tracking parameters. A few tips:

  • Always use lowercase letters (instagram, not Instagram)
  • Replace spaces with underscores or hyphens (black_friday or black-friday)
  • Keep names consistent (if you use “social” as the medium for Facebook, use it for Instagram too)

Building URLs with UTM parameters by hand can be tedious and error-prone. Fortunately there are free tools that make it easier:

  • Google Campaign URL Builder: an official Google tool for building URLs with UTM parameters
  • Bitly and other URL shorteners: create shorter, more manageable links
  • Built-in UTM generators in platforms such as HubSpot, Mailchimp and Buffer

The critical note: implications for privacy

URL tracking parameters raise important privacy questions that deserve attention. Here are some of the problems:

Invisible yet in plain sight

Unlike cookies, URL parameters are visible in the web address, but most users do not know what they mean or how they are used to track them. This “technical transparency” is not the same as truly informed consent.

Sharing data without meaning to

When you share a link with UTM parameters with friends or colleagues, you are unintentionally also sharing information about how you found it. For example, if you share a URL with utm_source=private_newsletter, you are revealing your source.

Integration with other tracking systems

URL parameters on their own may seem harmless, but combined with cookies, tracking pixels and other technologies they help build detailed user profiles without users’ explicit consent.

Evolving regulatory compliance

As privacy laws such as the GDPR in Europe and the CCPA in California grow stricter, using tracking parameters without properly informing users could become more and more problematic legally.

The future of URL tracking in a world that cares more about privacy

Online tracking is changing fast. As browsers phase out third-party cookies and users become more aware of privacy, URL tracking parameters may take on an even more important, and more controversial, role.

Possible developments:

  • More sophisticated parameters that collect less personal data but still provide useful information
  • More transparency about how and why these tools are used
  • Opt-in systems that explicitly ask for consent before tracking users through URL parameters

Finding the right balance

URL tracking parameters, with UTMs in the lead, are powerful tools for understanding how well digital marketing strategies work. For companies, they offer valuable data for better investment and a better user experience. For consumers, they raise important privacy questions that cannot be ignored.

The challenge ahead will be to find the right balance between the need for data analysis and respect for users’ privacy. The most forward-looking companies are already adopting more transparent, respectful approaches, recognizing that users’ trust is an even more valuable asset than the data they collect.

Whether you are a marketing professional who uses these tools or an internet user curious about the codes at the end of URLs, a better understanding of how tracking parameters work is the first step toward a more transparent, fairer digital ecosystem.

Frequently asked questions about URL tracking parameters

Can I remove UTM parameters from URLs?

Yes, you can manually delete everything after the question mark (?) in the URL without affecting access to the page.

Do tracking parameters slow down page loading?

No, they do not affect loading speed, because they only pass information to analytics systems.

How can I see what data is being collected about me?

Tools such as Google Analytics do not show individual data, only aggregates. The parameters in the URL, though, reveal which information is being tracked.

Do UTM parameters work on mobile devices?

Yes, they work on any device or browser, as long as the full URL is kept while browsing.

Can companies track my personal identity with UTM parameters?

UTM parameters alone do not identify users personally, but combined with login accounts or other identifiers they can help build a more detailed user profile.