Installing Statomatic

1. Place the contents of the archive file into any directory of your web site, for example /stats/. Make sure you preserve the directory structure and upload .cgi and.class files in binary mode.
2. Set the file permissions through FTP or telnet console; 777 for directory /data/, file status.html, and files with .cfg extension , 755 for files with .cgi extension.
3. Insert the following code into HTML files you want to be tracked:

<script language=JavaScript>
<!--
document.write('<img width=1 height=1 src=/stats/stats.cgi?dir=/stats&ref='+escape(document.referrer)+'>');
//--> 
</script>
<noscript><img width=1 height=1 src=/stats/stats.cgi?dir=/stats&ref=></noscript>
This code will call Statomatic through an image tag and display a 1x1 pixel tranparent GIF image. stats is the directory where you installed Statomatic.

Note: Since most browsers load images from top to bottom, it is recommended that you place the code on top of the page. This will ensure that all visitors are counted, even those that did not wait for the whole page to load and left.


Configuring Statomatic

Before generating HTML reports you will need to provide Statomatic with some info that is specific to your web server. Follow the Configure link on the login screen. You will have an option to enable or disable any of the reports, graphs, and pie charts and to specify the amount of data to be displayed for each report.

Web domain name allows the program to exclude your domain from the referrer reports.

Statomatic directory should only be filled in if you placed .cgi files inside /cgi-bin/ directory. It is the directory that contains sub directories /imgs/, /appl/, and HTML files.

IP address to ignore allows you to specify an IP address that you wish to exclude from the reports. Usually you will specify your own IP, if it is static. To ignore a specific IP enter it as 215.101.197.72. To ignore a whole block enter it as 215.101.197 .

Session timeout is used to determine average visit time. If a visitor is idle for more than specified value his following requests will start a new timer, but he will still be counted as a single visitor.

Ad Campaigns allow you to track vistors from particular web sites. You can specify ad campaign name, and the domain name(s) separated by a space assosiated with that campaign. The domain name(s) should be in lower case and without http:// or www. For example if you wish to track hits from Yahoo and Excite, you would enter the following:

Ad Campaign:Domain Name(s):

To commit the changes you will need to enter your password, if you have set one already, and press Save Changes. To set a password type it in New / Confirm fields and leave Current Password blank. Password can be up to 12 characters long.


Generating HTML Reports

To generate HTML reports you can either select a predefined time frame, or use the provided drop down menus to specify a custom time frame. Short Summary option will display basic report for all days from when the program was first installed. It requires the least RAM and CPU time of all reports. For a more complete summary report use Long Summary. Also, if you wish to get a report for just one certain day just enter it as an ending date and leave starting date as it is (M/D/Y). If there are some reports that you are not interested in, disable them in Configuration menu, it should speed up the program and reduce the system resources required to generate reports.


Parsing Server Log File

To parse a log file just press Parse Log File button. To automate log processing, on Unix you can setup a cron job and on Windows NT you can use task scheduler to run parser. You can set it up to run as often as you wish, once an hour, a day, a week, etc. It is recommended that the more traffic you get the more often you should parse the log file. By parsing log file regularly you reduce the time the system resources are occupied each time the program is run. The program is designed so that it never processes same data twice, it will store intermediate processed data in special temporary files. From time to time check the size of the log file, and if it gets too big, first parse it, so that Statomatic records the data to its database, and then reset it.


General Statistics

Visitors - number of visitors for the requested time period. A visitor is identified by a unique IP address in a 24 hour time period.

Page Views - number of page views for the requested time period.

Avg. Visit Time per Visitor - average length of a visit in hr:min:sec format. It is the time between the first and last requests of HTML pages by user, so the time spent on the last page is not included.

Avg. Page Views per Visitor - average number of page views per visitor for the requested time period.

Ad Campaigns and Partners - number of visitors that were referred to your web site by the web sites you specified in Configuration menu. If you participate in banner exchanges or buy banner ad space from other web sites use this feature to track how effective each one of those campaigns is.

Direct Hits & Bookmarks - number of visitors that came to your web site by just typing in the URL in the browser or by clicking on a link in their bookmarks.

Top 50 Search Engines - number of visitors that were referred to your web site by the top 50 search engines / meta search engines / paid search engines.

Other Web Sites - number of visitors that were referred to your web site by other web sites. If you wish to track how many vistors a particular web site is sending, you should add it to Ad Campaigns section in Configuration menu.

Newsgroups - number of visitors that were referred to your web site by newsgroups. If you are advertising on any newsgroups this will show how effective your efforts are.

E-Mails - number of visitors that were referred to your web site by pop and web based e-mail. If you are using e-mail advertising this will show how effective it is.


Daily Statistics

This report displays the graphs representing the number of visitors and page views for the requested time period. You can group them by days, weeks, months, and days of the week. This graph helps you to see your web site's progress over a given period of time, and also allows you to see which days of the week are the most active.


Hourly Statistics

This report displays the graphs representing the number of visitors and page views for the 24 hour period. Using this you can monitor which time of the day has the most activity.


Operating Systems

