Keith's Software and Tutorials Home Page
Knowledge Is Power

Bestdam Website Visitor Logger
+ Hit Counter

Features  &  Download

Version 3.0 now available !





Home

How Do I CGI ?

BDL Features

BDL Download

BDL Setup

Quick Setup

BDL Windows

BDL Help

BDL How To

BDL Log Tips

Hit History

BDL Duo

BDL Upgrade

Features


Bestdam Logger is a CGI script written in Perl 4 that will run on both UNIX and Windows NT. (It may also run on the Macintosh platform but has not been tested on it.) Support for SSI (Server Side Includes) is required. It compiles counts and detailed information about visitors to your Website including:
  • the date & time of their visit
  • the pages they viewed
  • their host domain
  • their IP address
  • the make and version of the browser they used
  • the operating system they are using
  • the URL of the site that referred them to yours
all in an easy-to-read columnar format. The log file layout is as follows:
Date &
Time
Page
Visited
ISP of
Visitor
IP Addr of
Visitor
Browser/OS
of Visitor
Referring
Site

Note that some Web hosting services and ISPs have started charging an additional monthly fee to have the "Referring Site" information included in the site logs. You can use the Bestdam Logger Deluxe Edition script to collect this information yourself bypassing this recurring charge.
In order to maintain the columnar format, some values may get truncated, but the less important information is what gets truncated. For instance, with the ISP information, the node the visitor was on may get truncated, not the domain name of the ISP. The Referring Site information is in the last column so it will not be truncated. This allows you to check the search keys if the referring site was a search engine.

