matomo-org / matomo-org/plugin-TrackingSpamPrevention
Feature request: Dimension metric abnormalities
Nessuno ha ancora preso questa issue.
- Lingua principale
- PHP
- Stelle
- 18
- Fork
- 10
- Merge medio
- 20h 11m
- PR unite (30g)
- 1
Descrizione
Great news: We may soon have an Exclude by dimensions tool, which will help bot visits from getting registered as regular visits, offering to identify and block them via dimensions, such as resolution, country and browser version:
- #162
We could help the user with these tasks:
- Discover relevant dimension patterns of cloaked bots
- Create "Exclude by dimension"-rules to block bot visits
Proposal
Cloaked bots usually share certain dimensions, like resolution, country and browser version, and we could offer a new "Dimension metric abnormalities"-widget to more easily discover these dimensions, and make a Matomo administrator aware of the characteristics of a potential bot attack.
Dimension metric abnormalities widget
All dimensions could be monitored behind the scenes, and if a dimension metric (like a specific resolution) makes a huge jump, it would be immediately obvious.
It could be exposed in a new Dashboard widget like below, which admins can add to the front page:
Dimension metric abnormalities
Dimension Unique visitors Resolution: 375x812 +2.100% Configuration: Chrome Mobile +1.160% Country: Bangladesh +890% Country: Myanmar +610% Country: USA +20%
Create Dimension metric abnormalities rule link
At the bottom of the widget, there could be a "Create Exclude by dimension rule with top 3" link to the new "Exclude by dimensions"-feature, with these value pre-selected, ready to click "Save":
Resolution: 375x812
--AND
Configuration: Chrome Mobile
--AND
Country: Bangladesh
The link could be something along these lines:
https://example.org?segment=resolution==375x812;countryName==Bangladesh;browserName==Chrome%2520Mobile&method=TrackingSpamPrevention.setDataSubjects
Since Myanmar (number 4) is also relevant, the preset rule under the TrackingSpamPrevention section could be expanded to include that as well by the admin like this:
Resolution: 375x812
--AND
Configuration: Chrome Mobile
--AND
--Country: Bangladesh
----OR
--Country: Myanmar
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando il lavoro correlato su exclude-by-dimensions in #162 e l’entry point TrackingSpamPrevention.setDataSubjects menzionato nella proposta. Definisci come il widget della dashboard delle anomalie della metrica Dimension debba rilevare e visualizzare i valori anomali di Dimension e come il relativo link dei primi tre debba preselezionare le regole di esclusione. Il lavoro è completato quando il widget, il link alle regole e il raggruppamento dei paesi controllato dall’amministratore funzionano insieme come descritto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- php
- Ambito
- analytics, frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100