Geotargeting
Send a visitor's product links through the connection that matches their country.
With Geotargeting on, a visitor from Germany gets links through your German connection (its marketplace, tracking ID and credentials) instead of the product's own connection. It is off by default. Set a two-letter country on each connection and switch "Use for Geotargeting" on, then enable it under Settings, Geotargeting.
- Fallback connection: used when a visitor's country matches no connection. Left on "Product's own connection", the product's normal link is kept.
- The visitor's country comes from your host's edge headers, with an IP lookup as a fallback.
- The IP lookup (the service ipwho.is) is made only when Geotargeting is on and there is somewhere to send the visitor: a connection with a country, or a fallback connection. A private address is never sent, the answer is remembered for 12 hours, and the whole site makes at most 30 lookups a minute; past that, a visitor keeps the product's own link.
- How it is applied: Auto (recommended), Always server-side, or Always client-side. Server-side is simplest, but only correct on a site that never caches its full page HTML: a page cache or CDN would show one visitor's country to everyone. Client-side loads a small script that applies the right link after the page loads, so a cached copy stays correct for every visitor.
- Settings shows which way it is currently resolving and why, and says if you should switch when you add page caching later.