Look at ASP Script Files for the current ASP Scripts.
Look at the Introduction to Server Side Tracking before you start, and look at the parameters you can pass.
To include the tracking in a page, first copy the ASP Tracking Class from the files page to your web site root.
Include this file with a standard asp include:
Then, create the class, and set the parameters as required:
Dim who
Set who = new WhosOn
who.WhosOnGatewayIP = "145.245.123.33"
who.WhosOnGatewayPort = 8080
who.WhosOnDomain = "www.test.com"
who.WhosOnAuthenticationString = "AUTHSTRING"
If who.SendPageInfoToWhosOn then
if who.Response.OperatorsOnline > 0 Then
' code here for html to display when operators are online
Else
' code here for html to display when operators are offline
End If
else
' code for when tracking fails
end if