Search behavior is changing fast. Instead of typing queries into Google, users are increasingly asking AI assistants like ChatGPT, Perplexity, Gemini, and Microsoft Copilot to recommend products, explain concepts, and link directly to websites.
That means a growing share of your traffic is coming from large language models (LLMs), and most companies aren’t measuring it properly.
Across real GA4 accounts, AI-driven visits already represent 0.5% to 10% of total traffic, depending on the industry. That number is still small, but the growth curve is steep, and if you’re not tracking this now, you’re flying blind.
This guide shows you exactly how to identify and analyze AI referral traffic in Google Analytics 4, so you can understand:
- Which AI tools are sending visitors
- How those visitors behave
- Whether AI visibility is translating into conversions
Why AI Referral Traffic Matters
AI assistants are no longer just “search tools.” They are decision engines.
When someone asks an LLM for:
- The best software for a task
- A comparison between vendors
- A recommendation or explanation
…the AI often sends them straight to a website. These are highly qualified leads, as they trust the AI’s recommendations just like they trust a friends’.
Tracking this traffic allows you to:
- Measure your brand’s visibility inside AI Search Engines
- Identify which LLMs actually drive visits
- See if AI-sourced users convert, engage, or bounce
- Adjust content to perform better in AI-generated answers
Ignoring this channel today is the equivalent of ignoring Google Analytics back in 2012.
Step 1: Create a Custom Exploration in GA4
- Log into Google Analytics 4
- Click Explore in the left navigation
- Select Blank exploration
This gives you full control over dimensions, filters, and metrics, which is required to isolate AI traffic properly.
Rename the report to something clear, for example: AI Referral Traffic (LLMs)
Step 2: Configure Dimensions and Metrics
You need to add a few dimensions to gain visibility into both the source and the referring system. Add the following dimensions:
- Session source / medium: shows where the visit originated
- Page referrer: reveals the exact referring domain or service
How to add them:
- Click the + icon in the Dimensions panel
- Search for each dimension
- Click Import
Add Key Metrics
To understand value, not just volume, include these metrics:
- Sessions: total visits from AI tools
- Key events: conversions or actions you care about
Optional but useful additions:
- Engagement time
- Views per session
- Conversions
Add metrics the same way: click +, search, import.
Step 3: Filter Traffic From AI & LLM Platforms
This is the most important step. Use the “All Users” Segment
Make sure your exploration includes all traffic, not a subset.
Apply a Page Referrer Regex Filter
This filter isolates traffic coming from known AI platforms.
- Drag Page referrer into the Filters section
- Set the condition to Matches regex
- Paste the following expression:
^.*(ai|\.openai|copilot|chatgpt|gemini|gpt|neeva|writesonic|nimble|outrider|perplexity|bard|edgeservices|astastic|copy\.ai|bnngpt).*$
This captures referrals from:
- ChatGPT
- Perplexity
- Gemini / Bard
- Microsoft Copilot
- And other AI-powered assistants
You now have a working AI traffic report inside GA4.
Step 4: Analyze AI-Driven User Behavior
Once the report is live, you can immediately answer questions like:
- How much traffic is coming from LLMs?
- Which AI tool sends the most engaged users?
- Do AI visitors convert or just browse?
- Is AI traffic increasing month over month?
Recommended Views
- Table view → detailed breakdown by referrer
- Line chart → growth trends over time
- Bar chart → compare AI tools side by side
Pro tip: Add Date as a breakdown to spot spikes caused by AI mentions or content updates.
Step 5: Save and Share the Report
Click Save to keep the exploration permanently in GA4.
You can also:
- Share it with teammates
- Export as CSV or PDF
- Revisit it regularly to track growth
This becomes your baseline for measuring AI visibility and performance.
What This Enables Long Term
Once AI referral tracking is in place, you can:
- Monitor brand exposure inside AI answers
- Identify which pages LLMs prefer to reference
- Optimize content specifically for AI discovery
- Connect AI visibility to revenue and conversions
This is where tools like Cartesiano.ai become useful — helping teams go beyond raw traffic and understand why AI tools choose certain pages over others.
Final Takeaway
AI-driven traffic is no longer hypothetical.
It’s real, measurable, and growing fast.
By setting up AI referral tracking in GA4 now, you:
- Gain early visibility into a new acquisition channel
- Understand how LLMs interact with your content
- Position your site to benefit as AI search adoption accelerates
Most companies won’t do this until it’s obvious.
By then, they’ll already be behind.
Frequently Asked Questions
What is AI referral traffic?
AI referral traffic consists of visitors who arrive at your website after clicking links provided by AI tools like ChatGPT, Perplexity, Gemini, or Copilot. These users bypass traditional search engines and rely on AI-generated answers to navigate the web.
Tracking this traffic helps you understand how AI assistants influence discovery and decision-making.
How do I improve visibility in AI-generated search results?
Focus on content that:
- Answers questions clearly and directly
- Uses structured formatting (headings, lists, tables)
- Covers topics comprehensively, not superficially
- Follows solid technical SEO fundamentals
Monitoring AI traffic in GA4 and combining it with AI search intelligence tools allows you to refine what actually gets cited by LLMs.
Which AI platforms should I track?
At a minimum:
- ChatGPT
- Perplexity
- Google Gemini
- Microsoft Copilot
As AI ecosystems expand, your GA4 regex filter can be updated to include new platforms without rebuilding the report.
