Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Tracking visitors when they leave your site

I spent a couple of hours this afternoon writing up this and then publishing - if you've got access to your web server logs or a good visitor statistics package from your ISP, and you want to know how many visitors click through on the external links that are on your web site - here's one method:

If you all start buying ClickTracks then I'll kick myself for not signing up to their affiliate programme (-:

Wednesday, October 1, 2003

No way to do this in javascript?

Mark T A W .com
Wednesday, October 1, 2003

I don't know. Does this work for the code of an exit page?

<body onload=";">

But if JavaScript is disabled then the visitor's not going to reach their link.

Thursday, October 2, 2003

The above code does work (but not if its run off your hard-drive). Also, you don't want to include the "url=" part as described in my notes - just


Thursday, October 2, 2003

*  Recent Topics

*  Fog Creek Home