Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

unique visits per page

Reply to Post Add a New Topic
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 1125

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 1125

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 + 8
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
9 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 636
Posts: 2709

Membership:

There are 257 Members
There have been 303 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)