It's basically not too hard. You just have to understand what happens: * AWStats tracks pageviews by parsing the access log. * In the access log, all requests to the server are logged. * So to get something in the access log, you make a request to the server.
I'm not sure if there is any other "magic" applied by AWStats to filter/determine what requests to show as pageviews, though, if it doesn't work, you may have to find that out. (AWStats documentation?) So to make that request with the help of MooTools: * you create a new `Request` instance. * you `send` the request, optionally with some data. * it creates a new entry in the access log. I don't know how AWStats treats the data you add to the request, but that is just for you to try out (or find out from AWStats). You can either: * do what Arian said (request /myServerSidePage, with as data the URL), * do a request to /somePage.php/<URL>, where <URL> is the "href" attribute of the link, * or even to just /something/<URL>, though you'll probably have to make sure it doesn't return a 404 (perhaps rewrite it with Apache). Tim.