User:Dušan Kreheľ/Bot:Removal of tracking URL parameters

Bot function

edit

Remove tracking parameters from the URL.

Actual implementation

edit

Removes parameters from URL

edit
Name of parameter Reference Notices
utm_id [1]
utm_source [1]
utm_medium [1]
utm_campaign [1]
utm_term [1]
utm_content [1]
utm_referrer [2]
utm_email [3]
gclid [4][5][6]
gclsrc [6]
dclid [7]
_r [8]
fbclid [9]
fbc [9]
fbp [9]
oly_enc_id [10]
oly_anon_id [10]
__s [10]
vero_id [10]
_hsenc [10]
mkt_tok [10]
mc_eid [10]
traffic_type
useskin Only with the parameters oldid and title.
srcc
useskin
PHPSESSID
traffic_id
traffic_type
Both at the same time.
_r
ref
Both at the same time.
_r
oref
Both at the same time.
em, gtw, gwh, hp, hpw, mtrref, src Only for the nytimes.com / www.nytimes.com.
The parameters from project Neat-URL.
The any parameters from project camelbot.

The source of unreferences parameters: Wikipedia dump files.

HTML/XML comment

edit

The content in the comments does not change.

The Wikipedia namespace

edit

The changes pages are in the 0 / Primary namespace (based wikipedia dump). That is the priority. Another …

Ignored

edit

URLs

edit
  • With the domain context "archive.".
  • With the char semicolon (;).
  • With last chars ".", ",", ";", "!" and "?".
  • With the HTML entity.

Pages

edit
  • With the strings:
    • pre,
    • nowiki,
    • syntaxhighlight.

Template content call

edit


✍️ Need You anothers, please You add.

Demos

edit

Manual online

edit

Available on https://krehel.sk/Bot:Removal_of_tracking_URL_parameters/.

Source code

edit

See also

edit

References

edit
  1. a b c d e f "Campaign URL Builder". ga-dev-tools.web.app. 
  2. "Ad - Urchin Tracking Module (UTM) - or Campaign Parameters". datacadamia.com. 
  3. "Using UTM Codes". help.mergemail.co. 
  4. Contributors to Wikimedia projects. "Google Ads". en.wikipedia.org. 
  5. "Identifikátor kliknutia Google (GCLID): definícia". support.google.com. 
  6. a b "How Google Analytics associates user sessions with Search Ads 360 visits". support.google.com. 
  7. Contributors to Wikimedia projects. "UTM parameters". en.wikipedia.org. 
  8. References:
  9. a b c "fbp and fbc Parameters". developers.facebook.com. 
  10. a b c d e f g "New Firefox privacy feature strips URLs of tracking parameters". Bleeping Computer® LLC. 
edit