Description
Easily track how many clicks certain links on your page get with
this simple and fast script.
Features
? Simply added to existing pages.
? Redirects hits quickly and efficiently.
? Counts how many hits each URL gets.
Installation
Path to Perl
#!/usr/bin/perl
1. The script uses the most common path to Perl however if the
script doesn’t run for you, you may have to change the first line
of each cgi and pm file.
Configuration
1. The out.cgi file contains several variables that will need editing
before the script will run on your server.
$file="/home/user/outclicksdata";
Preferably in a non-public area of your server, this directory will
contain your data.
$errorsend="http://www.sponsor.com/";
This is the URL to which you’d like to send surfers that try to hit
the out.cgi script directly without a query string.
2. The stats.cgi file contains several variables that will need editing
before the script will run on your server.
$file="/home/user/outclicksdata";
Preferably in a non-public area of your server, this directory will
contain your data.
Uploading
1. Create a directory for the script on your server,
which must have CGI access.
2. Upload all files in ASCII mode.
3. CHMOD .CGI files to 755.
4. CHMOD your data directory specified in $file to 777.
Running
To use the script, simply insert its URL in front of the URL
you’d like to link to.
To view how many hits each link has been sent, open stats.cgi
in your web-browser.
PerlCoders.com has been in business for
several years. Our staff is made up of professionals who are
dedicated to making your business succeed. We offer top quality
scripts and 24 hour support!
Right now get access at a
special rate of only $160 which includes more than 156 of our top quality CGI scripts and get deep discounts on many others. You also get full access to our members area which is slam packed with webmaster goodies.