User:Dušan Kreheľ/Bot:Removal of tracking URL parameters
Bot function
editRemove tracking parameters from the URL.
Actual implementation
editRemoves parameters from URL
editName 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
editThe content in the comments does not change.
The Wikipedia namespace
editThe changes pages are in the 0 / Primary namespace (based wikipedia dump). That is the priority. Another …
Ignored
editURLs
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- plus:
- hrwiki: hu:Sablon:Webarchiv.
- ✍️ Need You anothers, please You add.
Demos
editManual online
editAvailable on https://krehel.sk/Bot:Removal_of_tracking_URL_parameters/.
Source code
edit- Removal_of_the_tracking_URL_parameters.php.zip (older version).
See also
editReferences
edit- ↑ a b c d e f "Campaign URL Builder". ga-dev-tools.web.app.
- ↑ "Ad - Urchin Tracking Module (UTM) - or Campaign Parameters". datacadamia.com.
- ↑ "Using UTM Codes". help.mergemail.co.
- ↑ Contributors to Wikimedia projects. "Google Ads". en.wikipedia.org.
- ↑ "Identifikátor kliknutia Google (GCLID): definícia". support.google.com.
- ↑ a b "How Google Analytics associates user sessions with Search Ads 360 visits". support.google.com.
- ↑ Contributors to Wikimedia projects. "UTM parameters". en.wikipedia.org.
- ↑ References:
- Avi Mehta (2015-03-26). "Avi Mehta". GTM parameter in google analytics collect URL? (Mailing list). Retrieved 2022-07-13.
- Leo Cavalcante (leocavalcante). "Tracking Analytics". github.com.
- François Joly. "Google Analytics Classic and Universal parameters explained". www.gokam.co.uk.
- ↑ a b c "fbp and fbc Parameters". developers.facebook.com.
- ↑ a b c d e f g "New Firefox privacy feature strips URLs of tracking parameters". Bleeping Computer® LLC.
External links
edit- Tracking-Urls (Quarry)
- Neat-URL (Github)