An AI assistant's answer can change with the country of the person asking. Assistants that search the web turn the question into search queries. Those queries return different results depending on the user's location, language and account. So asking from your office does not tell you whether your brand is mentioned in Germany. This post explains the signals that set location, one-variable test design and how to log the results.
Four location signals
An assistant doesn't learn where you are from a single place. There are four candidate signals, and each one is a separate variable in the test.
- IP address. According to OpenAI's help page, ChatGPT may use an approximate location derived from your IP address for local results. Sharing the device's precise location is optional and off by default.
- Browser language. The browser sends your preferred language with every request in the
Accept-Languageheader. The interface language may be picked from it too. - Account data. The same page says that, with memory on, saved location details can affect search results. If the effect of the account's registered country isn't documented, treat it as a test variable, not an assumption.
- Query language. A question asked in German usually becomes a German search query. The sources that come back are German sites as well.
| Signal | Where it comes from | How to fix it in a test |
|---|---|---|
| IP | The connection's exit address | Country-targeted proxy, sticky session |
| Browser language | Browser setting | Set explicitly in every condition |
| Account | Session, memory, settings | Memory off, new chat |
| Query language | The text you type | A fixed, pre-translated question |
If all four signals change at once, the result can't be read: the answer differs, but you can't tell which signal caused the difference.
One-variable test design
A good test picks a baseline and changes only one signal in each new condition. The baseline is your current setup: a Türkiye IP, Turkish interface, Turkish question. Then you move the signals one by one.
| Condition | IP | Interface language | Question language |
|---|---|---|---|
| A (baseline) | Türkiye | Turkish | Turkish |
| B | Germany | Turkish | Turkish |
| C | Germany | German | Turkish |
| D | Germany | German | German |
The difference between A and B comes only from the IP. The difference between B and C comes from the interface language, and between C and D from the query language. D is the condition closest to a real user in Germany, and it's the row to compare in the report.
Keep the account side separate. Open every run in a new chat, turn memory off and note this in the log. Don't mix signed-in and signed-out runs; count them as two conditions.
The question itself must stay fixed too. Ask "What is the best project management tool?" in the same words in every condition. If you put your own brand name in the question, you can't measure whether the assistant mentions you on its own.
Repeats and sampling
The same question can give different answers even in the same condition. A language model picks each word with a probability. The web search in between can also pull different pages at that moment. A single run is therefore an anecdote.
Run each condition several times and read the result as a rate. "In how many of the condition D runs was our brand mentioned?" says more than "it was mentioned once". If answers within a condition are very scattered, increase the number of runs.
Time is a variable as well. If you run condition A in the morning and D in the evening, the difference may come from changed search results. Run the conditions in the same time window, in rotation: A, B, C, D, then A again. If the model or the app has been updated, don't compare the old round directly with the new one.
Log the citations too, because the source list can change while the brand name stays the same. Which site the assistant read you from matters as much as whether it mentioned you. We covered the general metrics in What Is AI Visibility?; here we focus only on the country split.
The log table
Each run is one row in the table. Fix the fields at the start and don't change them between rounds.
| Field | Example value | Why it's needed |
|---|---|---|
| Date and time | 2026-12-01 14:05 | Search results change over time |
| Assistant and surface | App / API, model name | These are separate measurements |
| Country (measured) | DE | The exit country seen, not the one requested |
| Interface and question language | de / de | Defines the condition |
| Question ID and run no. | S04 / 3 | Groups the repeats |
| Brands in the answer | Brand A; Brand B | In order, as they appear in the answer |
| Cited domains | example.de; example.com | Measures the source side |
A CSV file is enough for this. The header row can look like this:
date,assistant,surface,model,country,ui_language,question_language,session,question_id,run,brands,cited_domains,notesIn the country column, write the exit country you measured right before the run, not the country you asked for. IP location databases can assign one address to different countries. We explained why in Why Is My IP Location Wrong?.
Country IP and sticky session
The way to change the IP signal is to route the connection out through a home internet connection in the target country. A country-targeted Residential Proxy does this: the assistant and the sites it searches see you as a user in that country.
All runs in one condition must come from the same IP. If the exit address changes mid-chat, the condition breaks, and sometimes the country changes too. A sticky session keeps connections with the same session ID on the same exit IP for the duration you choose (1-60 minutes). Pick a duration longer than all the runs in that condition.
Open a new session for each condition, check the exit country and log it, and don't share a session between two conditions. Set the browser language explicitly in every condition too, because a language left at its default becomes a hidden variable in the test.
Measuring through the official API
If you need scale, use the official API. Some providers' web search tools take location directly as a parameter, and then there's no need to change the IP.
- OpenAI. The web search tool accepts a
user_locationparameter withtype: "approximate". The fields arecountry(two-letter ISO code),city,regionandtimezone. Theurl_citationannotations in the response give the URL and title of the cited source. - Anthropic. Claude's web search tool takes a
user_locationobject of the same name:typeisapproximate, and at least one ofcity,region,countryortimezoneis given. Each citation in the response carries aurland atitle.
The location object has the same shape in both tools:
{
"user_location": {
"type": "approximate",
"country": "DE",
"city": "Berlin",
"timezone": "Europe/Berlin"
}
}For other providers, check their own documentation for a location parameter, and if the docs don't list one, don't assume it exists.
An API answer isn't the same as the answer in the app. An API call has no app memory, and you choose the model and settings yourself. So keep API results as a separate surface in the log table and don't report them as app results.
Terms and limits
Checking answers in a consumer app by hand is ordinary use. Querying the same interface with a script, though, often breaks the terms. OpenAI's Terms of Use list automatically or programmatically extracting data or output among prohibited activities. Circumventing rate limits and protective measures is on the same list.
The practical line is simple. Do a small number of runs by hand in the app. If you need hundreds, use the provider's API within its own terms and rate limits. The proxy isn't an automation tool here; it only sets the location of manual checks.
Errors that skew results
Most test errors come from how the conditions are defined. The symptoms below are the most common.
- Every condition gives the same answer. The signal may come from the account or memory, not the IP. Turn memory off and try the signed-out condition separately.
- The logged country differs from what you expected. The exit IP may be listed under another country in the location database. Measure before the run and log the country you measured.
- Answers within a condition are very scattered. Too few runs. Increase the count and look at rates, not single answers.
- The difference showed up on only one day. Search results or the model may have changed that day. Repeat the round on another day with the same setup.
- Your brand only appears when you type its name. The question contains the answer, so use a question without the brand name.
The bottom line
First separate the four signals, then run each condition several times in the same time window. Log the brands and cited domains of every run in the same table, and record the country by measuring it. Above all, don't let the IP change in the middle of a condition: a Sticky Proxy fixes the duration for that.
Sources
- OpenAI Help Center, searching the web with ChatGPT (location and memory): help.openai.com
- OpenAI API docs, web search tool (
user_location, citations): developers.openai.com - Claude API docs, web search tool (Localization, Citations): platform.claude.com
Frequently asked questions
How does ChatGPT know my location?
From your IP address. According to OpenAI's help page, ChatGPT may use an approximate location derived from the IP address for local results. Sharing the device's precise location is optional and off by default. With memory on, saved location details can also affect search results. That's why you should turn memory off for the test.
Can I see another country's answer with a proxy?
Partly. A proxy only changes the IP signal. Interface language, query language and account data are separate signals, and if they stay the same the answer may differ from what a local user sees. For the condition closest to a user in the target country, set the IP, interface language and question language to that country together.
How many runs should I do per condition?
There's no fixed number. If answers within a condition look alike, a few runs are enough. If brands and sources change from run to run, increase the count. The main rule is to do the same number of runs in every condition you compare and to report the result as a rate, not a single answer.
Is the API answer the same as the app answer?
No. An API call has no app memory or personal settings. You choose the model and tool settings yourself. Location also comes from the user_location parameter, if present, not from the IP. Log API results as a separate surface and don't compare them on the same row as answers seen in the app.
Is it allowed to collect assistant answers automatically?
No, in a consumer app it usually isn't. OpenAI's Terms of Use list automatically or programmatically extracting output among prohibited activities. If you need scale, use the provider's official API within its own terms and rate limits. Do checks in the app by hand and in small numbers, and log API results as a separate surface.
How should I choose the sticky session duration?
Choose it longer than all the runs in one condition. The duration is set between 1 and 60 minutes, and the exit IP may change when the session ends. If your runs take twenty minutes, keep the duration above that so the last run leaves from the same address as the first. Open a new session for each new condition, measure the country again and log it.




