tech.zpoley.net

quick little hacks 
« Back to blog

Javascript: Server callback on window unload

I'm using this simple cross-browser script to send tracking information back to the server when users leave a page.

Here's an example page.

I've tested it across Safari4.0.5/MobileSafari4.0.0+/Chrome5.0.375/Firefox3.6.3 and IE 6/7/8.

Comments (0)

Leave a comment...