What you’ll get from this guide
- Visitors who click a link in ChatGPT, Perplexity, Gemini, Copilot or Claude usually arrive with that assistant's address as the referrer, and some links also carry a tag such as utm_source=chatgpt.com.
- Record the source with each lead, not only in your analytics: the channel, the referring site and the landing page, for both their first visit and the visit when they contacted you.
- Expect gaps. Visits from many apps arrive with no referrer and look "direct", so tag every link you control.
- Keep it private: store the referring hostname only, never the full referring URL, and no ad click ID values.
"Where did this lead come from?" used to have a handful of answers: Google, an ad, a referral, social media, or "they typed in our address." A newer answer now shows up in service businesses' inboxes: "ChatGPT recommended you." People ask AI assistants for a lawyer, an accountant, an agency or a contractor, and some of them click through to the websites named in the answer.
Most websites can't see this clearly. Analytics tools lump these visits into referrals or direct traffic, and lead forms rarely record the source at all. This guide explains how AI assistant traffic shows up, how to sort every lead into a clear channel, why you should record both the first visit and the last one, and how to do it without tracking individuals.
How AI Assistant Visits Show Up
- Referrer: when a visitor clicks a link in an assistant running in a browser, the browser usually passes the assistant's address, such as chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com or claude.ai.
- Link tags: some assistants add a tag to the links they show, for example utm_source=chatgpt.com. When it's there, it's the clearest signal you'll get.
- No signal at all: desktop and mobile apps, privacy settings and copied links often send no referrer. Those visits look like direct traffic, even when an assistant sent them.
- Read, not clicked: some people see your name in an answer and search for you later. That visit shows up as search or direct. The only way to know is to ask, for example with an optional "How did you hear about us?" question.
Treat your AI assistant count as a floor, not a total. The real number is usually higher than what you can measure.
The Eight Lead Channels and What Gives Each Away
| Channel | What gives it away | Example |
|---|---|---|
| Search | A search engine as the referrer, with no ad markers | google.com, bing.com, duckduckgo.com |
| Search ad | An ad click marker in the landing URL, or a paid utm_medium | gclid or msclkid present; utm_medium=cpc |
| Social ad | A paid social utm_medium | utm_medium=paid_social |
| AI assistant | An assistant as the referrer or the utm_source | chatgpt.com, perplexity.ai, utm_source=chatgpt.com |
| Social | A social site as the referrer, or a social click marker | facebook.com, linkedin.com, instagram.com, youtube.com |
| A webmail referrer or an email utm_medium | mail.google.com, utm_medium=newsletter | |
| Another website | Any other site as the referrer | A partner's blog, a directory listing |
| Direct | No referrer and no tags | A typed address, a bookmark, many apps |
When the Signals Disagree
A single visit can carry more than one clue. Use a fixed order so the same visit is always sorted the same way. Ad markers and campaign tags win over the referrer, because they were set on purpose. AI assistants win over search, because some assistants run on a search company's domain (gemini.google.com is an assistant, not a Google search). After that, the referrer decides, and a visit with nothing left is direct.
How to Record the Source on Every Lead
Tag the links you control
Add utm_source, utm_medium and utm_campaign to links in newsletters, ads, social bios and partner pages. That turns many "direct" visits into named channels.
Capture the source on the first page of each visit
When a visit starts, note the referring site, any tags and ad markers, and the landing page. Later pages in the same visit don't change the source.
Keep the first visit too
Store the first visit's source on the visitor's own device and send it with the lead when they contact you. Many buyers find you one way and come back another.
Attach it to the lead, not only to analytics
Save the channel, referring site and landing page with the form or booking itself, so whoever follows up sees it next to the answers.
Store only what you need
Keep the referring hostname (chatgpt.com), not the full referring URL, and record that an ad click marker was present, not its value.
Review leads by channel each month
Count leads and booked calls by channel, not only visits. A channel with few visits and several good leads deserves more attention than its traffic suggests.
First Visit vs. the Visit That Converted
A visitor might first find you through an AI assistant's answer, leave, and come back a week later by typing your address or clicking a newsletter. If you only record the last visit, the assistant gets no credit. If you only record the first, you miss what finally made them act.
Record both. The first visit tells you what introduced you; the converting visit tells you what brought them back. When the two differ, that's useful on its own: it shows which channels start conversations and which ones finish them.
Do It Without Tracking People
- Keep the first-visit details in the visitor's own browser, and send them to your server only if they become a lead.
- Store the referring hostname only. Full referring URLs can contain search terms or personal details.
- Note that an ad click marker was present instead of storing the click ID itself.
- Don't try to identify anonymous visitors from their IP address.
- Say in your privacy policy that you record how visitors found your site when they contact you.
Privacy rules differ by state and country. This is general guidance, not legal advice.
If AI Assistants Send You Leads, Make Your Site Easy to Quote
Assistants tend to repeat what websites say clearly. You can't control what they recommend, but you can make the facts about your business easy to find and hard to get wrong:
- State your services, the customers you serve and your service area in plain sentences on your main pages.
- Answer the questions buyers ask before they call, such as how you price, how long the work takes and what's included, on a FAQ or service page.
- Keep the same facts consistent across your site, your directory listings and your profiles.
- Make the next step obvious on every page a visitor might land on from an answer.
How LeadDuo Engage Records the Source on Every Lead
LeadDuo Engage records where each lead came from automatically. Its script keeps the first visit and the current visit in the visitor's browser, with the referring hostname, landing page, campaign tags and whether an ad click marker was present, and sends them only when the visitor becomes a lead. Each visit is then sorted into search, search ad, social ad, AI assistant, social, email, another website or direct, using the order above.
You see the source next to the lead's answers, and it feeds the "came from" line in the lead's meeting-ready brief, so you know before the call whether they asked ChatGPT, searched Google or clicked your newsletter. Engage doesn't identify anonymous visitors and doesn't store full referring URLs or click IDs. To put it to work, read how to prepare for a sales call with a website lead.
FAQ: Tracking Leads From AI Assistants
Can I see if a lead came from ChatGPT?▼
Why does AI assistant traffic show up as direct?▼
What's the difference between first-touch and last-touch attribution?▼
Do I still need UTM tags if I have analytics?▼
Is it legal to record where a lead came from?▼
Which AI assistants send website traffic?▼
See where every website lead came from
LeadDuo Engage records the channel, first visit and landing page on every lead, AI assistants included, and shows it in a cited brief before you call.
Keep Reading
Use the source on the call with how to prepare for a sales call with a website lead.
Learn the basics of tagging ads and campaigns in track campaign source per lead.
See how Engage helps you turn website visitors into leads.
