More accurate web analysis

This is a discussion on More accurate web analysis within the PHP Language forums, part of the PHP Programming Forums category; I'm trying to more accurately track visitors on one of my sites. Most of the visitors are from offices ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-12-2004
SC
 
Posts: n/a
Default More accurate web analysis

I'm trying to more accurately track visitors on one of my sites. Most of
the visitors are from offices where they share an IP address. So, from one
IP address, there might be 10 or more individual users. Instead of tracking
unique IP addresses, I'd like to be able to track:

the number of unique vistors per month
the number of first time visitors (first time ever) per month
and then page hits per month for each individual page as well as the site
total

When it comes to tracking users, the Apache logs seem to track only IP
addresses so 10 users sharing the same office IP address only seem to
register as 1 unique visitor. I was using cookies to track individual
computers, but if the user does not accept the cookie, the counts start to
go way off.

Hopefully someone has some ideas on how to more accurately count individual
computers rather than just individual IP addresses.

Thanks


Reply With Quote
  #2 (permalink)  
Old 10-12-2004
Gordon Burditt
 
Posts: n/a
Default Re: More accurate web analysis

>I'm trying to more accurately track visitors on one of my sites. Most of
>the visitors are from offices where they share an IP address. So, from one
>IP address, there might be 10 or more individual users. Instead of tracking
>unique IP addresses, I'd like to be able to track:
>
>the number of unique vistors per month


You can't tell how many people are in front of any given monitor.
Many people have more than one computer.
Many computers are shared between people.
Many computers get a new IP address every time they dial up.

>the number of first time visitors (first time ever) per month


You can't do this face-to-face with any of (and probably not
with combinations of):
- Names on a picture ID (names change, many users have "John Smith")
- Credit card numbers (users have multiple credit cards, and they
can change banks, and people occasionally share credit cards)
- Driver's license numbers (people move between states)

so how on Earth could you do it over the web?

>and then page hits per month for each individual page as well as the site
>total
>
>When it comes to tracking users, the Apache logs seem to track only IP
>addresses so 10 users sharing the same office IP address only seem to


>computers, but if the user does not accept the cookie, the counts start to
>go way off.


Use PHP sessions. They CAN work without cookies by passing the
session ID in the URL. This isn't ideal, but PHP can do better
than cookies alone. Also, session IDs may help out tracking dialup
users whose IP addresses change every time they dial up, if they
accept cookies.

Be aware that many browsers will not keep cookies over a long time.
Some can be set to lose cookies when the browser is closed. (ALL
cookies are session cookies whether you want it or not.) Some users
erase cookies periodically, even if they accept them for one session.
You might be able to track the user as he wanders around your site
for one, er, session, but not track him between visits weeks apart.

Test if a user accepts cookies (set it on the main entry page; test
it on a later page. Can you set cookies on a redirect, and expect
them to be set at the destination page?). You can come up with
multiple stats: pessimistic: all users that don't accept cookies
from the same IP are considered as one, and optimistic: all users
that don't accept cookies from the same IP are considered different.
Reality is between the two.

>Hopefully someone has some ideas on how to more accurately count individual
>computers rather than just individual IP addresses.


Is it a different computer if I change out the CPU?

Gordon L. Burditt
Reply With Quote
  #3 (permalink)  
Old 10-12-2004
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Re: More accurate web analysis

"SC" <no_spam@thank.you> wrote in message news:<InGad.43$py.77925@news.uswest.net>...
<snip>
> When it comes to tracking users, the Apache logs seem to track only IP
> addresses so 10 users sharing the same office IP address only seem to
> register as 1 unique visitor.


In that case, may use custom log format. More info here
<http://www.webmasterworld.com/forum88/2489.htm>

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:15 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0