Statistics enhancement.

TechMosaic - October 27, 2006 - 03:42
Project:Drupal
Version:7.x-dev
Component:statistics.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I picked ADMINISTRATION as the project. Not sure if it really has to do with STATISTICS FILTERING or STATISTICS TRENDS and there is not a project for NODE.COUNTER.

Seems to me that based on threads like this one, http://drupal.org/node/67974, there should be some small enhancements to the Home>administer>logs page. and or the Home>administer>settings statistics page.

1) A button to reset the stats (truncate the access_log) and to reset the counters (truncate node_counter).
2) A built in option in the statistics.module that can be controlled by a setting on the Home>administer>logs page that allows the administrator the option of excluding user=1 from incrementing any type of logging or statistics count.
3) Gravy on this would be a way to enter a few IP ranges that can also be excluded from incrementing any statistics and logging.

I am aware of the distinction of logging and tracking statistics, and of incrementing based on cache or by views, but these are all irrelevent to this feature request. It is still a very common need to at least make sure the webmaster is not racking up huge counts that others who see the stats will misinterpret.

Even a better link to help, or the explanation of manually truncating as part of the admin page instructions would be an improvement.

Thanks.

#1

wolfflow - May 13, 2008 - 03:52

Subscribe. Really needed for the reasons listed above. Agree fully.

#2

thomasmurphy - May 13, 2008 - 04:06

mmmm, subscribing

#3

der - May 13, 2008 - 04:59
Project:Administration» Drupal
Version:HEAD» 6.2
Component:Code» statistics.module

#4

thomas23@drupal.org - June 1, 2008 - 23:56

Agreed! I was just searching for a way to reset drupals statistics before site lauch.

I would alter your third feature, TechMosaic, to not only exclude user/1 but also (if you wish) all or any user group/role.

To give an example: On a band's site (or other group's, for that matter) it's not really the band member's hits and actions you want to track but those of visitors.

Thanks in advance!

#5

gpk - June 2, 2008 - 22:11

No new features will go into 6.x - only 7.x.

This module http://drupal.org/node/18013 maybe did some of what you are after, but only available for 4.7.x (though a patch to update to 5.x does exist).

The lack of interest there suggests this might not have enough support to make it into core even in 7.x.

>reset drupals statistics before site lauch.
Try running the following query from phpMyAdmin or MySQL command line:
TRUNCATE TABLE accesslog;

I think you could do the same with table node_counter to clear node access statistics.

#6

mikeryan - June 5, 2008 - 13:39

FYI - I have (finally) updated statistics_filter to Drupal 5, and will be moving it up to Drupal 6 as well.

Thanks.

#7

gpk - June 5, 2008 - 17:58
Version:6.2» 7.x-dev

Well I might as well set this to 7.x then .. :) in case there's any enthusiasm for it..

#8

Dave Reid - September 2, 2008 - 06:41

You could also check out the Statistics Advanced module.

 
 

Drupal is a registered trademark of Dries Buytaert.