A prospective client asks ChatGPT, Perplexity or Microsoft Copilot about a contested will, clicks a source link in the answer and lands on your estate litigation page. Firm leadership wants to know whether visits like that become clients, so you need to track AI-generated leads for your law firm in Google Analytics 4 (GA4).
- For law firm leaders and legal marketers: See whether AI referrals produce inquiries, qualified leads and retained clients.
- Use GA4 to identify traffic from ChatGPT, Perplexity, Copilot and Gemini, then create custom tracking for tools GA4 misses.
- AI platforms generated just 0.32% of visits in one 2026 study, making accurate attribution and longer-term analysis essential.
- Connect GA4 with CRM and intake data to separate measurable referrals from brand awareness that appears as direct or organic traffic.
Why Law Firms Should Track AI Referral Traffic
AI assistants often include links to their sources. When a user clicks one of those links, they arrive on your website as referral traffic. However, your firm can appear in an AI-generated answer without anyone clicking a link and a site visitor can read your page without contacting your firm. Because of this, each stage of the user journey requires its own tracking approach.
AI referral traffic for attorneys likely starts small, as it does for most websites. SE Ranking's analysis of 101,574 websites found that AI platforms sent 0.32% of all visits in the first four months of 2026, while organic search sent 42.75%.
Being visible in AI answers does not prove business value on its own, so the useful measure is whether visitors from AI platforms engage with your pages and take an action such as sending a form or calling.
How to Track AI Referral Traffic in Google Analytics 4
Most legal marketing directors first ask how do I measure whether ChatGPT is sending traffic to my law firm's website? GA4 answers that in four steps.
- Open the Traffic acquisition report under Reports > Acquisition > Traffic acquisition. Its default channel grouping now includes a channel called AI Assistant for recognized AI tools such as ChatGPT, Gemini and Copilot.
- Switch the table's dimension to Session source with the drop-down arrow at its top left. Look for sources whose names include ChatGPT, Perplexity, Copilot or Gemini, then use + Add filter to include only those.
- Google does not publish every tool its AI Assistant channel recognizes, so build your own custom channel group under Admin > Data display > Channel groups. Add a channel named something like AI assistants with a condition that matches any session source containing the name of an AI tool, such as ChatGPT, OpenAI, Perplexity, Copilot, Gemini or Claude, and place it above Referral so GA4 does not count those visits as ordinary referrals. The group applies to past data too, although the list needs updating as AI tools change.
- For a one-off view, build a free form exploration under Explore showing session source and medium against sessions, engaged sessions and key events.
UTM parameters, the tags added to the end of a link, help with links your firm controls, such as newsletters, social posts and profile links. Tag each with the standard source, medium and campaign tags. However, you cannot set or control the tags on links an AI assistant writes. ChatGPT normally adds a tag naming itself as the source to many of its links, while other assistants may add none.
GA4 processes a visit as direct when it has no information about where the visitor came from. AI mobile apps and copied links often carry no referrer. In October 2026, many ChatGPT links arrived without that tag or a referrer, so GA4 counted many of those visits as direct traffic. Check Direct beside the AI sources and note the dates when tracking changed.
How to Measure AI-Generated Leads
Once you track AI-generated leads for your law firm at the visit level, the next question is which visits became inquiries. Count contact form submissions, consultation requests, appointment bookings, click-to-call taps, tracked phone inquiries and the qualified leads recorded in your CRM.
GA4's enhanced measurement can record a form submission as an event called form_submit, so check that it fires on a real form. Set up your own events for clicks on your phone number links and for visits to your booking confirmation page, then mark each important event as a key event under Admin > Data display > Events by clicking its star. Because a prospective client's form can include a name, a phone number and the facts of a legal problem, keep personal information out of Google Analytics. Have GA4 record only that the form was sent.
Consider a hypothetical quarterly comparison: your site receives 100 AI referral sessions resulting in 2 key events (a 2.0% conversion rate) and 5,000 organic search sessions resulting in 125 key events (a 2.5% conversion rate). Because sample sizes for AI traffic are currently small, a single additional conversion would raise the AI conversion rate to 3.0%. Therefore, you should evaluate AI traffic trends over several months to gather meaningful insights.
A study of 54 sites' GA4 data found no statistically significant difference between the conversion rates of AI and organic visitors, so measure your own rate rather than assume one.
While forms, phone calls and consultation requests can be tracked directly in GA4, identifying qualified leads and retained clients requires CRM and intake tracking. To connect online traffic to signed clients, add AI search tools (like ChatGPT) as an option on your intake forms and client questionnaires. Recording these responses in your CRM will show which AI-driven inquiries turn into paying clients.
How to Increase Referral Traffic From AI Platforms
With tracking in place, the next question is how do I increase referrals from AI platforms for my law firm? Start by publishing clear answers to the specific legal questions prospective clients ask. Each practice area page should name the jurisdictions you cover, the services you provide and your attorneys' relevant experience.
Ensure firm and attorney details are accurate and consistent across your website and external directories. Verify that your robots.txt file permits AI web crawlers such as OpenAI's OAI-SearchBot and Perplexity's PerplexityBot, to crawl your site. Ensuring your content is crawlable increases the chances that AI tools will cite and link to your firm.
Reporting AI Referral Traffic and Lead Generation to Firm Leadership
A monthly or quarterly report on AI lead generation for law firms should show each stage separately. Include these six measures:
- AI referral sessions: Total website visits attributed to recognized AI platforms in GA4
- Engaged sessions: Visits lasting longer than 10 seconds, triggering a key event, or including two or more pageviews
- Key events: High-value actions taken by visitors, such as submitting contact forms or clicking phone numbers
- Lead conversion rate: The share of AI referral sessions that end in a defined lead action
- Qualified leads: Inquiries that meet the firm's intake criteria in the CRM
- Retained clients: New engagements tied to AI referrals where attribution is available
Compare AI referrals with organic search and other referrals, quarter over quarter. If a managing partner asks why numbers this small matter, point to the trend and how many leads qualified.
Be sure to outline tracking limitations in your reports, as some AI-driven brand awareness does not register as direct AI referral traffic. For instance, a user who reads about your firm in a ChatGPT response and subsequently searches for your name will be logged as organic search traffic. Similarly, direct phone calls prompted by AI recommendations are only captured through call tracking or intake notes. Consequently, GA4 referral numbers represent a baseline estimate of total AI impact rather than a complete picture.
Frequently Asked Questions
How can I tell if ChatGPT is sending traffic to my law firm's website?
Look for ChatGPT's own domain as a session source in the Traffic acquisition report and check Direct for the same dates, because ChatGPT visits that arrive with no tag and no referrer land there.
Does Google Analytics 4 automatically identify AI referral traffic?
GA4 automatically categorizes traffic from several major AI tools under its default AI Assistant channel. However, traffic from features like Google AI Overviews is grouped under Organic Search and visits lacking referrer tags are categorized as Direct traffic.
Can I track clients who found my law firm through ChatGPT?
You can track some of them. GA4 records the visit and any tracked form or phone click that followed. Your CRM shows whether the person became a client, as long as you record each inquiry's source there.
How can I increase AI-generated leads for my law firm?
On the pages that already draw AI referral visits, add a clear next step, such as a consultation form or tracked phone link, then watch whether inquiries rise.
Tracking AI Lead Generation for Law Firms Over Time
Track your metrics continuously from initial AI referral visits to signed cases, using data to optimize high-performing landing pages. Maintaining accurate, verified attorney profiles across external platforms strengthens your firm's online presence, providing reliable information that both prospective clients and AI search tools rely on.
You can set up and update your Best Lawyers profile so it reflects your current practice. An up-to-date profile still does not guarantee that an AI tool will cite or link to your firm.