Wusage 7.0 Manual
clickthrough.cgi: Watching Outgoing Clicks
One good solution is to use the provided
CGI program on your server. To use this utility, place
in A DIRECTORY ON YOUR
WEB SERVER WHERE CGI PROGRAMS ARE ALLOWED. Please consult your
webmaster if you do not understand this!
Next, access the URL of the clickthrough program. You will be prompted to supply the URL you would like to count clickthroughs to.
Enter a complete URL, such as
and click on the Show Me The Link! button.
The resulting page will show you the exact URL you should link to in order to "click through" to the destination URL. It will also show you the URL you should enter as a pattern in the Items to be Charted (totalsgroup) option if you wish to count clickthroughs.
For instance, if you have installed
in a typical cgi-bin directory, you will measure clickthroughs
to the URL:
By linking to this URL instead:
For Those Who Are NOT Using Microsoft IIS
For Those Who ARE Using Microsoft IIS
clickthrough.cgi program instructs the user's web
browser to move on to the first URL, and the access to
the second URL appears in your web server's
log file, where it can be reported on by wusage in
many different useful ways. Most notably, the
^otion(totalsgroup) option can be used to graph accesses to a particular URL
over time. It is also possible to compute clickthrough rates
using this option.
VERY IMPORTANT MICROSOFT IIS NOTES
1. Microsoft IIS users must also turn on the Keep Queries (URL after '?') (keepqueries) option to ensure that Wusage considers the part of the URL after the question mark to be significant.
2. The URL should NOT be escaped in the pattern you write in your Items to be Charted (totalsgroup) option. (Since spaces are not allowed in patterns, any spaces which are present in the URL should be written as question marks.) Therefore, you would write the pattern to match the URL in the example above as shown below. Note that the colon and slash characters are shown normally, instead of being escaped:
"Why is IIS different?"
clickthrough.cgitakes advantage of a standard feature of the CGI standard called
PATH_INFO. The idea is that anything that appears in a URL after the name of the program itself is passed as input to the program. Most servers still log the complete URL, so it can be easily analyzed. Unfortunately, the IIS server does not log the complete URL in this situation. This is why it is necessary to use a different strategy and turn on the Keep Queries (URL after '?') (keepqueries) option in order to use the
clickthrough.exeprogram with IIS. We apologize for the additional effort required.
Next: Customizing Wusage Output
Table of Contents
Topical Configuration Editor Reference
Alphabetical Configuration Editor Reference
Alphabetical Configuration File Reference
Glossary of Frequently Used Terms
Boutell.Com, Inc - PO Box 63767, Seattle WA, 98102, USA
Phone/Fax +1 206.325.3009