Your Google Analytics 4 (GA4) property can show AI search traffic, but it rarely appears in one neat bucket. A click from ChatGPT, Perplexity, Google Gemini, Microsoft Copilot, or Claude might land under Referral, Organic Search, Direct, AI Assistant, or even Unassigned.
That makes reporting messy, but not impossible. If your tagging is clean and your reports are set up well, GA4 can give you a strong baseline for AI-driven sessions, landing pages, and conversions. Start by looking at where those visits already hide, as understanding AI referral traffic is the first step to cleaning up your Google Analytics 4 reporting.
Key Takeaways
- AI traffic in GA4 is fragmented, often appearing across multiple channels like Referral, Direct, Organic Search, or the dedicated AI Assistant channel.
- To gain visibility, use GA4 Exploration reports with session-based dimensions, filtering by known AI source domains using regular expressions.
- Creating a custom channel group is the most effective way to consolidate AI-driven sessions for ongoing, automated reporting.
- Data gaps are inevitable due to stripped referrer information; therefore, use GA4 as a reliable baseline for trends rather than an exhaustive count of every AI interaction.
Where AI traffic shows up in Google Analytics 4
In 2026, Google Analytics 4 can recognize some assistant traffic more clearly than it could a year ago. Some properties now show a dedicated AI Assistant channel, with medium ai-assistant, channel group AI Assistant, and campaign (ai-assistant). Even so, you should not expect every AI click to land there. Much of this AI referral traffic still blends into organic search or appears as traffic from Google AI Overviews, making it harder to track in isolation.
A lot of traffic still arrives with standard referrer data, so Google Analytics 4 classifies it as a referral channel. Some visits blend into organic search, especially when the click comes through a search surface tied to a larger search engine. Others lose referrer data on the way and fall into Direct. In some reports, they can also appear as Unassigned or Other.
This quick table shows the pattern you should expect:
| Likely source | What Google Analytics 4 may record | Where it often appears |
|---|---|---|
| chatgpt.com | source or referrer | referral channel, AI Assistant, sometimes Direct |
| perplexity.ai | source or referrer | referral channel, AI Assistant, sometimes Direct |
| gemini.google.com | source or referrer | referral channel, AI Assistant, sometimes organic search |
| copilot.microsoft.com | source or referrer | referral channel, AI Assistant, sometimes Direct |
| claude.ai | source or referrer | referral channel, AI Assistant, sometimes Direct |
| Missing referrer | no clear source | Direct, Unassigned, Other |
The takeaway is simple: do not rely on one channel view. Check channel group, source, medium, source/medium, and page referrer together.
For a second opinion on how other teams are handling this, the Google Analytics community discussion on AI-driven traffic shows the same pattern. Google Analytics 4 can count AI referral traffic, but the labels depend on the data that arrives with the session.
Treat Google Analytics 4 as a floor, not a full count. It captures AI referral traffic, not every AI mention or every visit that lost its referrer.
Build a working AI traffic report in GA4
A useful report starts with the right dimensions. For most teams, the fastest path is an exploration report. Use a session-based view first, because session source and session medium are core session attributes. Then add landing pages and conversion rate data so you can tie AI visits to meaningful business results.

