Treat this situation as a misconfiguration affecting performance.
Place the GA, Piwik, etc. modules in an easily maintainable array.

Comments

malc0mn’s picture

Status: Active » Postponed (maintainer needs more info)

Could you give me a more elaborate example of the check?

The suggestion in itself seems perfect, so I would like to add it, but I'm only following you partly and I'm not sure what to build :-s

mlc.

amontero’s picture

[double post]

amontero’s picture

Status: Postponed (maintainer needs more info) » Active

Keep an array of web analytics/stats module names:

$stats_modules = array(
  'google_analytics',
  'piwik',
  ...
);

These modules, if enabled should be considered valid functional replacement modules to core's 'statistics' module.

If both core's stats and any of the contrib stats module are enabled, warn it as having functionally redundant modules enabled.

Anybody’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Priority: Normal » Minor

Well I guess this should at least be configurable. Let's move this as minor to 8.x