Skip to content
ProgrammerCat

How to Remove Tracking Parameters From a URL

Delete the tracking junk after the ? in a link without breaking it: what to cut, what to keep, examples for Amazon, YouTube and Instagram, and a faster way.

By ProgrammerCat Published 5 min read
In this article

To remove tracking from a link, delete the tracking parameters after the ?, such as utm_source, fbclid, igsh, or si, and keep the parameters the page needs to load, such as YouTube’s v and t. In many links you can delete everything from the ? onward and the page still opens. The rest of this guide shows which parts are safe to cut, with real-world examples.

What is the junk after the question mark?

A URL has a few parts. Take this one:

https://www.example.com/shoes/runner-2?color=blue&utm_source=newsletter&utm_campaign=fall_sale

  • https://www.example.com is the site.
  • /shoes/runner-2 is the page.
  • Everything after ? is the query string. It is a list of name=value pairs joined by &.

Some of those pairs do real work. color=blue picks the color you were looking at. Others exist only to record where the click came from. utm_source=newsletter and utm_campaign=fall_sale tell the shop’s analytics that you came from its fall newsletter. Social apps add their own share codes, which can tie the link back to the account that shared it.

When you copy and paste a link, all of it travels with it. For what each common parameter means, see what UTM parameters, fbclid and igshid are.

Before and after: common examples

Amazon

Before:

https://www.amazon.com/Example-Steel-Water-Bottle/dp/B0EXAMPLE1/ref=sr_1_3?crid=2XYZ&keywords=water+bottle&qid=1732400000&sprefix=water%2Caps%2C210&sr=8-3

After:

https://www.amazon.com/dp/B0EXAMPLE1

The 10-character code after /dp/ identifies the product. Amazon also hides tracking in the path, /ref=sr_1_3, not only after the ?. The short /dp/ form opens the same product page. If you picked a size or color, check the result, because the short link may open the default option.

YouTube

Before:

https://youtu.be/abcDEF12345?si=Qw3rTyUiOp9AsDfG&t=95

After:

https://youtu.be/abcDEF12345?t=95

si is a share identifier added when you tap Share. t=95 starts the video at 1:35 . Keep it if you want the timestamp. On full youtube.com/watch links, v= is the video itself. Never delete it.

Instagram

Before:

https://www.instagram.com/reel/C0abcdEFgh1/?igsh=MTc4bWx5ZTQ2dGJ6

After:

https://www.instagram.com/reel/C0abcdEFgh1/

Older Instagram links use igshid instead of igsh. Both are share tracking, and both can go.

Facebook

Before:

https://www.example-news.com/story/12345?fbclid=IwAR2xYz...

After:

https://www.example-news.com/story/12345

Facebook adds fbclid to links that people click from Facebook to other sites. The destination site doesn’t need it to show the page.

Before:

https://shop.example.com/sale?utm_source=email&utm_medium=newsletter&utm_campaign=bf2026&utm_content=hero_button

After:

https://shop.example.com/sale

Every utm_ parameter is analytics only.

  1. Copy the link and paste it somewhere you can edit it, such as a notes app or your browser’s address bar.
  2. Find the ?. Everything after it is the query string.
  3. Delete each parameter you recognize as tracking, together with its & or ?.
  4. If the first parameter goes and others stay, make sure the next one now starts with ?, not &.
  5. Open the cleaned link once to check it still shows the right page.
  6. Share the cleaned version.

Safe to delete

  • Anything starting with utm_
  • Click IDs: fbclid, gclid, msclkid, ttclid, twclid
  • Share codes: igsh, igshid, si (YouTube, Spotify), share_id
  • Email trackers: mc_cid, mc_eid, _hsenc, _hsmi
  • Amazon’s ref, qid, sr, crid, sprefix, and the /ref=... path part

Keep these

  • v, t, list on YouTube
  • q on search pages, which is the search itself
  • id, p, or page on many sites, where they choose the item or article
  • Size, color, or variant choices on shop pages
  • Anything you don’t recognize on a site you haven’t tested. Remove it, open the link, and put it back if the page breaks.

Never share links with login or password-reset tokens, even cleaned. Those parameters are effectively keys to an account.

Browser-level options

Some browsers clean links for you, but coverage varies.

  • Firefox removes some known tracking parameters in strict tracking protection and private windows. On desktop, the right-click menu has an option to copy a link without site tracking.
  • Brave strips a list of known tracking parameters when you open a link, and can copy clean links on desktop.
  • Safari on recent iOS and macOS versions removes some tracking parameters in Private Browsing, Mail, and Messages.
  • Chrome has no built-in parameter stripping. Desktop extensions such as ClearURLs fill the gap. Chrome on Android doesn’t support extensions.

These help when you open links. They don’t help much when you share a link from an app’s Share button, which is where most of the tracking codes come from.

The one-tap way on Android

Cleaning links by hand is fine once. It gets old if you share links every day.

Clean My Links is an Android app that does it in one step. Share a link from any app to it, or paste it in. The app removes the known tracking parameters, keeps the ones a site needs (like YouTube’s v and t), and shortens Amazon product links to the /dp/ form. It shows which trackers it removed, then lets you copy, share, or open the clean link. It also cleans every link inside a pasted block of text and keeps a short history of recent cleans. The cleaning runs entirely on your phone, so the link isn’t sent anywhere to be processed.

MethodSpeedAccuracy
By handSlowGood if you know the parameters
Browser featuresAutomaticOnly when opening links
Link-cleaner appOne shareSite-specific rules, keeps functional parts

FAQ

Only if you remove a functional one, like v on YouTube or q on a search page. Test the link once after cleaning it.

Can I just delete everything after the question mark?

Often, yes. It works for most social, news, and newsletter links. It fails on search pages, YouTube watch links, and some shop pages.

Does a URL shortener remove tracking?

No. Short links such as bit.ly redirect to the full URL, trackers included, and the shortener can log the click as well.

No. The site still sees your visit, IP address, and cookies. Cleaning removes the extra data that says where the link came from and who shared it.

More articles

Clean My Links

How to Share a Clean Amazon Link

Cut any Amazon product link down to amazon.com/dp/ plus its 10-character ASIN. Learn what ref=, pd_rd_, tag=, th= and psc= do and which ones you can drop.