matomo-org / matomo-org/plugin-TrackingSpamPrevention
Feature request: Dimension metric abnormalities
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- PHP
- Estrellas
- 18
- Forks
- 10
- Merge medio
- 20 h 11 min
- PR fusionados (30 d)
- 1
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza revisando el trabajo relacionado con exclude-by-dimensions en #162 y el punto de entrada TrackingSpamPrevention.setDataSubjects mencionado en la propuesta. Define cómo debe detectar y mostrar el widget del dashboard de anomalías de la métrica Dimension los valores anómalos de Dimension, y cómo su enlace de los tres principales debe preseleccionar las reglas de exclusión. Se considera completado cuando el widget, el enlace a las reglas y la agrupación de países controlada por el administrador funcionan conjuntamente como se describe.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- php
- Área
- analytics, frontend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100