Short answer: in Link Extractor, open Filters & settings and turn on Remove utm and other tracking tags. Redirect links are already shown as their real address: Real URL instead of redirect is on by default. Both apply to the list, to what you copy and to the CSV.
Two different problems
Tracking tags are parameters added to an address to count clicks:
https://shop.example/item?utm_source=newsletter&fbclid=…. The page is the
same with or without them, but in a spreadsheet the tagged copies look like different
links and make your list longer.
Redirect links wrap the real address in another one:
https://www.google.com/url?q=https://example.com/ or
https://l.facebook.com/l.php?u=…. Copy them as they are and every row starts
with google.com or facebook.com, so you cannot sort or filter by the site they lead to.
Step by step
- Open the page and click the Link Extractor icon (Alt+Shift+L, on a Mac Ctrl+Shift+L).
- Open Filters & settings.
- Under Copy & files, turn on Remove utm and other tracking tags. Leave Real URL instead of redirect on.
- Check the list: the panel says utm and other tracking tags are removed from the URLs, and how many redirect links show their real URL. Each of them is marked from redirect; hover over the mark to see the address from the page.
- Click Copy URLs or CSV.
The settings are remembered for the next pages.
Which tags are removed
Every utm_… parameter, plus fbclid, gclid,
dclid, gbraid, wbraid, msclkid,
yclid, ysclid, igshid, mc_cid,
mc_eid, _hsenc, _hsmi, mkt_tok,
twclid, ttclid, li_fat_id, srsltid,
_ga and _gl.
The list is short on purpose. Parameters such as ref, source or
id stay, because some sites need them and removing them would give you a
broken link. The rest of the address is kept exactly as written: the order of the
parameters, their encoding and the part after #. Links that differed only by
tracking tags become one row.
Which redirect links are unwrapped
Google (/url?q=), Bing (/ck/a), DuckDuckGo, Facebook and
Instagram outbound links, YouTube, LinkedIn and Reddit redirects, Outlook Safe Links,
Slack, Steam and VK. The real address is read from the link itself: nothing is opened and
no request is made, so it is fast and private.
In the CSV the url column has the real address and
original_url keeps the wrapped one. To keep links exactly as they are on the
page, turn Real URL instead of redirect off.
What it does not do
- Short links such as bit.ly or t.co keep their target on their own server. Finding it means opening the link, and Link Extractor makes no network requests, so they stay as they are. Use a URL expander for those.
- Some Google results hide the real address. Then the link carries only an opaque Google code. The panel marks such a row URL hidden by Google and copies it as Google gives it, rather than guessing. On a results page, Results only lists just the results, in order, without ads.
-
A wrapper around a
javascript:ordata:address is never turned into that address: it stays the wrapper.
Questions
Does removing tags change the page?
No. Only the list, the copy and the file change. The page and its links stay as they are.
Why is tag removal off by default?
So that by default you get the links exactly as the page has them. Some people need the tags, for example to check a campaign's links. One switch turns it on.
Can I see which links were redirects?
Yes. They carry the from redirect mark in the list, and in the CSV their original
address is in the original_url column.