With this information you can answer questions like:

  • Who (via what domain) is visiting my site ?
  • Where are they coming from (i.e. who's sending me traffic) ?
  • What are the peak traffic times ?
  • Which pages are the most popular ?
  • Which browser is most often used to view my site ?
  • Which search engines are "spidering" my site ?
  • What search keywords did visitors use to find my site ?



Features  include:
"period" reports, with count summaries and log data, can be automatically e-mailed daily or weekly (or not at all)
the report can be e-mailed to multiple recipients
the e-mailed log reports can be single- or double-spaced for ease of reading with line-wrapped e-mail readers
if you choose the "Weekly" option you also choose which day of the week they are sent
an optional "history" log can be kept, a culmination of the daily or weekly "period" logs
you decide which pages to include/exclude in the logging and counting (multi-page support)
the counters can be "hidden" or displayed on the pages
the counters can either be displayed as text or as graphics and you can use digit graphics of your choice
the counters can be auto-reset to zero at the end of a "period" for period or cumulative tracking
New in Version 2.0
adjustable IP tracking for more accurate hit counts and reduced "counter bloat"
optional IP blocking to prevent individual IPs, or entire sub-nets, from being counted/logged
optional creation of a Web page-version of the daily or weekly "period" reports so they can be viewed from anywhere using a browser
optional hit statistics Web page so current counts can be viewed from anywhere using a browser
support for both Sendmail and Blat (freeware NT mailer) mail programs
improved log spacing with more sophisticated truncating
New in Version 3.0
a "hit history" file which records hits for recurring selectable periods (day/week/month) with percentage increases/decreases from one period to the next

The above file is saved in a tab-delimited ASCII .txt file so that it can be imported into a spreadsheet program for graphing, analysis, reporting, and presentation.

The selectable periods for hit history processing are independent of the selectable periods for the log/report processing
the optional creation of a Web page version of the above hit history file
the option of having the above file information included in the e-mailed period report
auto-detection of the server operating system (UNIX/Linux or NT/2K) for easier setup
the addition of a "monthly" selection for period processing of log files and e-mail reports
the addition of an option of NOT having the period log file data included in the e-mailed reports
improved file locking for more stable count and log files



Two editions of Bestdam Logger are available. Due to the wide variety of system configurations out there, it is recommended that you try the freeware Lite Edition first. If it works with your configuration and you like the benefits it provides, consider upgrading to the Deluxe Edition.

  • Deluxe Edition which includes all of the features mentioned above for only $12.

  • Lite Edition features include:

    • daily logs are compiled with all of the information mentioned near the top of this page except for the "referrer" column
    • hit stats can optionally be automatically e-mailed on a daily basis even to multiple recipients
    • hit counts can be hidden or displayed on a Web page and formatted using standard HTML tags
    • the hit counter can track hits to any number of pages




Download

The freeware Lite Edition of Bestdam Logger is available for download below in both DOS/Windows ZIP format and UNIX tar format. Both of these files are less than 75K in size so they will download very quickly.

The download file includes the main script file (bdlogger.pl), the associated support files (logs, counter data, etc.), and a README.TXT file with detailed setup information.

Version 3 of the Bestdam Logger script will only send e-mail on NT/2K servers that are running the freeware Blat e-mailer. If you don't have Blat installed the script will still work. Just set User Variable 8 to No (0) to disable the sending of e-mails.

After downloading the file, you may want to take a look at the Setup & Installation page for detailed instructions on setting up Bestdam Logger. (Experienced CGI script users may want to check out the Quick Setup page.) This information is also presented in the README.TXT file included in the download files and top of the .PL file is also well commented with everything experienced CGI script users need to get the script up and running in minutes.

If you're new to using CGI scripts, please see the How To Use Your CGI-BIN page which features a detailed tutorial on everything you need to know about how to set up and use CGI scripts. If you're using an NT server, you may also want to check out our Windows NT / IIS page. If you have your own server, this page also features information on how to set up IIS on an NT/2K server to run CGI scripts.

NOTE:   If you experience problems getting the script to work, please see the Help page for a list of common problems and how to resolve them.





Top of page




Powered by Apache On Debian Linux


Contents, diagrams, and images    Copyright © 2004-2017    Keith Parkansky    All rights reserved.
"Bestdam Logger" and the BDL graphic logo are trademarks of Keith Parkansky.
Certain graphics, symbols, and terms used on this site and in its documents are registered trademarks
of their respective owners and are contained herein for identification purposes only.
No endorsement of this site, its contents, or its documents by these owners is expressed or implied.

LIABILITY
IN NO EVENT WILL KEITH PARKANSKY BE LIABLE TO ANY PARTY (i) FOR ANY DIRECT, INDIRECT, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF PROGRAMS OR INFORMATION, AND THE LIKE), OR ANY OTHER DAMAGES ARISING IN ANY WAY OUT OF THE AVAILABILITY, USE, RELIANCE ON, OR INABILITY TO USE THE INFORMATION, METHODS, HTML OR COMPUTER CODE, OR "KNOWLEDGE" PROVIDED ON OR THROUGH THIS WEBSITE OR ANY OF ITS' ASSOCIATED DOCUMENTS, DIAGRAMS, IMAGES, REPRODUCTIONS, COMPUTER EXECUTED CODE, OR ELECTRONICALLY STORED OR TRANSMITTED FILES OR GENERATED COMMUNICATIONS OR DATA EVEN IF KEITH PARKANSKY SHALL HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, AND REGARDLESS OF THE FORM OF ACTION, WHETHER IN CONTRACT, TORT, OR OTHERWISE; OR (ii) FOR ANY CLAIM ATTRIBUTABLE TO ERRORS, OMISSIONS, OR OTHER INACCURACIES IN, OR DESTRUCTIVE PROPERTIES OF ANY INFORMATION, METHODS, HTML OR COMPUTER CODE, OR "KNOWLEDGE" PROVIDED ON OR THROUGH THIS WEBSITE OR ANY OF ITS' ASSOCIATED DOCUMENTS, DIAGRAMS, IMAGES, REPRODUCTIONS, COMPUTER EXECUTED CODE, OR ELECTRONICALLY STORED, TRANSMITTED, OR GENERATED FILES, COMMUNICATIONS, OR DATA. USE OF THIS SITE CONSTITUTES ACCEPTANCE OF ALL STATED TERMS AND CONDITIONS.