The following functionality would be of benefit to site administrators:

1. User Agent logging and Reporting
There is no user agent logging at present in the accesslog table in Drupal. It would be nice if this can be added, so statistics on what browser mix is used by those who visit the site, as well as the ability to separate them into normal browsers, crawlers, spam harvesters, ...etc.

2. Smarter search word logging
If you are familiar with webalizer, you know how it extracts keywords from various search engines (e.g. the argument of the q= in Google, ...etc.), and then gives the common search words.

3. Total by Day and Month for the last several days/months
For comparison and trend.
See this patch: http://drupal.org/node/15329

Comments

mikeryan’s picture

I have now contributed the statistics_filter module. It can be used to filter out hits from the default administrative user, any specified user roles, and crawlers (as identified by browscap.ini). I've also added stats on user agents (also based on browscap.ini) - i.e., you can see that you've had 509 hits from IE 6.0, 2198 hits from Google, etc.

This functionality would better live in statistics.module (particularly the filtering, which works by undoing the logging already done by statistics.module, more-or-less doubling the overhead per page). This module can serve as a testbed for this functionality, as well as a temporary solution - once the functionality and implementation seem stable, I intend on submitting a patch to bring these features into the core statistics.module.

pegmonkey’s picture

I gavie the statistics filter module a try and like it. I think it would be good to add it to the statistics.module. So far, I havn't experienced any problems with it.

kbahey’s picture

User kps has some nice modules that are not part of contrib, but available for download http://drupal.org/node/13653

One of them is searchers

Other useful stuff in there too.

ricabrantes’s picture

Version: x.y.z » 7.x-dev

This is active??

dave reid’s picture

Status: Active » Closed (duplicate)

Hasn't had any traction or real follow-up in almost five years, so marking as won't fix/duplicate.

- We have Browscap for recording user agents.
- Previously mentions statistics filter (and replacement Statistics Advanced Settings).
- Keeping historical statistics is split into #142668: Retain historical node_counter information