<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div>I expanded <br></div><div><a href="https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/remove_tracking_parameters#How">https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/remove_tracking_parameters#How</a><br></div><div><br></div><div>Thanks for a feedback!<br></div><div><br></div><div>Let me know if it is clear or whatever it should be improved.<br></div><div><br></div><div>May 13, 2020, 14:09 by marc_marc_irc@hotmail.com:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>Hello,<br></div><div><br></div><div>I agree the idea and thank you for doing the operation,<br></div><div>can you highlight on the wiki the key and the logic ? it seem to be<br></div><div>key : website url source (but not <br></div><div>contact:website heritage:website brand:website <br></div><div>source:website operator:website was:website ?)<br></div><div>target : "fbclid", "gclid", "campaign_ref", "mc_id", "utm_source",<br></div><div>"utm_medium", "utm_term", "utm_content", "utm_campaign"<br></div><div><br></div><div>someone who doesn't read the code, must still be able<br></div><div>to easily understand the criteria of the operation.<br></div><div><br></div><div>Regards,<br></div><div>Marc<br></div><div><br></div><div>Le 13.05.20 à 13:40, Mateusz Konieczny via talk a écrit :<br></div><blockquote><div>URL often have unnecessary parts, typically added for tracking purposes.<br></div><div>This tracking parameters sshould never appear in any osm tags.<br></div><div><br></div><div>FB, Google and other add tracking links for various purposes.<br></div><div><br></div><div>It means that it is beneficial to turn tag<br></div><div>website=http://paris.intersquat.org/les-lieux/le-satellite/?fbclid=de58e340d6aa79a584552a2055042d004b9b19454bc0d7a6046fc81fc90f51<br></div><div>into<br></div><div>website=http://paris.intersquat.org/les-lieux/le-satellite/<br></div><div><br></div><div>This urls can be often fixed using an automated script, allowing to<br></div><div>use human time on something more productive.<br></div><div><br></div><div>Human-made edit will also result in changing "last edited by"<br></div><div>(while not allowing to filter out such edits unlike marked bot edit),<br></div><div>there are better ways to spot areas requiring fixes and we are not lacking<br></div><div>places with QA indicators that manual review is needed.<br></div><div><br></div><div>Usually tracking links are added by clueless people who just searched for<br></div><div>a website and copied it from FB/Google.<br></div><div><br></div><div>There are rare cases of links created to specifically track OSM users<br></div><div>see for example<br></div><div>* https://www.openstreetmap.org/way/754704241/history<br></div><div>** https://www.cronauerlaw.com/?utm_source=openstreetmap<br></div><div>* https://www.openstreetmap.org/node/1063808111/history<br></div><div>**<br></div><div>http://www.travelerscoffee.ru?utm_campaign=geo&utm_source=openstreetmap&utm_medium=link<br></div><div>* https://www.openstreetmap.org/node/6817678019/history<br></div><div>**<br></div><div>https://www.resotainer.fr/agence-bonneuil-sur-marne?utm_source=open-street-map&utm_medium=recherche-locale&utm_content=openstreetmap&utm_campaign=open-street-map-garde-meubles-bonneuil-sur-marne<br></div><div>* https://www.openstreetmap.org/node/1684317522<br></div><div>**<br></div><div>http://www.travelerscoffee.ru?utm_campaign=geo&utm_source=openstreetmap&utm_medium=link<br></div><div><br></div><div>In general I have not noticed correlation between presence of tracking links<br></div><div>and additional issues that would not be detected automatically.<br></div><div><br></div><div>Therefore automatic removal of tracking parameters is not causing loss of<br></div><div>useful indicators of areas that should be reviewed.<br></div><div>Osmose and JOSM validators and StreetComplete are offering better<br></div><div>indicators.<br></div><div><br></div><div>Automatic removal would allow me to spend time on something more useful,<br></div><div>than reviewing all cases where this links are present and confirming<br></div><div>them one by one.<br></div><div><br></div><div>Proposed bot edit would remove links where all used parameters are tracking<br></div><div>users and may be removed. Other links will be reviewed manually to catch<br></div><div>also currently unknown tracking parameters.<br></div><div><br></div><div>Anchors (#section) will be preserved.<br></div><div><br></div><div>Parameters for removal across OSM: fbclid, gclid, campaign_ref, mc_id,<br></div><div>utm_source, utm_medium, utm_term, utm_content, utm_campaign<br></div><div><br></div><div>Code is tested, I am currently using it in a manual review mode.<br></div><div>Sole difference in but run will be disabling of manual confirmation.<br></div><div><br></div><div>I have experience with automated edits, see<br></div><div>https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account<br></div><div><br></div><div>Yes, editing element will cause it to be edited and change "last edited"<br></div><div>date.<br></div><div>Effect will be exactly the same in case of using bot and manual edit<br></div><div>(which I will do anyway in case of rejecting this automated edit proposal).<br></div><div>Note that in case of bot edits you may filter out bot edits marked as<br></div><div>automatic.<br></div><div><br></div><div>Documentation page:<br></div><div>https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/remove_tracking_parameters<br></div><div><br></div><div>Edits that would be made by bot, based on currently present tracking<br></div><div>parameters:<br></div><div>https://gist.github.com/matkoniecz/6710d066fea6596533f5013040eb5dc1<br></div><div><br></div><div>_______________________________________________<br></div><div>talk mailing list<br></div><div>talk@openstreetmap.org<br></div><div>https://lists.openstreetmap.org/listinfo/talk<br></div></blockquote><div><br></div><div><br></div><div>_______________________________________________<br></div><div>talk mailing list<br></div><div>talk@openstreetmap.org<br></div><div>https://lists.openstreetmap.org/listinfo/talk<br></div></blockquote><div><br></div> </body>
</html>