I have a PHP location-based site that logs user locations, using geoIP.

My metrics are being polluted by Google indexing my site, so I need to filter out those requests at the earliest stage.

The system is clearly looking up their IP and returning Mountain View, and Sunnyvale and sticking it into the Metrics.

What would you say is the best place to intercept Google and how? I want them to see the content of the page, I just want to avoid logging that event.