: Does Googlebot share geo-location information to better crawl geo-aware websites? I'm developing a website that allows users to share their location via JavaScript. Based on that location, either
I'm developing a website that allows users to share their location via JavaScript. Based on that location, either the content of the current page will change, or it will redirect a user to a page with content relevant to their location. For users that don't share, I'll present relevant content that I would expect to also get indexed by search bots.
Since it is fairly well known that Google's crawlers do process JavaScript, is there any evidence to suggest that Googlebot shares geo-location information? I ask mainly because I'm wondering what the impact would be on my site's ability to be indexed correctly.
More posts by @Jessie594
1 Comments
Sorted by latest first Latest Oldest Best
Googlebot does not use JavaScript or the GeoLocation HTTP header to indicate its geographic location. Googlebot will appear to be a visitor that does not have these features.
Googlebot does come from a real IP address. If you were determining location from that IP address, you would likely redirect Google to a page appropriate for a Mountain View, California user.
Google has a blog post that tells how to treat Googlebot in these cases:
Geolocation: Serving targeted/different content to users based on their location. As a webmaster, you may be able to determine a user's location from preferences you've stored in their cookie, information pertaining to their login, or their IP address. For example, if your site is about baseball, you may use geolocation techniques to highlight the Yankees to your users in New York.
The key is to treat Googlebot as you would a typical user from a similar location, IP range, etc. (i.e. don't treat Googlebot as if it came from its own separate country—that's cloaking).
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.