Usage of SonarQube webapp can be tracked with web analytics tools like Google Analytics or Matomo (ex-Piwik). Integrating these tools should be possible through SonarQube plugins (as it was the case long time ago, before versions 6.x).
A new Java extension point specific to web analytics should be implemented. It implies:
- to allow a plugin to define the JS snippets called when loading the single-page app and when page is changed.
- to remove the native support of Google Analytics, which was initially added to version 7.8 (
Technical details will have to be defined (basically the name and contract of the new Java interface).