1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Log Stats Accuracy

Discussion in 'Traffic Analysis' started by nfzgrld, Feb 27, 2005.

  1. #1
    I'm going nuts with my stats. I have three programs I look at: Webalizer and Awstats for my log files, and Web-Analyse which is a php app that keeps it's own log. I get three different results from them. In particular, the daily unique visitor numbers are all over the place. Webalizer doesn't even have a daily unique visitor stat. For yesterday Awstats gives me 54 and Web-Analyze gives me 89. Which one, if either is accurate? Who knows? What you you guys using, and how can you tell if it's really accurate?
     
    nfzgrld, Feb 27, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Visit analysis is based on a timeout, which is the time between the very last hit and the one before. This timeout may be different for various analyzers and usually ranges from 20 to 30 minutes. This timeout may be what makes your stats different. For example, if a person from 127.0.0.1 looked at your website at 12:00 and then at 12:21, the analyzer that has the timeout configured at 20 minutes will count the second hit as a new visit. The analyzer that has a 30-minute timeout will count the second hit as a part of the first visit.

    On top of that, some analyzers use IP addresses to ID users, while others use cookies. Cookie-based approach is usually more accurate. For example, two people from behind a firewall will be counted as a single visitor if IP addresses were used for identification and as two visitors if cookies were used.

    J.D.
     
    J.D., Feb 27, 2005 IP
  3. nfzgrld

    nfzgrld Peon

    Messages:
    524
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The two analyzers I'm using the most both use IP for identification. Also, I can update either of them to the current time by clicking a link. AWstats can be updated to within the last minute, and web-analyze can be updated to right now, or there abouts. Also, remember I'm looking at unique visits, so you're 20 minute scenario really isn't applcable.

    I think what I need to do is pick one and go with that. I basically just want to track stuff from one day to the next just to see how I'm doing.
     
    nfzgrld, Feb 27, 2005 IP
  4. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think you are mixing up visitors and visits. It sounds like you are talking about visitors, which is the number of unique IP addresses or cookies for each time period. It's easy to verify which analyzer is more accurate. First, extract all IP addresses from your daily log and then sort them:

    sed -n -e "s/<ip-addr-regex>/\1/p" | sort -u
    Code (markup):
    Then just redirect this into a file and look at how many lines you have. This is your correct visitor count. If you don't know how to use sed, PM me a couple of your log lines and I will help you with the regular expression.

    J.D.
     
    J.D., Feb 27, 2005 IP
  5. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #5
    JD was explaining how to define a unique visitor.
     
    exam, Feb 27, 2005 IP