This report displays which operating systems were used to access your web site. Including Windows 3.x, Windows 95, Windows 98, Windows ME, Windows CE, Windows NT, Windows 2000, Unknown Windows, BSD/OS, FreeBSD, NetBSD, OpenBSD, Tru64 Unix, HP-UX, IBM AIX, IRIX, Linux, Solaris, Unknown Unix, Macintosh, Amiga OS, RISC OS, IBM OS/2, BeOS, WebTV, and Sega Dreamcast (26 total). Search engine spiders and any other operating systems will be listed as Unknown OS. Interactive 3D Java pie chart displays the share of each operating system.


Browser Types

This report displays which browsers were used to access your site. Versions 2.x, 3.x, 4.x, 5.x, 6.x of Netscape Navigator, Microsoft Internet Explorer, and AOL browsers. Also included, without the version breakdown, Opera, Lynx, Java Based, OmniWeb, NetPositive, Netscape Compatible, and WebTV browsers. Unknown Browser contains all other browsers and search engine spiders. Interactive 3D Java pie chart displays a share of each browser type without version breakdown.


Visiting Countries

This report displays how many people and from which countries are accessing your web site. Perhaps your web site targets users from a certain country, or you would like to see how popular your web site is with an international audience. You can easily see which countries constitute your audience in this report.


Visiting Hosts

This report displays hosts sorted by the number of visitors. From this report you can see which ISPs (internet service providers) are the most popular amongst your visitors. If, for example, you are running an ad campaign on AOL you should see that AOL.com share of visitors is greater than such of other ISPs.


Requested Pages

Most Requested Pages report displays most popular pages of your site. Most often, these are the pages that users find the most interesting, useful, and attention grabbing. The most requested pages are your web site's top content, based on popularity.

Least Requested Pages report displays least popular pages of your site. These are the pages you should try to improve and make more interesting, attractive for your visitors. Perhaps you don't update these pages often enough, and your visitors lose interest in visiting them. Also make sure other pages have links to these pages, so your visitors can find their way to them.

These reports also display average time visitors spend on a particular page in hr:min:sec format. The time for each page is calculated as the difference in times between the request of this page and the next page.


Entry / Exit Pages

Entry Pages are the pages that other sites link to on your site, or that have a higher ranking on search engines. They should be used to attract users to the rest of your web site because they comprise the user's first impression of your web site.

Exit Pages are the pages that people leave your web site from, either by following a link outside of your site or just going to another site. Just like advised for the least visited pages, try to improve and make these pages more interesting, attractive for your visitors, so they stay longer on your web site. Also these pages are good for placing ratio based exchange banners and links; there is a good chance, if a visitor decides to leave, he / she will leave by following one of those links.


Visitor's Paths

This report displays the paths visitors followed to traverse your site sorted by the number of visitors who used the same paths. Learn about how people navigate through your web site, and if you need to make any adjustments to your navigation structure to direct more traffic to particular pages.


Ad Campaigns

This report displays how many visitors were referred to your web site by the web sites you can specify in Configuration menu. If you participate in banner exchanges or buy banner ad space from other web sites use this feature to track how effective each one of those campaigns is. You can track as many web sites as you wish, and add them at any time.


Search Engines

This report displays the number of visitors referred by the top 50 search engines. A great indicator of whether or not your search engine campaing is working, and if your pages are optimzed for the search engines. To get a better ranking on search engines make sure your site is optimized by adding meta tags and using key terms in your site's content. Interactive 3D Java pie chart shows a share of each search engine. The list was compiled from the information found at www.searchenginewatch.com.

Search Engines: MSN Search, Yahoo, Google, AltaVista, HotBot, GoTo, Excite, LookSmart, Dogpile, Lycos, Go.com, MetaCrawler, AOL Search, Direct Hit, Ask Jeeves, IWon, Netscape Search, FAST Search, Northern Light, About.com, Mamma, NBCi, Ixquick, WebCrawler, ProFusion, FindWhat.com, NetFlip.com, Vivisimo, SurfWax.com, ePilot.com, Ah-ha.com, Query Server, Espotting.com, Sprinks, InfoGrid, Bay9.com, Kanoodle, ValleyAlley.com, Godado, TeRespondo, eFind.com, 7Search.com, qbSearch, OneSearch.com, Sportula, Win4Win, CleanSearch.com, Search.com, RealNames, and Open Directory.


Search Queries

This report displays which key phrases were used to find your web site through a search engine. Make sure your html files have proper meta tags to increase your site's position in a search engine for a particular key word or a key phrase. Rearrange key words in meta tags if you do not see the desired key phrases in this report. Resubmit your web site at least once a month for best results.


Referring Domains

This report displays referrering domains. If another web site has multiple links to your web site, in this report you can see exactly how many visitors were referred by all of the links combined on that site. For detailed information about unique referring URLs check out Referring URLs report.


Referring URLs

This report displays referrering URLs which tell you how visitors found your site, and where they are comming from. Different types of URLs are marked by different colors, so by looking at this report you will have a crystal clear understanding about the origin of your incoming traffic. You can click on any of the URLs, and it will take you back to the referring page where you can see how it is linked to your web site. If the referrer is a search engine, you can even find out your position on a particular key phrase that was used to find your site.


Possible Errors

There are number of errors that can occur while running Statomatic. The errors generated by the program will often give you a tip on how to solve the problem. Some errors associated with authorizing the program's use can only be solved by contacting us. You will need to include your domain name and customer ID.


Statomatic v3.1, URL: http://www.statomatic.com
Copyright © 2001 Alex Ivanov. All Rights Reserved.