Geo-targeting affiliate offers: the right offer in the right country
A store that does not ship to your country is not an offer, it is a dead end. How a visitor’s country is resolved and what to do when it is unknown.
Geo-targeting affiliate offers means filtering what each visitor sees by the country they browse from, so they only get offers they can actually use: stores that ship there, codes that are accepted and programs that pay for that market. Without that filter, a mistake repeats that almost nobody measures: showing offers the reader cannot use because they live in another country. The store does not ship, the code is rejected, the price is in another currency or the program simply excludes that market. The reader clicks, hits a wall and leaves. The publisher spent an impression and a little trust; the brand sold nothing; the network paid nothing.
For Spanish-speaking audiences the problem is enormous, because an article written in Madrid is read in Buenos Aires, Bogotá, Mexico City and Miami on the same day. This article explains why the country must be a filter applied before anything else, how it is resolved technically and what to do with the hard cases.
What does the wrong offer cost?
Think in simple numbers. A widget with three offers receives a thousand viewable impressions. If 40% of readers are outside the country where those offers apply, four hundred impressions have no chance of converting. It is not that they convert less: they are worth zero. And the clicks that do arrive from those countries consume the reader’s patience budget.
There is a less visible cost: learning. If a rotation system measures which campaign performs best while mixing countries, it learns noise. A campaign that dominates in Mexico may look mediocre because half of its impressions landed in Chile, where nobody can even buy.
How is a visitor’s country resolved?
The most reliable source is the network edge: the CDN or hosting platform usually adds a header with the country inferred from the IP address, typically as a two-letter ISO 3166 country code. It is fast, needs no permissions and is accurate enough to decide which offers to show. That header should only be trusted when it arrives signed or from a verified source, because anyone can send a fake header to an open server.
The second source is the browser language with its region: “es-CL” suggests Chile, “es-AR” Argentina. It is a hint, not a certainty, and should never be used to learn performance per country. The third is the property’s declared country: a Mexican recipe site receives, by default, offers for Mexico.
When no source answers, the sensible rule is to serve only global programs: those that accept orders from any country. A generic offer beats one that fails.
Unknown country does not mean “show anything”: it means show only what works anywhere.
Why one eligibility function?
The discipline that prevents mistakes is having a single eligibility rule and using it everywhere. A campaign passes if it is active, if today falls inside its dates and if its country list is empty (global) or contains the visitor’s country. Nothing else.
That same function must apply when serving the widget formats, when choosing in-text links, when building the directory creators see and at click time. If each module has its own version of the rule, sooner or later one of them drifts and an impossible offer appears in some corner of the site.
What happens at click time?
Geo-targeting does not end with the impression. A link shared in a messaging group, a code pasted into a story or a URL in a bio can be opened from any country. If the click arrives from a place where the campaign does not apply, there are two honest options. The first is to re-attribute the click to another eligible campaign with the same keyword or category, keeping the attribution to the same publisher. The second, when there is no alternative, is to let the reader reach the merchant page anyway, untracked: nothing is earned, but nobody is left in front of an error.
The dishonest option is the third one: record the click, collect commission on a sale that will never come and leave the reader in a store that will not sell to them.
Creators: the audience’s country, not the creator’s
A creator living in Madrid may have 70% of their audience in Latin America. What matters for choosing campaigns is not where they live but where their followers live. Serious creator platforms read that distribution from the creator’s own account (with permission, through the official API), take the top countries covering most of the audience and filter the directory with them.
The practical consequence: a creator with an Argentine audience does not see campaigns that only ship to Spain, and if a merchant does not serve their main country, the tool warns them before they generate the link.
How do you measure by country?
Once eligibility is solved, country becomes the most useful dimension in reports. Impressions, CTR and conversions per country show where it is worth creating content, which merchants perform in each market and where inventory is missing. Only countries confirmed by the network edge should be stored; guesses from language or property would pollute the learning.
The result of taking country seriously is not a magic improvement percentage. It is simpler and deeper: every impression has a real chance to convert, and every fact learned is true.
Frequently asked questions
Is IP geolocation accurate enough for affiliate offers?
At country level, yes: the network edge gets it right in the vast majority of cases, and the typical miss (a VPN or a corporate network) is marginal. Deciding which offer to show only needs the country; city or coordinates are unnecessary.
What do readers on a VPN see?
They see the offers for the country their connection exits from. They are a minority and not worth optimizing for; what matters is never guessing and, when the country cannot be confirmed, serving only global programs.
Do I need the visitor’s consent to infer their country?
Inferring the country from the IP on the server, without storing the IP or identifying the person, usually does not require prior consent. Mention it in your privacy policy and keep only the country code, never the full address.
convli team · convli · Last updated: September 11, 2026