Use this code generator to make appropriate code for your pages, you need to use this if you are getting stats for a remote website, installing multiple instances of TraceWatch Web Stats on one website, getting stats for none-php pages, installing TraceWatch WebStats in a folder other than root or having trouble with the default include statement. for more information read Advanced Installation of TraceWatch Web Stats.
