What Is Grounding in AI Search? Why AI Reads Your Site but Doesn't Cite It

Short answer
What is grounding in AI search?
Grounding is the step where an AI model builds its answer from verifiable sources it retrieves at question time, and ties each claim back to those sources, instead of relying only on what it memorized in training. In short, your site appears as a source only if the model selects one of your passages during this step.
Your server logs show AI bots fetching your pages week after week. Then you ask an AI assistant the very question those pages answer, and your site is missing from the sources. That gap usually sits in one step: grounding. This guide defines the term from official documentation, then walks you through a diagnosis that starts with a log file analyzer and ends with a fix order.
We prefer not to leave the definition to our own wording, so here is the official one. Google Cloud puts it this way in its grounding overview: in generative AI, grounding is the ability to connect model output to verifiable sources of information. The same page lists three benefits:
- It reduces hallucinations, meaning content that isn't factual.
- It anchors model responses to specific data sources.
- It provides auditability through links to sources.
The third point is the one that matters to you. The source links under an AI answer are the visible side of that auditability, because they let a reader check the claim. If the hallucination side interests you, our article on what AI hallucination is covers it separately.
How is grounding different from training data?
Business owners mix these two up more than any other pair of terms. Training data is the text a model learned from while its developers built it. Grounding, on the other hand, happens at the moment someone asks a question. So one belongs to the past, and the other belongs to the current query.
| Criterion | Training data | Grounding |
|---|---|---|
| When it happens | While the model is in development | When a user asks a question |
| Source link in the answer | Usually none | Yes, if the system supports it |
| Freshness | Limited to the training cutoff | As fresh as the index or the live fetch |
| Effect on your site | Your brand may come up, without a link | Your page can appear as a source |
| What you control | Whether you allow the training bot | Search bot access and content quality |
This distinction has a practical consequence. A training bot fetching your site therefore does not mean you will show up as a source in today's answers. Likewise, a model recalling your brand from memory is not grounding. If the AI names your brand but gives no link, that is a different problem, and we cover it in our piece on AI citation vs. brand mention.
What steps does the grounding process follow?
The internals of these systems are not public. However, the developer documentation from the providers describes the skeleton of the flow clearly. Google's Gemini API documentation lays out grounding with search in five steps:
- The application sends the user's prompt to the model with the search tool enabled.
- The model analyzes the prompt and determines whether a search can improve the answer.
- If so, the model generates one or multiple search queries and runs them.
- The model processes the search results, synthesizes the information, and writes a response.
- The system returns a response that rests on the search results, along with citation data.
Microsoft describes a similar order in its Grounding with Bing Search documentation. First, the system decides whether it needs a search at all. Then Bing searches public web data and returns relevant chunks. Finally, the model uses those chunks to generate a response. According to the page, the response includes citations with links to the websites it drew on.
Both documents share one detail: the model does not search for every question. In other words, some answers involve no grounding at all, and they come entirely from the model's memory. Expecting a source list on that kind of answer is therefore not realistic.
Why is there a gap between retrieval and citation?
Retrieval produces a list of candidates, and citation is a selection the model then makes from that list. Microsoft's documentation says so directly: the model might not use all the search results, and it may decide which pieces of the tool output to use. So a fetch tells you that you entered the race. It does not tell you that you won.
No provider has publicly disclosed how it weighs that selection. Therefore, we suggest caution toward anyone who claims to have "cracked the citation algorithm." What we can do is stay inside the limits of the official documentation and sort out the patterns that repeat in the field.
There is one more step in between. Systems often do not search your question as a single query. Instead, they split it into sub-queries, a technique we explain in what query fan-out is. If you want to know how retrieved text reaches the model, our guide to retrieval-augmented generation explains the same logic for company documents. We won't repeat either one here.
At this point the practical need becomes clear. Fixing content before you know which bot fetched which page, and for what purpose, wastes effort. If nobody on your team reads logs, this diagnostic stage is where AI SEO services earn their place. Still, you can run most of the steps below on your own.
Which type of bot are you seeing in your server logs?
"An AI bot is reading my site" can describe three different situations. Official documentation separates these bots by purpose, and each one relates to citation in a different way:
- Training bot. According to OpenAI, GPTBot crawls content that may go into training its generative AI foundation models. As a result, it has no direct link to the source list in answers.
- Search index bot. OpenAI says OAI-SearchBot exists to surface websites in ChatGPT's search features. Perplexity gives a similar definition for PerplexityBot and states that it does not crawl content for AI foundation models.
- User-triggered fetcher. ChatGPT-User and Perplexity-User visit a single page during a user's action. They do not crawl the web automatically.
You can read the details in OpenAI's bot documentation and Perplexity's crawler documentation. For the full list of bot names and robots.txt rules, see our guide to AI crawlers; we are not repeating that material here.
For diagnosis, the takeaway is simple. If your logs only show the training bot, the complaint "it reads us but never cites us" rests on a wrong expectation. That bot never came to produce citations in the first place. Instead, look for the traces of the search index bot and the user-triggered fetcher.
Why should you read user-triggered fetches separately?
Each of these fetches corresponds to a real question from a real person. So they are the most valuable lines in your log. Perplexity's documentation says that when a user asks a question, Perplexity-User might visit a web page to help provide an accurate answer.
Two details deserve attention. First, these fetchers do not always follow robots.txt. OpenAI writes that the rules may not apply because a user initiates the action, and Perplexity says its fetcher generally ignores them. Google uses the same wording for its own user-triggered fetchers.
The second detail matters more. OpenAI states plainly that ChatGPT-User plays no role in determining whether content may appear in Search. In other words, a fetch from this agent is not a signal that you will show up as a source in search answers. The two channels work separately, so read them separately.
There is also a case you will never see in your logs. According to Google's crawler documentation, Google-Extended has no separate HTTP user agent string; it is only a control token you use in robots.txt. The same page also explains that grounding on the Gemini side draws on content from the Google Search index. So on Google's side, you cannot read the relationship between fetch and citation from your logs.
What is the difference between a live fetch and grounding from an index?
Systems reach a source in two ways. Some fetch the page live at question time, which is the job of user-triggered fetchers. Others consult a search index that a crawler filled earlier. Google's crawler documentation describes Gemini grounding in exactly this way: the system supplies Google Search index content to the model at prompt time.
This distinction changes how you read logs. For example, a system that works from an index can cite you without sending a single request to your server at that moment. So you may earn a citation with no trace in the log. Conversely, a bot that fetches live can arrive, find the content insufficient, and rest its answer on another source.
The inference "the bot came, so a citation should have followed" therefore fails in both directions. Logs show access and interest. They do not show selection, because you only see selection by looking at the answers themselves. Which provider uses which route, and how often, remains undisclosed, so treat confident claims on that point with caution.
What should you clarify before you start diagnosing?
"AI doesn't show us" is too broad to diagnose. Before any work begins, narrow the problem with four questions. This small preparation shortens every later step:
- Which platform do you mean? Each provider has its own bot, its own index, and its own selection.
- Which question do you want to appear for? Write it down word for word, the way a customer would type it.
- Which page on your site answers that question? If you cannot point to one URL, then the problem starts here.
- Who appears as a source right now? Record the sources in the answer together with the date.
The third question surprises most businesses. That is because we often find the answer spread across three pages, or we don't find it at all. In that situation the bot fetches the site as expected, but the model has no clear passage to lean on. The fourth question, meanwhile, gives you a baseline. After the fix, you can only tell what changed by comparing against that record.
How do you see which pages AI bots fetch from your logs?
Start with data instead of guesses. Download the raw access logs from your hosting panel, and take a period of at least a few weeks. Then follow this order:
- Open our tool, upload the file, and analyze server log files in your browser.
- Filter AI bots in the user agent column and split them into the three types.
- List the most fetched URLs for each type.
- Check the status codes, and flag redirects, errors, and blocks.
- Separate the pages that the search bot fetches but the user fetcher never visits.
- Note which revenue pages no bot fetches at all.
In practice, step five tends to teach the most. If the search bot has indexed a page but no user question ever reaches it, the problem is matching, not access. Conversely, if the user fetcher comes often and no citation follows, look at passage quality.
One warning: anyone can fake a user agent string. So when traffic looks suspicious, compare the requesting IP address with the ranges the provider publishes in its official documentation. If log reading is new to you, our guide to server log file analysis for SEO covers the basics.
Why does the model skip your page after fetching it?
Five causes keep coming up in our work. None of them is an official ranking criterion from any provider; they are diagnostic headings based on observation. Read the table below starting from the symptom.
| Symptom | Likely cause | How to test it | First fix |
|---|---|---|---|
| User fetcher arrives, no citation | The passage gives no clear answer | Search the page for the question and look for the answer in one paragraph | Move the answer directly under the heading |
| The answer is right, the source is someone else | Other sources cannot confirm your information | Search for your claim on independent sites | Cite sources and document your data |
| Bot fetches, content never shows in answers | The text sits behind JavaScript | Look for the text in the raw page source | Render the text on the server |
| Search bot comes, user fetcher doesn't | The page doesn't match real questions | List customer questions and compare them with your headings | Add question-focused sections |
| The same large sites always appear | A more authoritative source exists | Study what the cited pages have in common | Go deeper on a narrow topic |
Use the table like a decision tree. First find your symptom, then run the test, and move to the next row if the test comes back negative. For a broader checklist, see our diagnostic checklist for sites AI doesn't cite. This article, however, stays with the stage after the fetch.
How does a diagnosis unfold in an example scenario?
The following is not a client case. It is an example scenario we built to show the method. Picture a company that sells industrial filters. In its logs, the search index bot fetches product pages regularly, while the user-triggered fetcher only visits blog posts.
The first conclusion: there is no access problem, because both bot types reach the site. Next, you open the raw source of the product pages. A script loads the technical specification table afterward, and the raw source doesn't contain it. So the bot fetches the page but misses its most valuable information.
The blog, however, has a different problem. The posts touch on the question "how often should you replace a filter," but they leave the answer at the end of a long introduction. This company therefore needs two separate fixes: server-side text on product pages, and answers moved to the top of blog posts. Mixing both under one "GEO project" label would make the result impossible to measure.
How does a vague passage weaken grounding?
Grounding means the model ties a claim to a specific piece of text. The Gemini API documentation explains that citation annotations link individual text segments of the answer to source URLs. So a citation does not go to a page. Instead, it goes to a sentence that a passage on the page supports.
A page that spreads its answer over three paragraphs is therefore a hard candidate. For example, if the answer to "how long does delivery take" sits scattered inside a story, the model cannot rest that sentence on one passage. Meanwhile, another page that gives the same information in one sentence offers easier support.
Keep your own test simple. Copy a random paragraph from your page and strip away its context. Does it make sense alone? Is the subject clear? Does it answer a question? If not, the problem most likely lives here. We explain the writing technique with examples in how to write passages AI will quote.
What happens when other sources cannot confirm your information?
The key word in the official definition of grounding is "verifiable." Providers have not disclosed how many sources a system checks for a claim, or how it compares them. However, we see one pattern in the field: claims that appear only on your site, with nothing behind them, rarely become sources.
You don't need to manufacture authority for this. The steps available to you are concrete and honest:
- If you give a number, state its source and method in the same paragraph.
- Link to the official or manufacturer document behind any fact that rests on one.
- Write your company name, address, and specialty the same way everywhere.
- Make the author and the author's credentials visible on the page.
- If you share original data, explain how you collected it.
The third item looks small, yet it works. Because the web recognizes your brand as one consistent entity, information about you becomes easier to match. You will find the foundation of this topic in our article on entity SEO.
What does a bot see when content sits behind JavaScript?
A successful fetch in the log does not prove the bot saw your text, because many sites load text late. The server returns the page skeleton, and a script running in the browser loads the real text afterward. If the bot doesn't run the script, then it ends up with an empty shell.
Most providers give no detail on which AI bot executes JavaScript. The safe assumption, therefore, is that they don't. You can run the test yourself: open the raw page source and search for your most important sentence. If the sentence is missing, the bot most likely misses it too.
Your logs also hold one more clue. If the bot fetches the main document but never requests the data calls that bring in the content, it probably did not see the text. For detailed test methods and fix options, read can AI crawlers see JavaScript content.
Why is a fetch not enough when the page doesn't match the question?
A search index bot crawls your page regardless of topic. Grounding, however, starts with a question. Your page can sit in the index, but if no sub-query reaches it, it never enters the candidate list.
The pattern we see most often is this: the business writes in its own language, and the customer asks in theirs. You say "integrated logistics solutions." The user asks "how many days does it take to ship a pallet from Chicago to Hamburg." In this example scenario, the page is on topic and still fails to match the question.
To fix it, collect real customer questions from your sales and support teams. Then give each question a heading on the page and a short answer right below it. As a result, the page serves both human readers and sub-queries better. Don't open a separate thin page for every question, though, because that approach lowers quality.
What can you do when a more authoritative source exists?
For some questions, the source list always shows the same names: official bodies, large publishers, encyclopedias. In that case the problem is not your page. It is the nature of the question. Nobody should expect a small business site to lead on a general definition.
Let's be honest: you cannot win this race on every question. Instead, turn to the narrow questions where you hold first-hand knowledge. For example, the technical specifications of your own product, regional differences in your market, or special cases you meet in the field all belong here. On those questions, you can be the most qualified source.
We looked at which kinds of sites come out ahead in what sources AI uses. Test those observations against a few questions from your own industry.
Does Google require anything extra for grounding in its AI features?
Google gives a clear answer in its own documentation. According to the AI features documentation, a page must have a place in the index and qualify to appear in Google Search with a snippet before it can show up as a supporting link. The page also states that there are no additional technical requirements.
That sentence says two things at once. First, you don't need to hunt for a special file or a hidden tag. Second, settings that restrict snippets affect you directly. If a directive on your page turns snippets off, check that first.
Google-Extended is a separate matter. Google's crawler documentation explains that this token controls training for Gemini models and grounding in Gemini Apps. The same page also says Google-Extended does not impact a site's inclusion in Google Search and is not a ranking signal. So if your robots.txt blocks this token, you may have closed the door on Gemini sources yourself.
In what order should you fix a grounding problem?
Order matters, because working on content while an access problem exists wastes time. Apply the steps below from top to bottom, and work with one group of pages at each step:
- Review the logs, separate the bot types, and list which pages they fetch.
- Confirm that your robots.txt does not block search index bots by mistake.
- Check that priority pages are in the index and carry no snippet restriction.
- Test whether the main text exists in the raw source.
- Write five to ten real customer questions per page and test the match.
- For matching questions, move the answer right under the heading, in one paragraph.
- Add sources, method, and author information to your claims.
- Note the date of the change and ask the same questions again at regular intervals.
For step two, our robots.txt generator helps you avoid rule mistakes. OpenAI's documentation notes that a robots.txt update can take about a day to reach its search systems. We found no such timing for other providers, so check the current information in their official documentation.
We cover the details of the ChatGPT side in how ChatGPT search finds your site.
How do you measure whether the fix worked?
Worrying about work you cannot measure is fair. Measurement in this field is imperfect, and it helps to accept that from the start. Still, you have three separate signals.
The first is your logs. After the fix, watch which pages the user-triggered fetches shift toward. The second is manual sampling: set a fixed list of questions, then ask the same questions at set intervals and record the sources. Because answers can change every time, don't trust a single attempt. The third is the platforms' own reports.
Google says that sites appearing in AI features count toward the overall search traffic in the Search Console Performance report. So you won't see that traffic as a separate line. For the Microsoft side, see our article on the Bing AI Performance report.
For a quick starting measurement, our AI visibility checker runs basic access and readiness checks. You will find a fuller framework in how to measure AI visibility.
How long should you expect before you see a change?
We cannot give a fixed timeline, and we suggest you distrust anyone who does. In our experience, technical access fixes start to show an effect within a few days to a few weeks. Content and trust changes, on the other hand, usually take a few months. These ranges are field observations, not guarantees.
Understanding why the timeline varies is more useful. First, the search index bot has to fetch your page again. Then the index has to update, and someone has to ask the relevant questions again. None of these steps is under your control.
Competition also differs for every question. On a narrow question that demands expertise, you may see a change sooner. On a broad definition question, you may never see one. For a realistic calendar, our article on how long GEO takes to work explains the stages one by one.
Which assumptions about grounding are wrong?
You will meet these assumptions often while collecting proposals or talking with your team. Knowing why each one fails protects both your budget and your expectations:
- "If the bot comes, we become a source." A fetch is only candidacy; selection is a separate step.
- "If we allow the training bot, we earn citations." Official documentation defines training and search bots separately, and their settings are independent.
- "A special file will solve it." Google writes that its AI features have no additional technical requirements.
- "Once a source, always a source." Answers change with the question, the time, and the user.
- "Someone can guarantee a citation count." Selection criteria remain undisclosed, so nobody can guarantee the outcome.
The last item matters most. A proposal that commits to a place in a specific answer, or to a specific number of citations, makes a promise about a mechanism the providers have not explained.
When does outside help make sense?
You don't need an agency for most steps in this guide. Downloading logs, checking the raw source, and rewriting answer paragraphs are tasks any team can handle with some time. Try those first.
Help makes sense in three situations. The job grows if your log volume is large and you cannot separate bot traffic by hand, if your site builds its content with scripts, or if you need to rebuild dozens of pages around questions. Even then, ask for the scope and the measurement method in writing first.
If you fear wasting money, that is the right reflex. When you compare proposals, use the warning signs in how to choose a GEO agency, and apply those criteria to us as well.
At Talha Aslan and team, we start this work with a log review, and our report separates findings that rest on evidence from those that rest on observation. We give no result guarantees; we share what we did and the change we measured. When you reach a point you cannot pass on your own, you can review the scope of our generative engine optimization services on the service page.



