7 days free

How to remove tracking from links you copy on Mac

Copy a link and you get half a paragraph of utm_source and other tracking tags. Copy just the link.

Short answer

Safari Private Browsing, Mail and Messages remove known tracking parameters, and Safari can do it for all browsing; links you copy elsewhere keep theirs. By hand, you delete the tracking part after the ? in the address. MacFixes strips tracking like utm_source from links you copy, in any app.

Part of MacFixes: 7 days free, then $2.99 a month or $17.99 once, with every app and fix included.

What macOS gives you

In Safari, Private Browsing removes known tracking parameters from links, and you can turn that on for all browsing in Safari → Settings → Advanced, under “Use advanced tracking and fingerprinting protection”. Mail and Messages also remove known tracking information from links shared in them. Links you copy from other browsers and apps keep everything.

How MacFixes fixes it

  1. 1
    Turn on the fix
    Open MacFixes Settings → Copy & Paste and turn on “Clean links” (or type its name into Search for a fix).
  2. 2
    Copy links as usual
    Tracking like utm_source is removed as you copy. You can add your own parameters to strip.
DownloadmacOS 14 Sonoma or later · 7 days free

What the junk on the end of a link is

Most of a long link is not the address of the page. Everything after the question mark is the query string: pairs of name=value separated by &. Some of those pairs matter to the page — which video to play, what you searched for, which product to show. Many don’t. They’re there to tell someone where the click came from.

UTM tags are the most common. utm_source, utm_medium, utm_campaign, utm_term and utm_content are the names Google Analytics reads, and they say which newsletter, which post, which ad and which campaign sent the visitor. A shop’s email links usually carry a full set.

Click identifiers are the other kind you’ll see a lot: gclid on links from Google Ads, fbclid on links opened from Facebook, msclkid from Microsoft’s ads. They are long random-looking strings that let the ad platform match the visit back to a particular click.

Usually none of these change the page you see. Take them off and the link goes to the same place, shorter.

Why clean a link before you share it

It says where you found it. A link you paste into a chat or a document passes its tags on to everyone who opens it, and to the site’s analytics each of their visits then looks like it came from your newsletter, your ad or your share. That’s usually harmless and occasionally something you’d rather not hand over.

It reads like spam. A link with three lines of tags is hard to check by eye, looks suspicious in an email, and takes up half a message. A clean one shows the reader where it goes.

It breaks less. Long links wrap and get cut off when they’re pasted into places with a character limit or a narrow column. A short one survives.

Every way to remove tracking from a link on a Mac

Let Safari do it. Safari’s Link Tracking Protection removes known tracking parameters from links in Private Browsing, and you can turn on advanced tracking and fingerprinting protection for all browsing in Safari’s settings. Mail and Messages remove known tracking information from links shared in them, too. All of this is Apple’s list of known trackers, inside Apple’s apps; a link you copy from Chrome, Firefox, Slack or a PDF keeps everything.

Clean it by hand. Click the address bar, find the first ? and delete the tracking pairs after it — usually everything from the ? onwards. Before you delete it all, look for a part the page needs: a YouTube link’s v= is the video and t= the time to start at, a search link’s q= is the search, and some shops put the product or colour in the query string. Delete just the tags, paste the result into a new tab, and check it still opens the same page.

Use an extension. Several browser extensions remove tracking parameters from the links you visit or copy. They work only in the browser they’re installed in.

Clean every link you copy. This is what Clean links in MacFixes does: when what you copied is a single link, tracking like utm_source is stripped from it as you copy, whichever app you copied it from — browser, mail app, chat or PDF. If a link still carries a tag you’d like gone, add its name to the fix’s list of parameters to strip.

What cleaning a link can’t remove

A shortened link has nothing to strip. bit.ly-style short links and many apps’ share links are a short code that redirects to the full address, tags and all. The tracking happens in that redirect, so there is nothing visible to remove. Open the link, then copy the address from the browser once the real page has loaded.

Redirect links in emails and search results. Newsletters often wrap every link in a click-tracking address of their own that forwards you on. Copy one of those and what you copy is the redirect. As with a short link, open it and copy the address of the page you land on.

Tracking that is part of the address itself. Some sites put an identifier in the path, the part before the ?, rather than in a tag. Removing it can break the link, and stripping tags doesn’t touch it.

A link inside a paragraph. MacFixes cleans the clipboard only when it holds a single http or https link. Copy a sentence with a link in it and the whole thing is left as it was, so the text you copied never changes under you.

Pairing it with the rest of your copying

Clean links needs no permission, and it has its own card in the menu bar panel once you add it.

A link is only one thing that comes along with what you copy. Text copied from a web page brings its fonts and colours too; paste it without formatting and only the words arrive. If you share the same links again and again, clipboard history keeps what you copied so you can paste it later. And if something on the clipboard is private — a password, a card number, a code from an email — clear the clipboard automatically after a while, or when your Mac sleeps or locks.

Permissions, and turning it off

To stop using it, open MacFixes Settings → Copy & Paste and use the switch on the “Clean links” row.

Questions

How do I remove tracking from a link on Mac?

Delete the tracking tags after the ? in the address, such as utm_source and fbclid, keeping any part the page needs. Safari does it for known trackers in Private Browsing, and Mail and Messages do it for links shared in them. MacFixes strips tracking like utm_source from any link you copy on its own.

What does utm_source mean in a link?

It’s a tag that tells the site’s analytics where the visitor came from — a newsletter, a social post, an ad. Removing it doesn’t change the page the link opens.

Is it safe to delete everything after the question mark?

Often, but not always. Some links need part of the query string, such as a YouTube link’s v=. Delete the tags, then open the link to check it still goes to the same page.

Can I strip other parameters?

Yes. Add any parameter names you want removed in the fix’s settings.

What about a link inside a paragraph I copy?

It’s left as it is. MacFixes cleans the clipboard when it holds just a link.

What does it cost?

Clean links comes with MacFixes: 7 days free, then $2.99 a month or $17.99 once. It needs no permission.

More fixes macOS doesn’t give you

One of 47 fixes and 10 apps in MacFixes. Every fix · Every app · Something else your Mac won’t do? Request it.

Remove tracking from links you copy with MacFixes

MacFixes has 47 fixes for things macOS gets wrong or leaves out. Add only the ones you want. Free for 7 days, then $2.99 a month or $17.99 once. macOS 14 Sonoma or later.

Download