Sub topic 1
How AI Assistants Send Visitors to Your Site
AI assistants can send people to your site when an answer includes a link and the person clicks it. ChatGPT, Gemini, Perplexity, Copilot, and similar tools may link to an article, product page, documentation page, or other resource. The visitor then arrives through a normal web request.
This chapter assumes you understand the GA4 interface, referrers, and UTM parameters. You also need Editor access to a GA4 property. Some later configuration tasks require Administrator access.
Prerequisites
You should know:
- A referrer is the previous page or site that sent a visitor to your page.
- A UTM parameter is a query-string value, such as
utm_source=example, that adds campaign information to a URL. - A session is a group of interactions from one user within a period of activity.
- GA4 reports use dimensions such as source, medium, and default channel group to describe where sessions came from.
The basic request path
The process usually looks like this:
When the browser requests your page, it may send the previous page in the HTTP Referer header. The browser can also include UTM parameters in the destination URL. Your Google tag or Google Tag Manager configuration sends page and session data to GA4.
GA4 then uses these signals to assign values such as:
- Session source: the source that started the session, such as
example.comorgoogle. - Session medium: the type of source, such as
referral,organic,cpc, ordirect. - Default channel group: a broader category created from source, medium, and other rules, such as Referral, Organic Search, or Direct.
An AI assistant does not automatically become a separate GA4 channel. If the referring host is visible and no special campaign values are present, GA4 often classifies the visit as a referral. For example, a visit from perplexity.ai might appear with a source related to Perplexity and a medium of referral.
The exact result depends on the link and the browser. An assistant may add tracking parameters, remove them, redirect through another URL, or open the destination in a way that does not preserve the original referrer.
> callout note > Treat the source and medium as observed signals, not proof of the visitor's complete journey. GA4 may identify the immediate referring site while missing the assistant interaction that happened before it.
Two ways an assistant link can be identified
A link can expose AI traffic through its referrer:
| Signal | Example | Typical use |
|---|---|---|
| Referrer host | `chatgpt.com` | Identify the site that sent the click |
| UTM values | `utm_source=chatgpt` | Explicitly label a campaign or source |
| Neither signal | No referrer and no UTM values | May appear as Direct or Unassigned |
Referrer-based identification is passive. You inspect the values GA4 already receives. UTM-based identification is explicit, but you can rely on it only when the links contain consistent parameters.
Human clicks versus AI crawlers
A person clicking a link creates a browser visit that your GA4 tag can record. An AI crawler fetching pages to build or update an index usually does not execute your GA4 tracking code. Therefore, crawler activity normally does not appear as GA4 traffic.
This distinction matters. A rise in AI-generated answers or crawler requests does not necessarily produce a rise in AI assistant sessions. GA4 measures tagged browser interactions, not every request made by an AI service.
Exercise
A visitor clicks a link to your site from an AI assistant, but the browser sends no referrer and the URL has no UTM parameters. Which GA4 classification is most plausible?
Show answer
The visit may appear as Direct or Unassigned because GA4 has no reliable signal connecting it to the assistant.