title: Counting number of views for a page ignoring search engines?
body: <p>I notice that StackOverflow has a views count for each question and that these view numbers are fairly low and accurate. </p>
  
  <p>I have a similar thing on one of my sites. It basically logs a "hit" whenever the page is loaded in the backend code. Unfortunately it also does this for search engine hits giving bloated and inaccurate numbers.</p>
  
  <p>I guess one way to not count a robot would be to do the view counting with an AJAX call once the page has loaded, but I'm sure there's other, better ways to ignore search engines in your hit counters whilst still letting them in to crawl your site. Do you know any?</p>