Blog
5 May 202610 min read

How to Know if ChatGPT, Perplexity or Claude Are Recommending Your Website (and How to Track It Step by Step in 2026)

How to Know if ChatGPT, Perplexity or Claude Are Recommending Your Website (and How to Track It Step by Step in 2026)

If someone asks ChatGPT which web agency to hire, or asks Perplexity how to build a fast website, and your site appears in the response, those visits land in your Google Analytics marked as 'Direct' — unless you know exactly how to find them.

This article explains two methods to identify traffic coming from AI tools to your website: a quick one that shows data in 2 minutes, and a more complete one that creates a dedicated segment to track it over time.

Which AI tools can send you traffic

When an AI recommends your website in a response and the user clicks the link, that traffic arrives from that tool's domain. The main AI traffic sources you can find in GA4 today are:

  • claude.ai (Anthropic Claude)
  • chatgpt.com (OpenAI ChatGPT)
  • perplexity.ai (Perplexity)
  • copilot.microsoft.com (Microsoft Copilot)
  • you.com (You.com AI search)
  • phind.com (Phind, developer-focused)

Not all AI visits are tracked this way. When a user manually copies a link from an AI response and opens it in a new tab, the traffic arrives as 'Direct'. Only direct clicks on links within the AI interface generate a trackable referral.

Method 1: Traffic Acquisition Report (2 minutes)

This is the fastest method. Go to Google Analytics 4, open the left menu and navigate to Reports, Life cycle, Acquisition, Traffic acquisition.

Traffic Acquisition report in Google Analytics 4 showing default channel groups
The Traffic Acquisition report shows channel groups by default. You need to change the primary dimension to see individual sources.

The table shows the 'Session default channel group' dimension by default. To see AI sources, click on the first column header and select 'Session source' from the dropdown menu.

Dropdown menu in GA4 to change primary dimension to Session source
Click on the first column name to open this menu. Select 'Session source' to see which domain each visit comes from.

Once the dimension is changed, the table updates and you can see sources by domain name. If you receive traffic from claude.ai, chatgpt.com or perplexity.ai, they will appear here. If they don't appear yet, the volume may be too low for the selected date range, or your website may not yet be cited by AI tools.

Method 2: Custom Segment in Explore

This method creates a reusable segment you can apply in any GA4 exploration. It takes about 5 minutes to set up, and then the data is always available.

Step 1: open Explore and create a blank exploration

In the GA4 left menu, click 'Explore'. You'll see the exploration type gallery. Select 'Free form' to get started.

GA4 Explore section with exploration type options
The GA4 Explore section offers different exploration types. Select 'Free form' for full control over dimensions and metrics.
Empty free form exploration in GA4 with the variables panel on the left
The empty free form exploration. On the left you have the variables panel where you'll configure the segment, dimensions and metrics.

Step 2: add the AI Traffic segment

In the left panel, click '+' next to 'Segments'. A list of predefined segments will open. Ignore the list and click the 'Create a new segment' button in the top right corner.

List of predefined segments in GA4 with the Create a new segment button
This screen shows predefined segments. Don't select any from the list — click 'Create a new segment' in the top right corner to create a custom one.

The 'Build new segment' screen appears. Select 'Session segment' to filter by visit origin.

Segment creation screen in GA4 showing options: User segment, Session segment, Event segment
You have three segment types: user, session, or event. To measure AI traffic, you need the 'Session segment', which filters by the origin of each visit.

Step 3: add the Session source condition

In the segment builder, in the 'Include sessions when' field, click the '+ Add filter' button. Type 'session source' in the search box and select 'Session source' (Traffic source, Session-scoped).

Segment builder in GA4 searching for the Session source dimension in the filter
Type 'session source' in the filter search box. Select the option marked as 'Traffic source, Session-scoped' so the filter operates on the source of each session.

Step 4: set up the filter with a regular expression

With 'Session source' selected, change the condition from 'contains' to 'matches regex' and type this expression in the text field:

  • claude\.ai|chatgpt\.com|perplexity\.ai|copilot\.microsoft\.com|you\.com|phind\.com

Copy that expression exactly as written, with the escaped dots (backslash before the dot). The right panel will show the segment summary updating in real time, showing the percentage of sessions that match.

Session segment in GA4 with the condition 'Session source matches regex' and the AI regex expression configured
The segment configured with the regular expression. The right panel shows 0.72% of total sessions, which corresponds to visits from AI tools in the selected period.

Click 'Apply' to save the segment and return to the exploration. Give it a descriptive name like 'AI Traffic' before saving.

Step 5: add dimensions and metrics

With the segment applied, you need to add the dimension and metrics before dragging them to the table. In the left panel:

  • Click '+' next to 'Dimensions' and add 'Session source'
  • Click '+' next to 'Metrics' and add 'Sessions' and 'Active users'

Then drag 'Session source' to the 'Rows' field in the center configuration column, and drag 'Sessions' and 'Active users' to the 'Values' field. The table will update showing each AI source separately.

Final exploration result in GA4 showing traffic segmented by AI source, with claude.ai and chatgpt.com visible
Exploration result with the segment applied. In this example, claude.ai generated 2 sessions and chatgpt.com generated 1 session in the analyzed period. It may seem low, but this is high-intent traffic.

What numbers are normal

If you just set this up and see 0 or 1 sessions from AI tools, that's completely normal. AI traffic on service and agency websites is between 0.5% and 3% of total traffic for most sites in 2026. Only sites heavily referenced in AI responses (like technical documentation, media outlets, or brands with strong presence in models' training data) exceed that percentage.

What matters is not the volume, but the trend. A website that appears in Claude or Perplexity responses today could be receiving 10x more volume in 12 months. That's why it makes sense to start measuring it now.

Why you don't appear in AI results and what to do

If you see nothing in the segment, there are specific reasons and solutions for each:

  • Your website has low domain authority: AI tools prioritize sources with more external references. Work on getting mentions in press, directories and industry blogs.
  • Your content doesn't answer specific questions: language models cite pages that directly answer a question. Well-structured blog articles with clear H2 headings work much better than generic service pages.
  • You don't have an llms.txt file: some AI tools read this file to understand what your website is about. You can add one at the root of your domain with a summary of your business and main pages.
  • Your website loads slowly or has technical errors: AI crawlers penalize sites with high load times or frequent 404 errors.
  • The analyzed date range is too short: expand the GA4 filter to 90 days or more to have representative data.

Want to set up this tracking on your website but don't know where to start? Tell us about your case and we'll help with all the configuration you need.

Contact us

Fuentes consultadas

© Eduardo Herrera — Webandup