In GA4 Explore, create a Free Form report and import these dimensions:
- Session source
- Session medium
- Session source / medium
- Session default channel group
- Landing page + query string
- Page referrer
Then add these metrics:
- Sessions
- Engaged sessions
- Key events
- Total users
- Total revenue, if you track ecommerce
Next, apply a filter that catches known AI referrers or the AI Assistant medium. Ensure your Google Tag Manager setup is correctly passing parameters to Google Analytics 4 to improve data accuracy. A clean starter filter looks for sessions where the session source matches your AI domain list, or the session medium exactly matches ai-assistant. Additionally, creating a custom dimension can be highly useful for tagging specific AI crawler versions as they evolve.
After that, break the table down by landing page. This shows which specific landing page attracts AI clicks, rather than just tracking the total volume of sessions. That is where the real value shows up. Some pages may pull strong AI traffic but weak search traffic, which serves as useful editorial data.
If your site runs on WordPress and you still need a clean Analytics install, setting up Google Site Kit for WordPress is a simple way to confirm GA4 is connected correctly before you trust the numbers.
For weekly monitoring, save a standard report comparison as well. In the Traffic Acquisition report, add a comparison for AI sources, then compare that slice against All Users. It is less flexible than the Explore tab, but it is fast for routine checks.
If you want to watch someone build this kind of report step by step, this GA4 AI traffic tutorial on YouTube is a practical reference.
Use regular expression, comparisons, and custom channels
Using a regular expression is where this process becomes much simpler. You do not want to hand-build a filter every time a new source appears. A basic source pattern for current AI assistants can look like this:
(chatgpt.com|perplexity.ai|gemini.google.com|copilot.microsoft.com|claude.ai)
Use that in an Exploration filter on Session source, or specifically ensure that your source matches regex in a Session segment. A session segment is usually better than a user segment here, because a person may visit from AI in one session and from email or search in another.
A stronger version anchors the domain more tightly:
(^|.*.)?(chatgpt.com|perplexity.ai|gemini.google.com|copilot.microsoft.com|claude.ai)$
That helps when GA4 stores subdomains or slightly varied source values. You can pair it with a second rule for medium. For example, include sessions where Session medium exactly matches ai-assistant.
If your property does not show the AI Assistant channel yet, create a custom channel group. Add a channel called AI Assistants and build rules such as:
- Session medium exactly matches ai-assistant
- OR Session source matches your AI regex
- OR Page referrer matches the same AI regex
That last condition helps when the source field is thin but referrer still exists. Crucially, remember that channel reordering is necessary to prioritize AI referral traffic over the generic referral channel, as GA4 processes these rules in order. Keep your expectations in check, though. Custom rules improve visibility, but they do not recover data that never arrived.
You should also audit your setup for duplicate tags. If GA4 fires twice, session counts and attribution get noisy fast. That is a common issue on WordPress sites where multiple plugins try to install analytics. Using Google Tag Manager to manage these tags is the best way to fix duplicate tags before they hit Google Analytics 4. If you use an SEO plugin for tracking, review setting up Rank Math analytics before adding another method.
Why your AI totals won’t match every other tool
This is where many teams get stuck. Google Analytics 4 measures clicks that become sessions. AI visibility tools measure something else, such as citations, mention frequency, accessibility, or page readiness. Those are different layers of the same story.
A page can be cited often inside AI answers and still send few visits. AI crawlers may index your content successfully, but that does not guarantee a high click-through rate or a strong conversion rate in Google Analytics 4. Users may read the answer and never click. On the other hand, a page with modest visibility can drive strong traffic if the assistant presents it as a direct source. That is why GA4 numbers will not line up neatly with AI visibility dashboards.
Dark AI traffic is the biggest gap. When an app strips referrer data, GA4 sees the session but cannot identify the source. That visit often lands in Direct, which is a major departure from the traditional referral channel. Mobile app to browser handoffs make this worse. A user might tap a link inside an AI app, open a system browser, and arrive with little or no attribution. The traffic is real, but the label is weak.
Missing referrer data also explains why AI traffic can hide inside Organic Search or Other. If the assistant sits close to a search engine’s broader ecosystem, such as Google AI Overviews, GA4 may credit the session to a familiar search source instead of the assistant itself. That is not a reporting bug. It is an attribution limit.
You should also expect mismatches between GA4 and AI readiness tools. A page may look strong in a free AI visibility checker because the content is crawlable and clear, but GA4 may show low AI sessions because users did not click through.
For a real-world view of those attribution gaps, this marketer discussion on Reddit mirrors what many teams see: measurable AI visits, plus a large gray area that never resolves fully inside analytics.
Frequently Asked Questions
Why does my AI traffic show up as Direct or Unassigned?
Some AI applications strip referrer data or handle mobile-to-browser handoffs in a way that prevents GA4 from identifying the source. When this metadata is missing, GA4 defaults these visits into the Direct, Unassigned, or Other categories.
Can I use the default AI Assistant channel for all my reporting?
Not necessarily. While some GA4 properties now include an AI Assistant channel, it does not capture every AI interaction, as much of this traffic still blends into organic search or standard referrals. It is best to supplement this channel with custom filters and your own domain list.
Why do my GA4 numbers differ from AI visibility tool reports?
AI visibility tools often measure metrics like crawlability, mentions, or citations, while GA4 only tracks actual user sessions. A page can be frequently cited by an AI without resulting in a click-through to your website, leading to discrepancies between the two data sets.
How often should I update my regex filter for AI sources?
As new AI tools gain popularity and change their referral patterns, you should review and update your regular expression list at least quarterly. Keeping your regex anchored to specific domains ensures you continue to capture traffic accurately as these platforms evolve.
A clean baseline beats a perfect guess
The most effective way to track AI search traffic GA4 is to combine three distinct views: source and medium, channel grouping, and landing page performance. Because Google Analytics 4 requires a mix of a custom channel group and regular expression filters for accuracy, this approach provides a reliable baseline, even when some visits inevitably fall into Referral, Organic, Direct, or Unassigned buckets.
Keep your regex list current, utilize session based reports, and monitor the AI Assistant channel where supported. It is also important to track landing page performance closely to see where your AI referral traffic is most effective at driving engagement. While the final number may not be perfect, this disciplined setup in Google Analytics 4 will show which AI sources send traffic, which pages earn it, and whether those visits convert.
This post may contain affiliate links. If you make a purchase through these links, I may earn a small commission at no extra cost to you.

