<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<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=<a href="http://paris.intersquat.org/les-lieux/le-satellite/?fbclid=de58e340d6aa79a584552a2055042d004b9b19454bc0d7a6046fc81fc90f51">http://paris.intersquat.org/les-lieux/le-satellite/?fbclid=de58e340d6aa79a584552a2055042d004b9b19454bc0d7a6046fc81fc90f51</a><br></div><div>into<br></div><div>website=<a href="http://paris.intersquat.org/les-lieux/le-satellite/">http://paris.intersquat.org/les-lieux/le-satellite/</a><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>* <a href="https://www.openstreetmap.org/way/754704241/history">https://www.openstreetmap.org/way/754704241/history</a><br></div><div>** <a href="https://www.cronauerlaw.com/?utm_source=openstreetmap">https://www.cronauerlaw.com/?utm_source=openstreetmap</a><br></div><div>* <a href="https://www.openstreetmap.org/node/1063808111/history">https://www.openstreetmap.org/node/1063808111/history</a><br></div><div>** <a href="http://www.travelerscoffee.ru?utm_campaign=geo&utm_source=openstreetmap&utm_medium=link">http://www.travelerscoffee.ru?utm_campaign=geo&utm_source=openstreetmap&utm_medium=link</a><br></div><div>* <a href="https://www.openstreetmap.org/node/6817678019/history">https://www.openstreetmap.org/node/6817678019/history</a><br></div><div>** <a href="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">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</a><br></div><div>* <a href="https://www.openstreetmap.org/node/1684317522">https://www.openstreetmap.org/node/1684317522</a><br></div><div>** <a href="http://www.travelerscoffee.ru?utm_campaign=geo&utm_source=openstreetmap&utm_medium=link">http://www.travelerscoffee.ru?utm_campaign=geo&utm_source=openstreetmap&utm_medium=link</a><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 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 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><a href="https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account">https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account</a><br></div><div><br></div><div>Yes, editing element will cause it to be edited and change "last edited" 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 automatic.<br></div><div><br></div><div>Documentation page: <a href="https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/remove_tracking_parameters">https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/remove_tracking_parameters</a><br></div><div><br></div><div>Edits that would be made by bot, based on currently present tracking parameters:<br></div><div><a href="https://gist.github.com/matkoniecz/6710d066fea6596533f5013040eb5dc1">https://gist.github.com/matkoniecz/6710d066fea6596533f5013040eb5dc1</a><br></div> </body>
</html>