unique visits per page


 

Current User: Guest Login Register
Please consider registering

Search Forums:


 






unique visits per page

Add a New Topic Reply to Post
UserPost

5:11 am
August 6, 2009


Linda

Guest

Can AWStats track unique visits per page?


In the "Pages-URL" section, I am looking at the "viewed" number, which (please correct me if I’m wrong) is the page hits number, that is, it includes page refreshes. So it’s possible to get a lot of "views" of the same page within 5 minutes from the same IP Address/Browser, if the person viewing the page hits refresh a lot in quick succession. Is it possible to restrict the number of page views only to those new hits that occur only after a certain interval, say an hour, from the same IP address?


Is this information available in the http logs?


Thank you.

5:19 am
August 6, 2009


Jean-Luc

Admin

posts 691

Hi Linda,


This information is available in HTTP logs, but it would not be easy to use it in AWStats. This would require that some special code is added to "mask" these repeated hits.


Alternately you could use an extra section to collect all IP addresses that hit a given page or a given set of pages and identify the IP addresses with abnormally high amounts of hits. This will make the AWStats database files significantly grow though.

11:50 am
August 6, 2009


Linda

Guest

Thank you for your answer, Jean-Luc.


If I wrote a script to count unique page views, using input from the HTTP log, I guess my problem would become one of detecting hits from bots, and eliminating them from my count.  This is something AWstats does.  How would I do it?  I guess since AWstats is a sourceforge project, it must be open source, so the code is available, true?


Can you please direct me to the bot-detecting code, and/or offer a brief explanation of how it works?

1:29 pm
August 6, 2009


Jean-Luc

Admin

posts 691

You wrote:

If I wrote a script to count unique page views, using input from the HTTP log, I guess my problem would become one of detecting hits from bots, and eliminating them from my count.  This is something AWstats does.  How would I do it?

It is very uncommon that bots repeatedly hit the same URL, but, if needed, you can identify bots from their user agent (easy, my recommendation here) or IP address (more reliable, more complicated).


You wrote:

I guess since AWstats is a sourceforge project, it must be open source, so the code is available, true?

You already have the source code. Open awstats.pl  with a text editor and you will discover the Perl source code.

1:48 pm
August 6, 2009


Linda

Guest

Thank you very much, Jean-Luc.


Permission to access systems files like awstats.pl and /var/log/apache2/access.log is limited at my job, but maybe when I go home, I will try installing awstats.

Reply to Post


Reply to Topic:
unique visits per page

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
9 + 11
   



About the InternetOfficer.com forum

Most Users Ever Online:

65


Currently Online:

9 Guests

Forum Stats:

Groups: 2

Forums: 7

Topics: 318

Posts: 1562

Membership:

There are 165 Members

There have been 181 Guests

There is 1 Admin

There is 1 Moderator

Top Posters:

cssfsu – 31

albert_newton – 30

x-plicit2009 – 14

Steve – 14

flwg – 12

dumpuse – 10

Administrators: Jean-Luc (691 Posts)

Moderators: Jean-Luc (691 Posts)