Measuring for WordPress websites
How can I tell which WordPress form submissions came from AI assistants?
The short answer
Capture the visit's source with each submission and ask the person directly. Most WordPress form plugins can fill hidden fields with the referrer, landing page and UTM tags, which shows submissions from visits that ChatGPT or other assistants tagged, and a "How did you hear about us?" field catches people whose visit lost its source.
Why analytics alone isn't enough
Google Analytics can show that visits from chatgpt.com led to form submissions, but it doesn't tell you which lead in your inbox came from where. For a business that wins work through inquiries, that is the question that matters: did that new client come from ChatGPT?
Some AI visits also arrive without any source information and are counted as direct. See why ChatGPT traffic shows as direct on WordPress.
Capturing the source with each submission
Most popular WordPress form plugins support hidden fields that can be filled automatically. Common approaches:
- UTM parameters. At the time of writing, ChatGPT adds utm_source=chatgpt.com to many links it shows. A hidden field set to capture utm_source records it. Some other assistants add their own tags.
- Referrer. A hidden field that stores the referring site catches visits from chatgpt.com, perplexity.ai and others that pass a referrer.
- Landing page. Recording the first page the visitor saw shows what they were looking at.
The catch is that these values often live only on the first page of a visit. If someone lands on a service page and then fills in the form on your contact page, the original source can be lost. A small script, or a plugin that stores the first-visit source in a cookie and fills the hidden fields from it, solves this.
Asking people directly
Add a "How did you hear about us?" field with options that include AI assistants, such as "ChatGPT or another AI tool", alongside search, referral, social and others. Make it optional and keep it short. People's answers aren't perfect, but they catch the cases tracking misses, such as someone who heard about you in ChatGPT and then searched your name on Google. See asking customers how they found you.
Making the data useful
Send the source fields into your email notifications or your CRM, so each lead carries its source. Review them monthly alongside sales: which leads became paying clients, and from where. Over time, that is a more useful measure than AI referral sessions alone.
Keep expectations realistic. AI referrals are often a small share of leads today, and many people who first meet you in an AI answer will arrive by another route. For more, see how to track leads from ChatGPT and why AI referral traffic is small.