Here is the small file that I use to increment the footer counter: CountLosses.asp<%@ Language=JavaScript %>
<%
var sPage = '' + Request.QueryString( );
if ( sPage != '' )
{
// lock the application so I can
// increment page counter
Application.Lock ( );
Application ( sPage )++;
Application.Unlock ( );
}
%> |
And this is how I call it from the Footer function in utils/Footer.asp: <img src="CountLosses.asp?FootersViewed" width=1 height=1 border=0 alt="">
|
Here are the live results of my counters: Number of headers viewed: 4909 Number of footers viewed: 2237 Number of visitors who left: 2672 Percentage of lost visitors: 54.43
|
|