The client wants a German version of the website. You've made it, everything is translated. But Google might show this version to the wrong people — or not show it in German search at all. This is exactly what geotargeting is for.
What Is Website Geotargeting
Website geotargeting is a set of signals that tell Google which country or region a specific page is targeting. Without explicit signals, the search engine tries to determine this itself: it looks at the content language, server IP, and link mass. It doesn't always guess correctly.
An important nuance: page language and country are different things. An English page can be targeted at the UK, USA, or Australia. Without geotargeting, Google chooses itself, and may show the English version to the wrong audience.
What Signals Google Considers
Domain Zone. Domains like .de, .fr, .ru are country-specific domains (ccTLD). The clearest signal for Google: a .de website is targeted at Germany. Plus: unambiguous country binding. Minus: each domain will have to be promoted separately, authority is not transferred between them.
URL Structure. Folders (/de/, /fr/) and subdomains (de.site.com) on a regular domain (.com, .net) also signal the target region. Folders are better from an SEO perspective: one domain accumulates authority for all regions at once. How to choose a structure — more details in a separate article:
hreflang. An attribute in the page code that directly tells Google: “here is the version for German in Germany, here for German in Austria, here for English in the USA.” One attribute solves both the language and country tasks simultaneously. This is the most accurate signal of all.
Format: hreflang="de" (language) or hreflang="de-DE" (language + country). For a version not tied to a specific country: hreflang="x-default".
Google Search Console. Previously, Search Console had a special geotargeting tool — to set a target country for a .com domain. It is outdated and no longer works. Google now recommends relying entirely on hreflang and URL structure.
Why hreflang is more important than anything else
A country-specific domain gives a clear signal but fragments the link mass. The setting in Search Console is approximate. hreflang is more precise: you can divide the German audience by country (Germany, Austria, Switzerland), specify the default version for all others, and do this at the page level.
Without hreflang, the following can happen: a user from Germany searches for something on Google, finds your site — but lands on the Russian version, even though a German one exists. Simply because Google didn't know which one to show.