Skip to main content
LovedByAI
Law Firms GEO

How to Track if AI Search Is Sending Your Law Firm Clients

ChatGPT, Perplexity, Claude, and Gemini already show up in your analytics as referral sources. Here is how to build a simple custom report that shows exactly which AI platforms are sending your firm clients.

12 min read
By Jenny Beasley
AI Search Tracking 101

Every few weeks I hear some version of the same question from a firm owner: "How do I even know if ChatGPT is sending me clients? Where does that show up in my analytics? Where do I see those leads?" Some have gone ahead and bought a separate tracking tool just to find out. They did not need to. Your analytics account already captures AI referrals automatically � you just need to know where to look.

AI referrals are still a small share of most firms' traffic today, but the share is growing quickly, and the visitors who click through from an AI response tend to arrive with much stronger intent than a cold organic search visit. Setting this up takes about fifteen minutes.

70%+of identified AI referrals come from ChatGPT aloneLovedByAI, 2026
39.1%of all web bot traffic is now AI bots � roughly equal to search engine crawlers
53%of all trackable web traffic now comes from organic and AI-driven channels combinedBrightEdge, 2025

Watch: Is AI Sending Me Traffic? — free tool demo

Is AI Sending Me Traffic? — connect Google Analytics and see your full AI referral report in 30 seconds
Is AI Sending Me Traffic? — connect Google Analytics and see your full AI referral report in 30 seconds

Is AI Sending Me Traffic? is a free tool that connects to your Google Analytics in 30 seconds and shows exactly which AI platforms — ChatGPT, Perplexity, Claude, Gemini, and more — are already sending you visitors. No manual digging in GA4 required.

How to see which AI tools are sending your firm clients

Before you invest more time optimizing for AI visibility, you need a baseline. You need to know whether AI search engines are already driving prospective clients to your site.

By default, Google Analytics 4 groups AI traffic inconsistently. Some visits register as referrals, others disappear into the direct bucket. To see clearly how many sessions and conversions are coming from AI tools, you need a custom filter. Here is how to build it:

  1. Log into your GA4 property and navigate to Reports, then Acquisition, then Traffic acquisition.
  2. Click the Add filter button at the top of the report.
  3. Set the dimension to Session source and choose contains to catch traffic from the full domain including any subdomains.
  4. Enter the known AI referral domains. The most common ones for legal queries are listed in the table below.
  5. Click Apply to see how many sessions, engaged sessions, and conversions your firm is currently receiving from these platforms. Focus on the conversions column to see whether AI visitors are completing your contact form.
AI PlatformHow it appears in GA4Medium
ChatGPT (web)chatgpt.comreferral
Perplexityperplexity.aireferral
Claudeclaude.aireferral
Gemini (web)gemini.google.comreferral
Bing Copilotcopilot.microsoft.comreferral
ChatGPT mobile appoften absentdirect

The mobile app row is the one that surprises most people. When someone uses the ChatGPT or Perplexity iOS or Android app to find your firm and taps a link, the app often strips the referrer data entirely before the visit registers in your analytics. That session shows up as direct traffic, the same category used when someone types your address manually. This gap is covered in more detail in the section below.

Once you have applied the filter, save it as a named custom report so you do not have to rebuild it each month.

GA4 Traffic Acquisition report filtered to show AI referral sources including perplexity.ai, chatgpt.com, and claude.ai with engagement and conversion data
GA4 Traffic Acquisition report filtered to show AI referral sources including perplexity.ai, chatgpt.com, and claude.ai with engagement and conversion data

How to spot hidden AI traffic: Watch your Direct bucket for sudden spikes on deep, specific pages � like a "personal injury FAQ" or "what to do after a car accident." If a buried page jumps from 2 to 50 direct sessions in a week without a campaign behind it, an AI platform is almost certainly citing it.

Traditional SEO reporting assumes Google categorizes visitors neatly as organic. AI platforms do not cooperate with that assumption.

When a potential client clicks a standard Google result, the referrer path is clear and preserved in your analytics. When an AI generates a response and cites your firm, the click to your site frequently drops the origin data, especially from mobile apps. This means your practice could already be receiving high-quality consultations from AI tools that are completely invisible in your standard organic reports.

Stop looking at the organic search bucket to measure AI results. Focus on referral sources and unexplained patterns in your direct traffic on specific service pages instead.

The other difference is scale. AI search is a qualification engine, not a traffic hose. Platforms try to answer legal questions directly in the conversation, so users only click through when they are genuinely ready to act. You will not see thousands of visits from AI. A month where Perplexity sends twelve visitors and four of them submit an intake form is a channel working well. Measure AI success by lead quality rather than raw volume.

How to connect AI traffic to actual consultation bookings

Traffic numbers alone do not tell you whether AI search is worth the investment. You need to know whether those visitors are requesting consultations.

The cleanest approach is to capture the referral source directly in your intake form. Add a hidden field to your consultation request form. A hidden field is a form input the visitor cannot see, but which automatically records where they came from. Open your form builder (WPForms, Gravity Forms, or whichever tool you use) and add a field configured to capture the referring URL. When a prospect submits, you will see exactly which platform sent them.

