Mastering the Web
Click here
Contents
Website Planning Tutorial
Website Design Tutorial
HTML Tutorial
HTML Tables Tutorial
CGI Tutorial
JavaScript Tutorial
Perl Tutorials
CSS Tutorial
Installing a Web Server
Security Tutorial
HTML Cookies Tutorial
Web Tracking Tutorial
Download Free Programs
F.A.Q.

FWTLogstat1 Update

Version 1.4 of the popular program FWTLogstat1 presents several enhancements, but here only two of them will be discussed: the new command line parameter "-d", and the new report layout that permits a better understanding of the information.

Command line parameter

Those people that prefer to have their logs with dates in the American format, which puts the months before the days, can achieve this by modifying the supplied Perl script, and taking care of saving the modified file using the Unix format.

This line:

$ftdate = "$ftday-$ftmonth-$ftyear";

must be changed to this one:

$ftdate = "$ftmonth-$ftday-$ftyear";

The program FWTLogstat1 will not function with the logs produced after doing this change, because it expects the dates in the European format. To avoid this impediment, you must modify the date format using the "Options" menu, each time you run the program. A better approach is to create a shortcut to start the program with the parameter "-d". Let us suppose the program was installed in the directory "C:\Program Files\FWTLogstats". Right click the shortcut for FWTLogstat1, and select "Properties". In the "Command" box, type the following, including the double quotes.

"C:\Program Files\FWTLogstats\logstat1.exe -d"

Report discussion

The different report sections will be discussed using as a sample a small log file of only twenty lines. The first section of the report gives some summary information. The raw number of hits, related with the number of days, gives an idea of the site's popularity. The number of users and visits tells you if the site is visited mostly by new users, or by reiterative ones. The four averages displayed give you an at-a-glance estimation of the functioning of the site, telling how many pages are viewed, how many pages one user views, how many visits are you having, and whether users are coming back or not.

*********************************************
               FWTLogStat1
               Version 1.4
*********************************************
File analyzed: D:\Download\log.txt
Period: 28-01-2008 to 30-01-2008
Days: 3
Input lines: 20
Invalid lines: 0
---------------------------------------------
                  Summary
---------------------------------------------
Total hits           :    20
Total users          :     5
Total visits         :     8
Average hits per day :   6.7
Average visits/day   :   2.7
Average hits/user    :   4.0
Average visits/user  :  1.60

The second section is "Day ranking", where you have two rankings of the days covered by the log. The first ranking shows how many hits (page views) occurred for each day. Take into consideration that the first and last days may not be fully included in the log, and therefore will show smaller figures than the other days. The second ranking shows the number of users for each day.

---------------------------------------------
                Day ranking
---------------------------------------------
Ranking by hits
---------------
Number of days       :     3
Total hits           :    20
Average hits per day :   6.7
Hits for each day
28-01-2006    2
29-01-2006   15
30-01-2006    3
----------------
Ranking by users
----------------
Number of days       :     3
Total users          :     8
Average users per day:   2.7
Users for each day
28-01-2006    2
29-01-2006    5
30-01-2006    1

The third section of the report relates to users and their visits. A user, who is distinguished by the cookie with his "user-ID", may make more than one visit, and may view more than one page. The first ranking shows the number of users with a certain number of page views, in descending order. You can see that there was one user with nine hits, one user with six hits, two users with two hits, and one user with just one hit. From the ranking by visits, you can see that you had five visitors, of which two made one visit, and three made two visits.

---------------------------------------------
               User ranking
---------------------------------------------
Ranking by hits
---------------
Total users           :     5
Total hits            :    20
Average hits/user     :   4.0
Hits per user
   1)    9 hits:    1 users (20.0%)
   2)    6 hits:    1 users (20.0%)
   3)    2 hits:    2 users (40.0%)
   4)    1 hits:    1 users (20.0%)
-----------------
Ranking by visits
-----------------
Total users           :     5
Total visits          :     8
Average visits/user   :  1.60
Visits per user
     1 visits: 2 users
     2 visits: 3 users
     3 visits: 0 users
     4 visits: 0 users
     More than 4 visits: 0 users

The fourth section is the "Page ranking". You can see the number of page views for each page, in descending order.

---------------------------------------------
               Page ranking
---------------------------------------------
Number of pages       :    12
Number of hits        :    20
Hits for each page
   1) /                         (   5)(25.0%)
   2) index1.html               (   3)(15.0%)
   3) index2.html               (   2)(10.0%)
   4) gft160.php                (   2)(10.0%)
   5) p230.html                 (   1)( 5.0%)
   6) p210.html                 (   1)( 5.0%)
   7) gft150.php                (   1)( 5.0%)
   8) gft060.php                (   1)( 5.0%)
   9) gft020.php                (   1)( 5.0%)
  10) gft070.php                (   1)( 5.0%)
  11) gft140.php                (   1)( 5.0%)
  12) gft080.php                (   1)( 5.0%)

The fifth section is the "Referrer ranking". You can see the number of times that a page sent the user to another page, also in descending order. External references are included in this list, so that you can see that Amazon, Yahoo, and Google sent each one two visitors to you site. The referrer "Direct Hit" may be a user typing the URL of your site on his browser, but most commonly relates to a user that has that URL among his "Favorites" or "Bookmarks", or to a user that is using some scheme to disguise his wanderings on the Internet.

---------------------------------------------
              Referrer ranking
---------------------------------------------
Number of referrers   :    13
Number of referrals   :    20
Referrals for each referrer
   1) Direct Hit                (   3)(15.0%)
   2) index2.html               (   2)(10.0%)
   3) index1.html               (   2)(10.0%)
   4) www.amazon.com            (   2)(10.0%)
   5) search.yahoo.com          (   2)(10.0%)
   6) gft150.php                (   2)(10.0%)
   7) gft060.php                (   1)( 5.0%)
   8) www.google.ca             (   1)( 5.0%)
   9) www.google.com            (   1)( 5.0%)
  10) gft070.php                (   1)( 5.0%)
  11) index.html                (   1)( 5.0%)
  12) gft140.php                (   1)( 5.0%)
  13) p230.html                 (   1)( 5.0%)

Previous | Contents | Next

| HOME | FEEDBACK | BOOKMARK |
Build your Website
© 1999-2008 Hector Castro -- All rights reserved

www.great-web-info.com