Closed (fixed)
Project:
Statistics Filter
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2006 at 18:05 UTC
Updated:
6 Jul 2008 at 07:37 UTC
Hi!
I just made a little patch (pretty simple actually) for me that maybe worth for someone else.
It adds a new option to allow filtering of self referrers. Please, see attached patch.
Cheers
| Comment | File | Size | Author |
|---|---|---|---|
| stats_filter_referrers_1.patch | 1.05 KB | markus_petrux |
Comments
Comment #1
mikeryanIt looks like what you're trying to do here is count visitors instead of page hits. By filtering up front, you're losing logging of all page hits other than the first one in a visit, and also short-circuiting node counting (only the first node visited by someone will show a visit). It would be much better to add a "visits" table to statistics (and still be able to also count hits).
Comment #2
markus_petrux commentedTrue, it also affects node counting, but that could be fixed (using a different flag). I was mostly interested in having an option to remove self referrers from the accesslog table.
Comment #3
Wolfflow commentedSimilar Issues on http://drupal.org/node/91509
Comment #4
Wolfflow commentedClosed - link to actual Issue discussion provided.