By default, AddFreeStats uses the text inserted between the <TITLE> </TITLE> tags as the page name. If you want to change the page name, you need to replace the text "DetectName" in the line:
var AFS_Page="DetectName"; with the name you want to set to the page. Be sure to leave the quotes around the page name text.
For Example : var AFS_Page="Index Page";
If your site is coded in PHP or ASP, you can define your own PHP/ASP variable.
For example in PHP.
$PageName="mypage";
In the include file with the AddFreeStats code: print "var AFS_Page="$PageName"";
Set the URL of the Page
If you want to change the URL of the page, you need to replace the text "DetectUrl" in the line: var AFS_Url="DetectUrl";
with the desired URL.
Be sure to leave the quotes around the URL.
For Example : var AFS_Url="http://www.mysite.com/index.html";