Skip to content
SaaS

Docs-to-signup funnel template

2 min read · Updated · By the Reveata team

Short answerA docs-to-signup funnel measures how many people who arrive on your documentation go on to copy code, create an account, make their first API key or request, and pay. It treats the docs as a product page, which they often are for developer tools.

For developer tools, many people never see the home page. They search for an error or a how-to, land on a docs page, and decide from there. If the docs are on a subdomain such as docs.example.com, they belong to the same Reveata website as your main domain, so one funnel can cover both. See track subdomains.

The steps

# Step type Value
1 Page visit Starts with /docs (or host docs.example.com)
2 Goal docs:copy_code completes
3 Goal signup completes
4 Goal api_key:created completes
5 Goal billing:paid completes

For a docs subdomain, use a page step with the match Starts with / and set the optional hostname to docs.example.com, so only that host counts.

Send the goals

Copy buttons on code blocks are a strong signal that someone is trying the product. Add the attribute to the button your docs theme renders, or send it from the copy handler:

js
copyButton.addEventListener('click', () => {
  reveata('goal', 'docs:copy_code', { page: location.pathname });
});

Send api_key:created from your app when the first key is made, and signup after the account is created. billing:paid is a built-in subscription goal from your payment provider.

If the docs site cannot run your own JavaScript, use a Page visit, no code goal on your quick-start page instead of the copy goal.

Optional: was the page read?

Scroll depth and time on page are recorded on every page without setup. Open Pages → Page → Details to see how far people got down your quick-start. For one important section, add a scroll goal:

html
<section data-reveata-scroll="docs:saw_install">…</section>

Numbers to watch

  • Docs to code copy: whether readers try the code at all.
  • Code copy to sign-up: whether trying it leads to an account. A large gap may mean the code works without an account, which can be fine.
  • Sign-up to first key: the first real use of the product.
  • Top sources on step 1: which searches, communities or AI assistants send docs readers.

Questions to investigate

  • Entry docs pages: which docs pages start the visits that end in a sign-up? Filter by Goal is signup and look at the Entry page tab.
  • Copy without sign-up: are people using an open-source part of the product without needing an account? That may be a different success measure.
  • Sign-up without a key: is creating a key hard to find after sign-up?
  • AI assistants: visits from ChatGPT, Claude or Perplexity often land on docs. See Visitors from ChatGPT, Claude and Perplexity.

Frequently asked questions

My docs are on a different root domain. Can one funnel still cover them?

Yes, with cross-domain tracking: add the docs domain under additional domains and list it in data-domains, so the visitor is carried across on link clicks.

Should I count copies of every code block?

You can, with one goal and a page property. That keeps one row in the goals report and still lets you see which pages are copied from most.

What if most developers never pay?

End the funnel at api_key:created or another usage goal, and read revenue from the step value of each step instead.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
TemplateSaaS sign-up goals to trackTrack one goal for each way people commit to your product, such as signup, start_trial and request_demo, plus a few intent goals like view_pricing. Send them when the action succeeds, call identify at sign-up, and read them next to the channels and pages that led to them.TemplateFeature adoption goals for SaaSSend one namespaced goal each time someone first uses a key feature, such as feature:export or feature:invite_teammate. Then filter by those goals to compare the people who adopted a feature with those who did not, by plan, upgrades and cancellations.TemplateApp install funnel templateAn app install funnel starts on your website and continues inside your mobile app, so you can see how many visitors who tap your app link go on to open the app, sign up and pay. Reveata links the two through identify or a link that carries the website visitor's token.TemplateCancellation and churn goalsUse the built-in billing:cancel_scheduled and billing:ended goals, which Reveata writes from your payment provider, together with a few goals you send yourself, such as cancel_flow:started and a cancel reason. Together they show who leaves, where they came from and what they did before.TemplateFree plan activation funnel templateA free plan activation funnel tracks people from creating a free account to the first action that shows the product working for them, and then to a paid upgrade. You define "activated" as one goal you send from your app, then line it up between sign-up and the built-in Paid goal.TemplatePlan upgrade funnel templateA plan upgrade funnel follows paying customers from the place they see a reason to upgrade, such as a limit message or the billing page, to the moment their subscription's monthly value goes up. Reveata records that last step for you as the billing:upgraded goal.