Neat-URL icon indicating copy to clipboard operation
Neat-URL copied to clipboard

Doesn't work correctly with URL shorteners (e.g. on Twitter)

Open mscha opened this issue 2 years ago • 0 comments

When I click on links on Twitter, I usually end up on a page that still has tracking parameters. For instance, a link on Twitter:

  • https://t.co/6gRWZ581yQ redirects to
  • https://dlvr.it/Sh9FRB redirects to
  • https://www.luchtvaartnieuws.nl/nieuws/categorie/2/airlines/ryanair-zwakt-groene-claim-af-na-kritiek-toezichthouder?utm_source=dlvr.it&utm_medium=twitter

When I follow this link with Neat URL enabled, I end up on https://www.luchtvaartnieuws.nl/nieuws/categorie/2/airlines/ryanair-zwakt-groene-claim-af-na-kritiek-toezichthouder?utm_medium=twitter . So it did remove the utm_source=dlvr.it parameter but not the utm_medium parameter.

Creating a test page with both the Twitter link and the direct URL confirms that both parameters are used with the direct link, but only one with the Twitter link.

mscha avatar Jan 20 '23 11:01 mscha