Will I get into trouble with Google for showing different content to different users based on their location in the world?
I want to add a widget to a new website I am building. This widget is makes up only a small part of the content on the page. The widget will show about 6 search results. I want German users to see search results from Germany, UK users to see results from UK and USA users to see results from the USA etc.
I was a bit worried that this idea could be 'Cloaking' which is a 'Black Hat' promotion technique.
Thankfully it is not Black Hat at all and Google has no problem with showing different content to different users based on their location in the world? You jus must make sure that you treat GoogleBot the same as any other user. I.e. Do not make an extra effort to show GoogleBot content. Just let it be and let it see.
I was not planning on adding extra code to show GoogleBot in the USA different content than HumanUser in the USA, the same goes for all other locations, so I am not 'Cloaking'.
Below is a video from the official YouTube channel for Google Webmaster Central which explains that this technique is fine.
The next video has more information about IP Delivery: Background and Considerations
My plan was to show differently located users different content in the search widget on the page. But this means that a USA user who sends a link to his UK friend will see different content in the search widget. Really they should both be able to see the same content for the whole page including the search widget.
The following video tells us that a better solution would be to show the same content to both users and just to add a link to the local version for the foreign visitor. So I must choose a base local. E.g. USA and show users from the UK a link that allows them to see the UK version of the search widget.
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.