The built-in stats from MODx that were inherited from Eto can rapidly lead to performance degradation and bloated databases in even moderately visited sites. I definitely don’t think this is a "best practice" way of handling things and personally goes against my vision for the project. MODx should not be about mediocrity.
In working on replacing them with SlimStats, which works great now, I realized that SlimStats doesn’t do a good job of relaying basic page view information. Hits, yes, but PageViews, no. Slimstats is also prone to the same database bloat of the default stats. I’m not quite the fan of it I was originally.
If I were to recommend a solution to someone at this point, it would be to implement server log stats (AW Stats for instance),
Google Analytics,
Measure Map (when they open it back up),
BB Clone or
Mint.
WIth that said, I’d like to see our Slimstats work moved to a module that is NOT installed by default with the core distribution. I’d really like to see it get smaller, not larger. I’d like to likewise see a BB Clone module made.
We could easily release plugins and snippets for SlimStats, Google Analytics and Mint. A Google Analytics plugin is already in the repository and I’m about to update it again to prevent logging when a manager session is established. Jeff has a Mint plugin pretty much ready to go as well. We need to release these as snippets also so that we can give devs the flexibility of using them in templates as well as pervasively as plugins.
This would ultimately make the database smaller, the distribution smaller, and keep us focused on providing a great framework and not mediocre stats.
Thoughts?