Relying solely on referrer data is still risky because AI platforms often strip it before the visit reaches your site. For links you control, such as a firm profile on an AI-powered legal directory or a custom GPT you manage, always use tracked URLs. Use Google's Campaign URL Builder to attach UTM parameters like utm_source=chatgpt-profile to those links. Update any directory profile links to use tracked URLs today. The next click will record the source correctly, regardless of what the app does to the referrer header.

To close the loop fully, connect the form's referral field to your practice management software. If your intake team receives twenty AI-sourced consultations but none sign a retainer, the channel is not helping your business the way it looks in the numbers. Getting referral source data into Clio, MyCase, or whatever you use for client records lets you run a report next quarter showing exactly how much revenue originated from AI search.

Not seeing AI traffic? Here is what to fix

Zero AI referrals does not automatically mean zero citations. Work through these three layers in order before rewriting any content.

1. Check whether measurement is broken

Half of "no AI traffic" cases turn out to be a tracking issue, not a visibility issue:

  • GA4 tag: Open your site in an incognito window and run Google Tag Assistant. Confirm the tag fires on your key service pages. Caching plugins and theme updates routinely break tracking with no warning.
  • Robots.txt: Visit yourdomain.com/robots.txt in your browser. Rules blocking GPTBot, ClaudeBot, or PerplexityBot actively bar those AI systems from your content.
  • Quick test: Open an incognito window and ask ChatGPT: "Best [practice area] attorney in [your city]." Do you appear? If not, continue below.

2. Improve your on-page signals

AI tools do not read your site the way humans do. They extract structured facts. Vague hero copy gives them nothing citable.

AI systems pull answers directly from the text on your pages. If your practice area pages are written as brochures � "We are a full-service firm serving clients across the metro area" � they offer nothing for an AI to quote in response to a specific question.

Restructure each practice area page around the questions prospective clients actually ask. If you handle family law, think about what someone types into ChatGPT before they call a firm: "How long does divorce take in Texas?" or "Do I need a lawyer to file for child custody?" If your content answers those questions in clear, direct sentences, AI engines have something to cite. If it does not, they will cite someone else who does.

Structured data markup also matters. Adding proper Schema.org markup � specifically LegalService, FAQPage, and LocalBusiness � gives AI crawlers explicit signals about what your firm does, where you practice, and who you serve. Most firms have none of this in place, which makes their pages genuinely harder for AI systems to interpret accurately.

Some tools audit exactly these gaps: which questions your prospective clients are asking AI engines, and whether your current pages answer them in a citable way. LovedByAI does this analysis and surfaces the specific content changes most likely to improve how AI systems describe your firm when someone asks a relevant question.

3. Build off-page authority AI models recognize

AI systems do not only read your site. They are trained on and continue to pull from the same corpus of trusted sources that built their knowledge: news articles, legal directories, bar association publications, review platforms, and expert Q&A sites.

If your firm is consistently cited in those places � accurate name, address, phone, and practice areas � AI models build a more confident representation of what your firm does. If that information is missing, inconsistent across platforms, or primarily lives only on your own site, AI engines have weaker evidence to work from and are more likely to simply not cite you.

Practical steps on this side:

  • Verify that your firm's listing is complete and accurate on every major legal directory (Avvo, Justia, FindLaw, Martindale).
  • Ensure your Google Business Profile uses the same practice area language you use on your site.
  • Identify publications in your city that cover local legal topics and consider contributing commentary or getting quoted � even a single trusted citation can meaningfully increase how often AI systems mention your firm in context.

There is no single switch. But firms that do both the on-page structure work and the off-page authority work tend to start seeing AI referral traffic within a quarter. Once that baseline appears in your custom GA4 report, you have data to optimize against rather than guessing.

Conclusion

Measuring AI search traffic in GA4 does not require a separate paid tool. It requires setting up a custom filter so that referral visits from platforms like ChatGPT, Perplexity, Claude, and Gemini are clearly visible in one dedicated report. Once those filters are in place, you have a real baseline and can start making informed decisions about where to invest your visibility work.

For more on AI search for Law Firms, browse our related content on the Law Firms AI SEO page.

Jenny Beasley

Jenny Beasley is Head of GEO at LovedByAI. With 7+ years as SEO Director at Salesforce and 3 years pioneering LLM optimization, she developed the GEO framework delivering a 200% median increase in AI citations within 60 days.

Frequently asked questions

Currently, traffic from ChatGPT typically shows up as referral traffic (specifically from chatgpt.com) rather than organic search, though this can sometimes be grouped into direct traffic if the user's browser blocks referrer data.

No. Unlike Google Search Console, which provides specific keyword query data, AI platforms do not pass the user's prompt or conversation history to your analytics due to privacy restrictions.

It is generally better to optimize your existing practice area pages so they answer client questions clearly. Creating standalone pages just to catch AI traffic rarely results in better visibility and creates unnecessary maintenance.

Ready to optimize your site for AI search?

Discover how AI engines see your website and get actionable recommendations to improve your visibility.

zero manual work. zero visible changes.

Get mentioned by ChatGPT