virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
blog / 2026-11-21

Do your docs bring paying customers? How to find out

By Devendra Variya, co-founder of Virling. Published 2026-11-21, updated 2026-11-30.

Docs bring paying customers when readers who arrive on a docs page, or open the docs while deciding, become buyers. Page views and time on page cannot show that. Each payment has to be joined to the visit before it, and that visit has to keep every page it touched, docs included.

This guide is for developer-tool and B2B SaaS founders who write docs and want to know whether they earn their keep. Developers often meet a tool through its docs before they ever see the homepage: a search for how to do something lands on an integration guide or an error page. So the questions are whether docs pages find customers, and whether customers read the docs before they pay or only after.

What you need first

Connect your payment provider and pass the visitor ID into checkout, so a payment can be tied back to a visit. Link checkout to visits covers each provider.

Where your docs live matters

Virling keeps every page of a visit, and by default credits a payment to the latest earlier session that did not come in as Direct, so a reader who later returns by typing your address is not lost to Direct. Whether docs pages count as part of that visit depends on where they are hosted. See the attribution model.

Docs on a path

Docs at example.com/docs are ordinary pages of the site. Add the same script tag to the docs template and they show up next to every other page, with nothing else to set.

Docs on a subdomain

With data-site="example.com", pages on docs.example.com and app.example.com count for the same site and share the virling_vid cookie, which is set on your registrable domain. Links between them are not exits, and referrers from your own domain and its subdomains are ignored, so moving from the homepage to the docs never changes the channel the visit came from.

Docs on a separate domain

Events are kept only when the page’s host is the site’s domain or one of its subdomains. Docs on another domain, such as example.dev, do not show up on the site’s Pages card. Add that domain under Same-visit domains in Site settings: clicks to it are no longer counted as exits, and a return from it continues the visit instead of starting a new one, so the channel that brought the reader keeps the credit. What you will not see is which docs pages were read. If that matters to you, serving the docs on a subdomain is the fix. See Add the script.

Buyers who land on the docs first

On the dashboard’s Pages card, the Landing page tab shows each docs page that started a credited visit, with its visitors, revenue and a chip against your site average. A docs page with paying visitors here found customers on its own, usually through organic search or an AI assistant answering a “how do I” question.

Rank docs pages by revenue per visitor rather than traffic. A popular reference page with a red chip is loud but does not pay; a small integration guide with a green chip deserves the next hour of writing. Pages with only a few dozen visitors need a longer date range before their chip means much.

To see where those developers came from before the docs, click a docs row to filter the page by it, then open the Source tab on the Channels card. For how GitHub, package registries and communities send developers, see revenue attribution for developer tools.

Before buying or after?

A docs page read before the payment helped someone decide. One read only after it is onboarding, which matters for keeping customers but did not win them. Virling can tell the two apart.

1. Last page before paying

The Before paying tab on the Pages card shows the page each buyer viewed right before the payment. A quickstart or a pricing-limits page that keeps appearing here is doing closing work, even when the visit landed somewhere else.

2. One customer at a time

Open the Visitors page, search pages for your docs path, and use Filters to keep visitors who paid. Open one to see the timeline: every visit with the time on each page, and the payment placed where it happened. Docs visits above the payment were read while deciding; docs visits below it came after. The Recent customers card shows your last 10 customers with their visits before paying and a short path.

3. Buyers against everyone else

Run the same Visitors search with the filter set to visitors who did not pay, and compare. The Reading card adds depth: for each page, how long it stays visible and how far it is scrolled, for every visitor or only for buyers. If buyers read your quickstart to the end and others leave at the top, the end of the quickstart is doing the work.

A worked example: four docs pages over 90 days

Example data, made up to show the method. An imaginary developer tool with docs on docs.example.com charges $32 a month or $320 a year. The table puts four of its docs pages side by side. The first three columns come from the Landing page tab with the model set to first touch, so each customer is credited to the page their first visit landed on. The last two come from the Before paying tab: customers who viewed that page right before paying, wherever their visit started. Revenue is the first payment of each new paying customer.

Docs pageVisitors who landed herePaid customers, landed here firstRevenue, landed here firstPaid customers, last page before payingRevenue, last page before paying
Quickstart6403$9614$1,024
API reference7,8502$641$32
Pricing FAQ3104$7049$1,728
Migration guide1,1409$1,4403$96
All four9,94018$2,30427$2,880

The two halves of the table count different things, so a customer can appear in both: someone who landed on the migration guide and paid right after the pricing FAQ is in each. The migration guide finds the most buyers: 9 customers and $1,440, four of them on the yearly plan, because a developer moving off an old setup already has the problem the product solves. The API reference brings almost eight in ten of the visitors and 2 monthly customers; its readers mostly use the product already, so do not judge it by new revenue. The quickstart and the pricing FAQ close: between them they are the last page before paying for 23 of the 27 customers, and five of the pricing FAQ’s nine chose the yearly plan.

What to change: write the next migration guide your users ask for and link the signup from it, and link the quickstart and pricing FAQ from the pricing page and the homepage. To check how a given docs link is credited before you trust a row, paste its landing URL and referrer into the traffic source checker.

Do not read the last two columns as proof that the quickstart causes payment. People who are about to buy open the quickstart because they are about to buy. Treat it as a reason to make those pages easy to find, and compare the next 90 days against these.

Common docs tracking problems

  • No docs pages show up at all. Check that the docs run the script with the same data-site, and that they are on the site’s domain or a subdomain.
  • Visits break in two at the docs. The docs are on a separate domain that is not listed under Same-visit domains, so a return from them starts a new visit.
  • A guide that found a customer gets no credit. The default model credits the latest non-Direct visit, which can come after the docs visit. First touch, set in Site settings, credits the earliest session instead; see first touch or last touch.

For the same method applied to the blog, see which blog posts bring paying customers. For docs as part of a wider content budget, see content marketing ROI.

Ready to check your own docs? Start a free trial and add the script to your site and docs.

Frequently asked questions

Do docs bring paying customers?

Sometimes, and you can check. Docs pages that start visits ending in a payment are bringing customers; put them next to the rest of the site by revenue per visitor to see how much.

How do I see if people who read the docs went on to pay?

Open the Visitors page, search pages for your docs path, and filter to visitors who paid. Open a visitor to see every visit, the time on each page, and the payment where it happened. The Before paying tab on the Pages card shows whether a docs page was the last page viewed before paying.

Can I tell if customers read the docs before or after they paid?

Yes. A paying visitor's timeline places the payment among their visits, so docs pages above it were read before buying and docs pages below it after. Docs read only after paying are onboarding, not the reason for the sale.

Are visits to docs.example.com part of the same visit?

Yes. With data-site set to example.com, pages on docs.example.com count for the same site and share the visitor ID cookie. Referrers from your own domain and its subdomains are ignored, so reading the docs never changes the channel the visit came from.

What if my docs are on a separate domain?

Events are kept only for the site's domain and its subdomains, so docs pages on another domain, such as example.dev, do not appear on the site's Pages card. Add that domain under Same-visit domains in Site settings so clicks to it are not exits and a return from it continues the visit. To measure docs pages themselves, serve them on a subdomain.

Should I cut docs that bring no revenue?

No. Docs also keep paying customers and save support time, which revenue attribution does not measure. Use the result to decide which docs pages to link to the product and pricing more clearly, not which ones to delete.

See whether your docs bring paying customers

Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.

Start free trial See the demo