Sub topic 4
Finding AI Assistant Sources in Your Own Data
Assume you know the basic GA4 interface, understand referrers and UTM parameters, and can open standard reports. You also need Editor access if you plan to create a custom channel group.
AI assistant traffic is often hidden inside ordinary GA4 categories. A link clicked in ChatGPT, Gemini, Perplexity, Copilot, or Claude may appear as Referral, Direct, or another source. Start by inspecting the raw attribution dimensions before creating a report or rule.
Start with source and medium
In GA4, source identifies where a visit came from, such as chatgpt.com. Medium describes the type of traffic, such as referral, organic, or cpc. The session source / medium dimensions describe the attribution assigned to the session.
Open Reports > Acquisition > Traffic acquisition. Set the primary dimension to Session source / medium. Search for terms such as:
chatgptopenaigeminiperplexitycopilotclaudeai
Look at several date ranges. A source may have very few visits in one week but become visible over a month or quarter.
| Possible source or medium | What it may indicate | What to check |
|---|---|---|
| `chatgpt.com / referral` | A visitor clicked a link in ChatGPT | Landing page and engagement |
| `gemini.google.com / referral` | A visitor clicked a Gemini result | Session quality and conversions |
| `ai / referral` | A tool or redirect used a generic hostname | The original referrer, if available |
| `(direct) / (none)` | GA4 received no usable referrer or campaign data | Whether links lost attribution |
Do not assume that every source containing “AI” is an assistant. Check the hostname and the landing page. Internal tools, monitoring systems, and unrelated websites can use similar names.
Inspect referrers and landing pages
Add Landing page + query string as a secondary dimension in the report. This shows which pages assistants send visitors to. You can also add:
- Sessions
- Engaged sessions
- Engagement rate
- Key events
- Session conversion rate
A source with many sessions but few engaged sessions may be sending accidental, automated, or poorly matched traffic. A source with fewer sessions and strong engagement may deserve more attention.
The page referrer is the URL of the page that linked to your page. GA4 may preserve it when a user clicks an assistant's link, but privacy settings, redirects, browser behavior, and the assistant's design can remove it. When it is available, inspect its hostname rather than relying only on the channel label.
.*(chatgpt\.com|chat\.openai\.com|gemini\.google\.com|perplexity\.ai|copilot\.microsoft\.com|claude\.ai).*Use this expression when filtering a referrer or building a temporary exploration. Escape dots because a dot in a regular expression otherwise matches any character.
Use Explore for confirmation
Create a Free form exploration with these dimensions:
- Session source / medium
- Page referrer
- Landing page + query string
- Session default channel group
Add Sessions, Engaged sessions, and Key events as metrics. Filter the exploration to rows containing known assistant hostnames. Compare the result with the Traffic acquisition report.
Check UTM-tagged links
Some organizations add UTM parameters to links shared by their assistants, partners, or campaigns. A UTM parameter is a URL value such as utm_source=chatgpt that gives GA4 explicit campaign information. Inspect the landing-page URLs and campaign dimensions for values such as:
utm_source=chatgptutm_medium=aiutm_campaign=assistant_links
Treat UTM values as separate evidence from referrers. A tagged link may be classified using campaign data even when the browser does not send a referrer.
Exercise
A row shows chatgpt.com / referral with 25 sessions, while another shows (direct) / (none) with 80 sessions from the same landing page. Can you conclude that the 80 Direct sessions came from ChatGPT?
Show answer
No. The missing referrer makes the Direct sessions unattributed. Report the 25 confirmed referral sessions separately and treat the 80 Direct sessions as unknown unless other evidence, such as UTM values or a controlled test, supports the connection.