News for hackers. Stuff that matters.
Re:ClearURLs – automatically remove tracking elements from URLs by marban on Wednesday May 05, 2021 @07:34AM (#27048598)
Related, if you're looking to clean urls on the backend, here's my current pattern used on https://upstract.com and some other news aggregators I've built:

startswith: 'utm_', 'ga_', 'hmb_', 'ic_', 'fb_', 'pd_rd', 'ref_', 'share_', 'client_', 'service_'

or has: '$/ref@amazon.', '.tsrc', 'ICID', '_xtd', '_encoding@amazon.', '_hsenc', '_openstat', 'ab', 'action_object_map', 'action_ref_map', 'action_type_map', 'amp', 'arc404', 'affil', 'affiliate', 'app_id', 'awc', 'bfsplash', 'bftwuk', 'campaign', 'camp', 'cip', 'cmp', 'CMP', 'cmpid', 'curator', '[email protected]', 'efg', 'ei@google.', 'fbclid', 'fbplay', '[email protected]', 'feedName', 'feedType', '[email protected]', 'forYou', 'fsrc', 'ftcamp', 'ga_campaign', 'ga_content', 'ga_medium', 'ga_place', 'ga_source', 'ga_term', 'gi', '[email protected]', 'gs_l', 'gws_rd@google.', 'igshid', 'instanceId', 'instanceid', '[email protected]', 'maca', 'mbid', 'mkt_tok', 'mod', 'ncid', 'ocid', 'offer', 'origin', 'partner','[email protected]', 'print', 'printable', 'psc@amazon.', '[email protected]', 'rebelltitem', 'ref', 'referer', 'referrer', 'rss', 'ru', '[email protected]', 'scrolla', 'sei@google.', 'sh', 'share', '[email protected]', 'source', '[email protected]', 'sref', 'srnd', 'supported_service_name', 'tag', 'taid', 'time_continue', 'tsrc', 'twsrc', 'twcamp', 'twclid', 'tweetembed', 'twterm', 'twgr', 'utm', 'ved@google.', 'via', 'xid', 'yclid', 'yptr'

Edit: Will turn this into a Gist at some point.

Re:ClearURLs – automatically remove tracking elements from URLs by pushcx on Wednesday May 05, 2021 @08:28AM (#27049019)
Thanks for sharing this. We filter some of these from submissions to Lobsters (https://github.com/lobsters/lobsters/blob/f25fc62d7603c1bf70...) and I'd be glad to expand it.

In your second list, are those the names of query params? I'm puzzled by the inclusion of @ in many of them, maybe you're saying that '_encoding' is a tracking param on any amazon domain, 'sk' is a tracking param on bing.com? What does the $ in the first entry indicate?

Re:ClearURLs – automatically remove tracking elements from URLs by mhio on Wednesday May 05, 2021 @09:16AM (#27049429)
Here's a (less extensive) code example from Tracking Token Stripper:

https://github.com/jparise/chrome-utm-stripper/blob/0d16a13d...

Re:ClearURLs – automatically remove tracking elements from URLs by HajiraSifre on Thursday May 06, 2021 @07:30AM (#27061663)
Looks like the syntax used by NeatURL, see https://github.com/Smile4ever/Neat-URL#parameter-rules
Re:ClearURLs – automatically remove tracking elements from URLs by werds on Wednesday May 05, 2021 @10:38AM (#27050400)
I don't see the point in blocking utm_ query string variables? they don't give up any personal information about you, they just help inform the landing site about which channels of marketing are working more effectively than others. This isn't about personal data, removing the UTM codes isnt helping anybody, it just means that the sites don't know where best to spend their money on marketing and ultimately results in seeing more ads in more irrelevant contexts in the future.
Re:ClearURLs – automatically remove tracking elements from URLs by Sephr on Wednesday May 05, 2021 @11:49AM (#27051445)
Interest-based and cohort-based targeting is anti-privacy. Sites can make do with contextually targeted ads only.
Re:ClearURLs – automatically remove tracking elements from URLs by unilynx on Wednesday May 05, 2021 @12:31PM (#27052070)
Attribution (figuring out where your ads are being clicked) has nothing to do with targetting.
Re:ClearURLs – automatically remove tracking elements from URLs by kiwijamo on Wednesday May 05, 2021 @06:47PM (#27056797)
So why bother collecting the data if it can't be used? I can't see ad firms collecting data they won't use for tracking.
Re:ClearURLs – automatically remove tracking elements from URLs by werds on Wednesday May 05, 2021 @02:18PM (#27053629)
thank you! somebody gets it!
Re:ClearURLs – automatically remove tracking elements from URLs by vmateixeira on Wednesday May 05, 2021 @08:02AM (#27048822)
Thanks for sharing