Tracking AI Referral Traffic in HubSpot: ChatGPT, Perplexity and Gemini
How HubSpot's AI Referrals source works, where to see ChatGPT, Perplexity and Gemini visits and contacts, what it misses, and how to cross-check it in GA4.
What an llms.txt file is, what 2026 data says about who reads it, and how a SaaS team creates, hosts and checks one on Webflow, WordPress or HubSpot.

Short answer: llms.txt is a markdown file at yoursite.com/llms.txt that tells AI agents what your site is and which pages matter. Google says Search ignores it, no major AI assistant has said it reads it, and a 2026 Ahrefs study of 137,210 sites found that 97% of the files got no traffic at all in a month. For a SaaS company with API docs, it's worth an hour, because coding agents do use documentation files. For a marketing site, it's a cheap file to publish, not a growth lever.
llms.txt went from a proposal to a setting in Yoast, Webflow and the major docs platforms in under two years. Somewhere along the way it picked up a reputation as "robots.txt for AI" and "the new SEO file". Neither is accurate, and SaaS teams end up either ignoring it or spending a sprint on it.
This guide covers what the file is under the current version of the spec, what the 2026 data says about who reads it, when it's worth the time for a SaaS company, and how to create, host and check one on the platforms SaaS marketing sites usually run on.
llms.txt is a proposal by Jeremy Howard of Answer.AI, published on September 3, 2024 [1][2]. The idea is simple: a website is built for people and browsers, with navigation, scripts and layout around the text. A language model working with a limited context window does better with a short, plain index that says "this is what we are, and these are the pages worth reading."
The spec at llmstxt.org was revised on August 10, 2026, and the current version (v2) relaxed several rules that older guides still repeat [1]:
# Your product name. A blockquote summary right under it is recommended but optional./llms.txt is still the usual place, but /docs/llms.txt is valid too. When more than one file applies, the spec tells agents to use the most specific one. HubSpot does exactly this: www.hubspot.com/llms.txt for the main site and developers.hubspot.com/docs/llms.txt for its developer docs [8][11]..md added, and v2 suggests pointing to them with a rel="alternate" type="text/markdown" link.The spec is also clear about the purpose. It says the file "would mainly be useful for inference rather than training" [1]: it's for an agent reading your site while it answers someone, not for getting into the next model's training data.
One thing the spec doesn't define is llms-full.txt, the single file with the full text of every page. That's a convention docs platforms such as GitBook and Mintlify adopted [9][10]. It's useful for developer docs and rarely worth it for a marketing site.
The three get mixed up because they all sit at the root and all talk to bots. They do different jobs.
| File | Who it's for | What it does | Does it control access? |
|---|---|---|---|
| robots.txt | Crawlers (Googlebot, GPTBot, OAI-SearchBot, PerplexityBot and others) | Says which paths each crawler may fetch | Yes, for crawlers that follow it |
| sitemap.xml | Search engines | Lists every URL you want discovered, with dates | No |
| llms.txt | AI agents and assistants | Summarizes the site and points to the pages that matter | No |
The spec says it directly: "robots.txt and llms.txt have different purposes" [1]. llms.txt can't block anything. If your robots.txt disallows OAI-SearchBot, ChatGPT search won't show your pages, according to OpenAI's crawler documentation [14], and no llms.txt file changes that. So the order of work for a SaaS team is robots.txt first, llms.txt second.
Google's guidance is unusually direct. Its page on optimizing for generative AI features says site owners don't need "new machine readable files, AI text files, markup, or Markdown" to appear in Google Search, and that adding them will "neither harm nor help" visibility or rankings, because Google Search ignores them [3]. Google added this clarification to its Search Central changelog on June 15, 2026 [4]. AI Overviews and AI Mode are part of Search, so the same applies to them.
There is one Google product that does look for the file. Chrome's Lighthouse has an llms.txt audit in its Agentic Browsing category. If the file is missing, the audit is marked not applicable rather than failed, "as providing the file is optional at the moment" [5].
OpenAI, Anthropic and Perplexity all publish documentation about their crawlers, and none of them says the crawlers read llms.txt on other people's sites [14][15][16]. All three publish an llms.txt for their own developer docs, which is easy to misread as an endorsement. It means their docs are built for coding agents, not that ChatGPT, Claude or Perplexity look for your file when they answer a buyer's question.
Two large studies in 2026 looked at the question from different angles.
Ahrefs analyzed 137,210 domains with traffic in May 2026, using its own bot analytics [6]. About 28% of them published a valid llms.txt, and Ahrefs notes that its sample leans technical, so that share is an upper bound. Of the files it found, 97% received no traffic at all in May 2026. Among the requests that did happen, AI bots made 19.5% and SEO audit tools made 21.7%. GPTBot alone accounted for about 4.5%.
SE Ranking looked at about 300,000 domains and tested whether having an llms.txt helped predict how often AI answers cited a domain [7]. Only 10.13% of the domains had the file. When SE Ranking removed the llms.txt variable from its model, the model's accuracy went up, which is a polite way of saying the file explained nothing.
Neither study proves the file is useless for every site. They do show that it isn't a visibility lever for the average marketing site in 2026.
The audience that uses llms.txt today is developers working with coding assistants. When someone asks an AI coding agent to "add Stripe checkout" or "call the HubSpot API", the agent can fetch the vendor's docs index instead of guessing. That's why the companies with large developer audiences publish one. We checked these files on November 23, 2026, and all of them were live [11]:
Docs platforms made this the default. Mintlify hosts an llms.txt for every docs site automatically [10], and GitBook has generated one for every published site since January 2025 [9].
It depends on what your site is for.
If you do publish one, the real work is the descriptions. An llms.txt is a short list of your pages in your own words. That's useful copy to have anyway: if you can't describe your pricing page in one plain sentence, an AI assistant won't do it well either.
A good SaaS file is short. List the pages that answer the questions buyers and developers actually ask, in the order they ask them.
# Acme Sync
> Acme Sync keeps HubSpot and your billing system in sync: deals, invoices and subscription status, both ways, every five minutes.
Acme Sync is built for B2B SaaS companies on HubSpot Sales Hub Professional or Enterprise. It works with Stripe, Chargebee and Recurly.
## Product
- [How Acme Sync works](https://acmesync.example/product): what syncs, in which direction and how often
- [Pricing](https://acmesync.example/pricing): plans, record limits and what each plan includes
- [Integrations](https://acmesync.example/integrations): supported billing systems and CRM objects
- [Security](https://acmesync.example/security): SOC 2 report, data residency, permissions
## Comparisons
- [Acme Sync vs native HubSpot payments](https://acmesync.example/vs/hubspot-payments): when each fits
## Docs
- [Setup guide](https://acmesync.example/docs/setup): connect HubSpot and Stripe in 15 minutes
- [API reference](https://acmesync.example/docs/api): endpoints, auth and rate limits
## Optional
- [Blog](https://acmesync.example/blog): RevOps guides and product updates
- [Terms](https://acmesync.example/terms)A few rules make the difference between a useful file and noise:
Start from the questions buyers ask before they book a demo: what the product does, who it's for, what it costs, what it integrates with, how it compares, how secure it is. Map each question to one page. Then add your docs entry points if you have them.
You can write the file by hand in any text editor. If your site has a sitemap and decent meta descriptions, it's faster to start from a draft: a free tool like AskWatch's llms.txt generator reads your sitemap and pages and writes a first version from your own titles and descriptions. Either way, edit the result. Reorder sections so the most important pages come first, rewrite vague descriptions and move anything secondary to Optional.
Where the file goes depends on what your marketing site runs on.
/llms.txt [12]. It doesn't generate the file for you, so upload a new version when your key pages change./llms.txt [17]. If you go that way, check the final URL returns the file as plain text, not an HTML page.A broken llms.txt is worse than none, because it tells an agent your key pages don't exist. Check four things:
yoursite.com/llms.txt returns 200 and plain text or markdown, not your 404 page wrapped in HTML.You can do this by hand with a browser and curl, or validate the file against the spec with a free checker that also tests the links and your robots.txt rules.
Add a line to your launch checklist: new pricing page, new integration, new comparison page, update llms.txt. A file that lists last year's plans is the kind of outdated source you're trying to keep away from AI answers.
/llms.txt. Check the raw response.Not in Google. Google says Search ignores llms.txt and similar AI text files, and that adding one neither helps nor harms rankings, including in AI Overviews and AI Mode [3]. No other search engine or AI assistant has published a statement that it uses the file as a signal.
OpenAI hasn't said so. Its crawler documentation describes OAI-SearchBot, GPTBot and ChatGPT-User without mentioning llms.txt [14]. In Ahrefs' 2026 data, GPTBot made about 4.5% of all requests to llms.txt files, which shows the bot sometimes fetches the file, not that ChatGPT uses it in answers [6].
Only if you have developer documentation that agents load in full. It isn't part of the llmstxt.org spec [1]. It's a convention from docs platforms, and for a marketing site a short llms.txt is enough.
At the root, /llms.txt, for your main site. Under the 2026 version of the spec you can also put one in a subpath like /docs/llms.txt, and agents should prefer the most specific file that covers a URL [1].
Whenever a page it lists changes its URL or its meaning: new pricing, a new plan, a renamed product. A quarterly check is a sensible minimum for a SaaS site.
No. robots.txt controls which crawlers can fetch which paths. llms.txt describes your site and can't allow or block anything [1].