What are tracking parameters?
Tracking parameters are tags added to the end of a link that tell a website where a visitor came from. They name the newsletter, ad or social post you clicked, and click IDs connect your visit to one specific click. Anyone who opens a link you share sends that information along.
On this page
How do tracking parameters work?
Tracking parameters work by adding labels to the address of a page after a question mark. The website ignores them when it builds the page. Its analytics and advertising scripts read them and record where the visit came from.
A link from a shop newsletter can look like this:
https://shop.example/running-shoes/?utm_source=newsletter&utm_medium=email&utm_campaign=winter_sale
Everything before the ? is the page itself.
Everything after it is a list of keys and values, separated by &.
The highlighted parts tell the shop that you came from the email newsletter about the winter sale.
The page loads exactly the same without these parameters. They exist only for measurement. The company that sent the link adds them, often automatically, before you ever see the link.
The parameters also reach the web server itself. The server writes the full address, parameters included, to its log files. Every script on the page can read the address too, including scripts from other companies.
What are UTM parameters?
UTM parameters are five standard tags that describe the campaign behind a link.
UTM stands for Urchin Tracking Module. Urchin was a web analytics company that Google bought in 2005, and its tags became the standard. Google Analytics and most other analytics tools read them.
Marketers add UTM tags to see which channel brings visitors and sales. Without tags, a visit from a link in an email app often counts as a direct visit. Google's Campaign URL Builder creates a tagged link in a few seconds.
| Parameter | What it records | Example |
|---|---|---|
| utm_source | The website or sender that sent you | newsletter, facebook |
| utm_medium | The type of channel | email, cpc, social |
| utm_campaign | The name of the campaign | winter_sale |
| utm_term | The search keyword of a paid ad | running+shoes |
| utm_content | Which link or ad version you clicked | header_button |
UTM parameters describe a campaign, not a person.
Everyone who receives the same newsletter gets the same tags.
Some senders add a personal value, such as a subscriber number in utm_content, and then the tag points to you.
What are click IDs such as gclid and fbclid?
A click ID is a unique code that an advertising platform adds to a link for one single click.
Where a UTM tag is the same for everyone, a click ID is different every time. The platform stores the click ID together with what it knows about the click. When the website reports the click ID back, the platform knows which ad or post led to the visit.
| Click ID | Added by | When |
|---|---|---|
| gclid | Google Ads | When you click a Google ad |
| fbclid | When you click a link on Facebook | |
| msclkid | Microsoft Advertising | When you click an ad on Bing |
A click ID turns an anonymous visit into a known click. The advertising platform can connect that click to the account that saw the ad. That makes click IDs more revealing than UTM parameters.
The click ID often stays after the page is closed. Google's tag stores the gclid in a cookie on the website you visited. A purchase days later can then still be credited to the ad you clicked.
What does a tagged link reveal about you?
A tagged link reveals how you found a page and, with a click ID, which click was yours.
The website learns that you read its newsletter, saw its ad or followed a post. The advertising platform learns that its ad worked and that you arrived. Its scripts on the page can then follow what you do next, such as a purchase or a sign-up.
Newsletters add one more layer. Many newsletter links first pass through the server of the email platform. That platform records which subscriber clicked before it sends you on with the tags.
The tags also travel when you share a link. Paste a tagged link in a group chat and every friend who opens it sends your campaign tags along. A personal tag or a click ID can link their visits back to your original click. A long link also shows your friends which newsletter you read or which ad you clicked.
How do you remove the tags from a link?
You remove the tags by deleting the tracking keys after the question mark before you share a link.
In the example above, the clean link is https://shop.example/running-shoes/.
Select the address bar, delete everything from the ? onwards and press Enter.
If the page still loads correctly, share that shorter link.
Some links need parameters to work, such as a search term or a video start time.
In that case, delete only the keys that start with utm_ and the click IDs gclid, fbclid and msclkid.
Keep the other keys and the & signs between them.
Some browsers remove known click IDs for you. Firefox strips them in the strict mode of Enhanced Tracking Protection, according to Mozilla. Safari removes them in Private Browsing since Safari 17 in 2023, according to Apple.
Copy buttons in apps add tags as well. A link copied from a video or shopping app often ends with a share key that names the app or your account. Check the end of a copied link before you paste it.
Block the trackers that read your links
UltraBlock blocks the trackers that read tracking parameters on the page and shows which ones a website loads.
Block trackers
Frequently asked questions
Are UTM parameters dangerous?
No, UTM parameters are plain text in a link and cannot harm your computer. They tell a website where a visitor came from, which is a privacy question, not a security problem.
Does removing tracking parameters break a link?
Usually not, because the page loads the same without them. Some links need other parameters, such as a search term or a product number. Remove only the tracking keys and keep the rest.
What does fbclid mean?
Fbclid stands for Facebook click identifier. Facebook adds it to links that people click on Facebook, so the receiving website can connect the visit to that click.
Does private browsing remove tracking parameters?
In most browsers it does not. Safari removes known click IDs from links in Private Browsing. Check what your own browser does before you rely on it.