I'm working on a project where people will be charged to post content on a website. I'd like to offer users the ability to track how popular their content is, but I don't want to log every page hit using PHP because that will also count visits from crawlers, etc.

I'm considering using Javascript to call a PHP file which should eliminate the crawler problem. I know I won't be able to track users with Javascript disabled, but thatís OK.

Shaun Inman has done something similar (and a lot more complex) with Mint, but I'm not really sure how it works.

I'm sure this is really simple, but I want to get it right. Any thoughts?