- Referrals from AI assistants are visible in analytics only when the product passes a referrer, so treat any hostname report as a floor and not a total.
- A custom channel group that matches a short list of AI hostnames gives you a stable line to watch, even if the exact numbers stay noisy.
- Search Console, server logs and referral data answer different questions, and they agree with each other less often than most teams expect.
AI assistants send some traffic to websites, and in most analytics setups you can find at least a trace of it. The usual method is to look at the referring hostname, group the hostnames that belong to AI products into one custom channel, and watch that channel over time. The method is simple. Its limits are the reason this article exists. Many visits from AI products arrive without a referrer, or with one that analytics tools file under direct or another source, so the number you see in a report is a floor and not a total. The honest goal is a stable, repeatable signal you can trend and compare, not a complete count of every person who clicked a link inside a chat window.
The practical setup takes an afternoon. You identify the hostnames that matter, such as chatgpt.com, perplexity.ai, gemini.google.com and copilot.microsoft.com, along with any others your own logs show. You build a channel group in your analytics tool that matches those hostnames. You save a segment or exploration so the same view is one click away each time. Then you cross-check the result against two other sources: Search Console, which shows what Google search reports for your pages, and your server's bot logs, which show what crawlers and fetchers requested. None of these three sources answers the whole question. Read together, they tell you roughly whether AI products are sending visits, which pages those visits land on, and whether the bots that power some of these products are reaching your content at all.
Why AI referrals are hard to isolate
Web analytics was built around a simple model. A person on one site follows a link to another site, the browser sends a referrer header that says where they came from, and the analytics script records that source. Most of that model still works for ordinary websites. It works less well for AI assistants, because the link a person clicks is often inside an application rather than inside a web page the assistant controls.
Several things can happen to the referrer between the assistant and your site. The assistant may open the link inside an embedded browser that does not pass a referrer in the way a desktop browser does. The assistant may send the link through its own redirect or tracking URL, which can change the hostname your analytics sees. The person may be on a mobile app that hands the link to the system browser without any context. The site you are measuring may set a referrer policy that strips or shortens the header. Each of these is ordinary web behavior, and none of them is unusual. Together they mean that a visit which started in a chat window may show up as direct traffic, as a visit from the assistant's hostname, or as something you cannot attribute at all.
The consequence is that the referral line in any analytics report is a lower bound. It captures the visits that arrived with an identifiable hostname, and it misses an unknown share of the rest. You cannot estimate that share precisely from your own data, which is why it helps to keep expectations modest and to watch for changes in the trend rather than in the absolute number.
Identifying the hostnames that matter
The first task is a list of hostnames. Start with the assistants your audience is most likely to use. For most English-language sites that list currently includes chatgpt.com, perplexity.ai, gemini.google.com and copilot.microsoft.com. Product names, domains and interfaces change, so do not treat this list as fixed. Check your own data for referrers you did not expect, because they often show up in the referral report before anyone writes them down. Search your referral sources for words like chat, ai, assistant and search, read through the results, and note anything that appears to be an AI product. Confirm each one by looking at the landing pages it sends people to. A genuine AI referral tends to land on informational pages, comparisons and definitions rather than on checkout or account pages, though that pattern is only a hint.
Be careful with lookalike domains and with hostnames that belong to large platforms. A referral from a search engine or a social network is not an AI referral, even if the platform has added AI features. Keep the list narrow and document what each entry means. A channel that quietly grows to include half the internet is worse than no channel at all, because it will make the trend uninterpretable.
Some assistants have been observed to add a utm_source parameter or similar tracking text to outbound links. If you see that in your landing page URLs, it is useful, but do not assume it is present everywhere or that it will stay. Verify it in your own data before building a rule on it, and keep the hostname list as the primary method.
Building a channel group in GA4
In Google Analytics 4, the built-in default channel groups already put anything with a referral medium into a Referral channel. That is useful, but the Referral channel mixes AI products with every other referring site, so it hides the thing you want to see. A custom channel group lets you pull the AI hostnames out into their own named channel, which you can then report on like any other channel.
The steps are straightforward, though menu names move around, so check the current interface. Open the Admin area, go to the data display settings, and look for channel groups. Create a new channel group based on the default one so that every other traffic type keeps its existing classification. Add a new channel, give it a clear name such as AI assistants, and set its condition on the session source dimension. Use a regular expression that matches your hostname list. The pattern should look something like this:
chatgpt\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com
Place the AI channel above the generic Referral channel in the order, so that matching visits are classified as AI rather than as generic referrals. Then save the group and make it the default for reports if your team reads the default views. Note that changes to channel groups are generally applied going forward and do not reclassify history, so the baseline begins on the day you save the rule. If you want history, you will need to use a report that filters on the source dimension directly, which will give you the same visits but not the channel label.
Once the channel exists, build an exploration or a saved report that shows the channel by week, with the top landing pages beneath it. Keep the view fixed. Changing the filter every time you look at it makes trends impossible to compare. If your team uses a different analytics tool, the principle is the same: a rule on the referrer hostname, a named bucket, and a view you can return to.
What lands in direct and unattributed
The most important thing to understand about AI referral data is that the visits you cannot see matter as much as the ones you can. Direct traffic is the bucket that absorbs anything without a referrer, and it is the bucket most likely to contain AI-originated visits you will never attribute. Some of those visits will be people who typed your address after reading about you in an answer. Some will be people who opened a bookmark. Some will be clicks from an app that stripped the referrer. You cannot separate these with certainty.
There are a few ways to check whether direct traffic is hiding something. Look at the landing pages in direct traffic and compare them with the pages in your AI channel. If direct traffic is heavily concentrated on deep informational pages, rather than on the homepage and branded entry points, some of it may be assistant-driven. Look at the timing too. A spike in direct visits to a page that an assistant has recently started citing is suggestive, though not proof. Compare the pattern against any changes you made to content or structure in the same period, because those changes can also explain a rise in direct visits, from people who saw your page in an AI answer and remembered the domain.
Be wary of drawing a strong conclusion from any of this. The signal is circumstantial. What it can do is help you decide where to look more closely, which pages deserve a manual check, and which questions are worth testing directly. It cannot give you a clean number of AI-driven sessions, and anyone who presents one without caveats is overstating what the data supports.
Reading Search Console without over-reading it
Search Console is useful here for a different reason. It does not tell you about AI products as such. It tells you how your pages perform in Google search, including the search features that Google shows. Google has described clicks from AI Overviews and AI Mode as part of the standard performance reporting, as far as I know, and I am not aware of a dedicated filter that separates them out. Check the current documentation before you rely on that, because reporting in this area has been changing, and the details that matter here may have moved since this was written.
What Search Console can do is help you spot patterns on the Google side. If queries that look like questions have grown in impressions while clicks have stayed flat, you may be seeing a result that answers the question inside the search page. If a set of informational pages has lost clicks while their impressions held steady, that is worth investigating, though the cause could be the search results layout, a ranking change, or a shift in demand. None of these readings proves that an AI feature caused the change. They narrow the field.
Keep Search Console and your AI referral channel separate in your head. A visit from a Google search result is not an AI referral, even if the result contained an AI-generated summary. Mixing the two produces numbers that look precise and mean nothing. Report them side by side, label them clearly, and let the difference between them be a question rather than an answer.
Using server bot logs as a second signal
Server logs add a different kind of evidence. Your web server records every request it receives, including the user-agent string that identifies the software making it. Several AI vendors publish the names of their crawlers and fetchers, typically distinguishing between a crawler that gathers content for training or indexing and a fetcher that loads a page because a user asked an assistant a question. The exact names change, so check each vendor's current documentation rather than relying on a list copied from an older article. A search of your logs for the published names will show you which of these visited, how often, and which URLs they requested.
Bot fetches are not referrals. A user-triggered fetch means the assistant tried to read your page. It does not mean the person read it, trusted it, or clicked through to your site. A training crawler visit means your content was requested, not that anyone used it. Keep those distinctions clear when you report, because the word traffic is doing a lot of quiet work in this area and it is easy to let a bot count pass for a visit count.
Logs are most useful when they show a gap. If an assistant's fetcher is requesting a page you care about, and the same page shows no referral activity, the page may be reachable but not linked in a way people click. If a page receives referrals but no bot requests, the referral may be coming from a cache, from a search index, or from a source your logs cannot see. Both gaps are worth a look. Neither is a verdict.
This is the area where a tool such as InstantIndexingPro can add something to the picture, because it logs which bots fetched each URL. That is a complementary signal to your referral data, not a replacement for it. It answers a question referral data cannot answer, which is whether a given AI crawler or fetcher reached a given page. It does not tell you whether a person ever arrived from that assistant.
Setting realistic expectations
It is tempting to build a dashboard, watch it for a few weeks, and then present a clear answer about how much AI search contributes to the business. Resist that. The data supports a weaker and more honest statement: AI assistants appear to send a small number of identifiable visits, the identifiable visits are likely an undercount, and the trend in those visits is something to track over months rather than days.
Set the baseline before you expect movement. Record the channel's numbers for several weeks without changing anything, so that a later change has something to be compared against. Note the changes you make to content, technical setup and internal linking, because those will confound any trend. Be honest about seasonality and about the size of the numbers. In a small site, a handful of visits can move a percentage by a large amount, and a single change in an assistant's interface can shift the referral pattern without any change in how many people are interested in your topic.
It also helps to decide in advance what you would do with a given result. If the channel grows, what would you do differently? If it stays flat, would that change anything? If the direct traffic on your deep informational pages rises while the channel stays flat, would you investigate further? Deciding this before the data arrives keeps the measurement from becoming a story you tell to justify a decision you have already made.
What to do this week
Start with the hostname list. Pull your referral report for the last three months, sort by source, and write down every AI-related hostname you find, along with the landing pages each one reaches. Keep a short note beside the list explaining how you confirmed each entry. This document is what makes the rest of the work repeatable, and it is the thing most teams skip.
Next, build the custom channel group in your analytics tool and place it above the generic referral channel. Save the report or exploration that shows it by week, with landing pages underneath, and give it a name that someone else on the team will understand. Set a calendar reminder to review it once a month, and record the baseline numbers the first time you look.
Then open your direct traffic report and look at the landing pages. Note which informational pages receive a surprising share of direct visits, and keep that list. Pair it with the AI channel view and with any changes you made to those pages. You are not trying to prove a link. You are trying to notice patterns worth testing.
After that, check Search Console for the query and page patterns on your most informational content. Look for questions that gained impressions without clicks, and for pages whose clicks fell while impressions held. Write down what you see, and avoid attributing the change to AI features unless you have a specific reason to.
Finally, if you have access to server logs, search them for the crawler and fetcher names that AI vendors publish, and compare the requested URLs against your AI channel and your Search Console patterns. Where a page is fetched often by an assistant but never sends referrals, consider whether the page answers a question people would click through to read, and whether its links and structure make that click obvious. Where a page sends referrals but is never fetched by a bot you recognize, look at where the referral is actually coming from.
Keep the whole effort modest. Review it monthly, write down what you changed, and report the results with their limits stated plainly. A measurement that admits what it cannot see is more useful over time than a confident number that quietly overstates what it captures. The aim is not to know exactly how much AI search sends you. The aim is to know enough to notice when something meaningful changes, and to be honest with yourself and your team about how little any single report can tell you.