Javascript Based Tracking
Having selected; Javscript Based Tracking, brings you to the next screen, where you will have to complete a form, see below screenshot.
Download Tracker File:
Download logaholic.php file, by clicking "logaholic.php" link, copy the file to your web root folder.
Copy Tracking Code:
Copy the code and paste it into every file on your web site you want to track.
You will have to open your html files with a text editor and paste the code,
preferably at the top or bottom of the page within the BODY tag.
If you have a header or footer file that is included in the Web pages you wish to track,
you only need to put the tracker code in one of those.
Tip: if you have big, long or heavy pages, place the tracking code near the top so you don't miss those fast clickers.
Skip IP numbers:
IP numbers you want to exclude from statistics.
Seperate multiple IP numbers by comma's i.e. 212.204.250.12, 212.204.250.13
\\
You may also use wildcards like * and regular expresssions.
This setting only affects new traffic.
Should you want to remove ip numbers that are already in the Logaholic database, you can do it directly from
Logaholic by clicking on the link, included in the explanation of the "Skip Ip" field.
Skip files:
This defines what requests are considered "Pages",
by defining what requests are NOT pages i.e. .gif, .jpg, .swf, .xml, any matching filename or filetype
listed here will not be included in any reports. You can also enter keywords in the list above (no dots).
Logaholic will skip any file or directory that has that word in it.
I.e. if you want to exclude the logaholic directory, just enter "logaholic/" in Skip files field.
Should you want to remove "files" that are already in the Logaholic database, you can do it directly from
Logaholic by clicking on the link, included in the explanation of the "Skip files" field.
Strip URL parameters: (Speeding up Logahlic).
This field allows you to remove certain parameters from the url's in your statistics.
For example, this url: /index.html?osCsid=1kmfg8pvmavr09hg4rj3brg9d6 contains a parameter (osCsid) that isn't
very useful to the stats. However, these kinds of strings can take up a huge amount of space in your database,
which makes updating and reportng slower. Remove any parameters you don't need here.
Just seperate them with a comma (i.e "osCsid,lala, lala2) and choose "Exclude".
You can also choose "Include", in that case it will ONLY add the parameters listed here,
and strip any other parameter!
(Only use Include if you want to optimize for lots of traffic and make sure you list all the parameters that matter)
Tip: Just have Logaholic Analyze data that is important to you: Stripping url's, Skipping Ip numbers and files, will help you compact Logahlics database and thus make it faster, certainly with bigger log files it is; both for your hardware and software load better to exclude this kind of useless overhead.
This setting only effects new traffic.
Do not forget to Save your configuration by clicking Save.
If your website is on a different physical server then where Logaholic is installed on, you need to take these additional steps:
1. Rename the logaholic.php file to "profilename.php" (profilename being the name of your profile)
2. Upload the file to the web root of the domain hosting the logaholic scripts.
Example, if your logaholic is installed here: www.example.com/logaholic/, you would make sure the tracker file is here: www.example.com/profilename.php
3. Change the url in the javascript code to point to www.example.com/profilename.php
Tim Wilson explains here in 4 minutes what a Java Tracker does and how it could work for your Website.