Link tracking is a special kind of tracking, where users were tracked by clicking on links.
This helps sites e.g. to identify where users came from. With this information they can improve their behavior,
so that they could get more views on their site.
How it works:
A link is not only the domain and a file alone. There are often a lot of extra parameters. Some paramters track, some
other paramters are just for the dynamic site itself (e.g. you search for something, etc.). The most popular parameters
for tracking are the so called UTMs. Which are basically parameters starting with utm_
.
This Add-On basically catches every link the browser requests. If a tracking parameter is included in the link, the Add-on will remove it and hand the link over to the browser.
If a parameter includes one of the following strings it will be removed:
utm_
wt_
refID
src
ext
_trk
mcID
tt_
eqrecqid
fbclid
yclid
gclid
wc_mc
amp
clickin
AffiliateID
campid
pf_rd
hmb_
igshid
fb
service
algo_
spm
btsid
ws_ab_
$ yarn
$ yarn lint
$ yarn start
Depending on the task, you can run yarn test
, yarn debug
, yarn test:watch
or yarn test:debug
Feel free to open an issue or make a pull request.
- Appropriate tests for parameter
- Option to opt out parameters for certain domains
- Logo
- GitHub CI integration
- CodeCov integeration
- Popup
This project is licensed under the MIT License
MIT License
Copyright (c) 2020 Fload
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.