[development] Accesslog and Node_counter

nan wich nan_wich at bellsouth.net
Thu Nov 18 13:36:24 UTC 2010


First, the customer has a dread fear of GA (I don't know why). Secondly, this is 
not to display a hit counter on the page, it's for various reports about the 
authors and their departments. Those reports can be filtered on a date range, 
and they would like to have a page view counter that can be filtered on that 
date range.

The data is in accesslog, so it has not yet been deleted, and it obvious that 
Drupal has seen these hits, so Apache has not deflected them.
 
Nancy
 
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.



________________________________

From: Tomáš Fülöpp
On Thu, Nov 18, 2010 at 04:12, nan wich <nan_wich at bellsouth.net> wrote:

No cdn. The data is there in accesslog, so it has not been deleted yet. They use 
Coremetrics. But they want (close to) real time data in the site itself.
>
>It must have something to do with the referrer. Accesslog records without a 
>referrer URL seem to count.
> 
>Nancy
> 
>Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, 
Jr.
>
>
>
>
>
________________________________
From: David Stoline <unncola at gmail.com>
>To: development at drupal.org
>Sent: Wed, November 17, 2010 8:32:45 PM 
>
>Subject: Re: [development] Accesslog and Node_counter
>
>
>3 thoughts. 
>	1. Are you using a CDN like akamai?
>	2. I'm not sure if {node_counter} is tied to a cron run in statistics.module. 
>If it is the 'discard access logs older than' might be the cause of your 
>problem.
>	3. Why not use Google Analytics or webalizer or similar?
>
>
>On Wed, Nov 17, 2010 at 8:05 PM, Jamie Holly <hovercrafter at earthlink.net> 
wrote:
>
>You don't have cacherouter on there or any other fast_pagecache implementing 
>modules, do you?
>>Jamie Holly http://www.intoxination.net  http://www.hollyit.net
>>
>>On 11/17/2010 7:53 PM, nan wich wrote: 
>>No, no Boost. We do have eAccelerator, but that shouldn't do anything to Apache. 
>>Statistics are very important to the Marketing team that are paying for this.
>>> 
>>>Nancy
>>> 
>>>Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, 
>>Jr.
>>>
>>>
>>>
>>>
>>>
________________________________
From: Brian Vuyk <brian at brianvuyk.com>
>>>To: development at drupal.org
>>>Sent: Wed, November 17, 2010 5:22:26 PM
>>>Subject: Re: [development] Accesslog and Node_counter
>>>
>>>Are you possibly using boost or another caching function which avoids Apache for 
>>>some requests?
>>>
>>>On 10-11-17 03:51 PM, nan wich wrote: 
>>>I was just browsing the Accesslog and saw over 100,000 hits on node/1000 from 
>>>Wikipedia, but the node_counter table shows less than 1,000 views total. Why do 
>>>the referrals from Wikipedia not count?
>>>>
>>>>I ask because we are increasingly needing to get view counts per day, not just 
>>>>total. I can easily add a hook_nodeapi('view') to count from today, but wanted 
>>>>to get historical counts as well.
>>>> 
>>>>Nancy
>>>> 
>>>>Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, 
>>>Jr.
>>
>

You could try http://drupal.org/project/google_analytics_counter -- but of 
course, that will by definition give you smaller page view counts (only what 
Google Analytics records, i.e. no bot accesses etc.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101118/d91f0666/attachment.html 


More information about the development mailing list