Skip to content
By business

Analytics for open-source projects

2 min read · Updated · By the Reveata team

Short answerAn open-source project wants to know where users find it, which docs they read and how many download it, usually without tracking people more than necessary. Reveata counts visits, downloads and docs reading on your project site, can run without cookies, and for open-core projects links the paid or hosted offer to the traffic that found it.

Open-source maintainers often avoid analytics because the usual tools collect more than a community expects. Yet a few numbers help a lot: which docs pages are read, which install guides fail people, where new users hear about the project, and whether the paid tier gets any traffic at all.

Questions maintainers ask

  • Where do new users find the project: GitHub, search, Hacker News, AI assistants, a conference talk?
  • Which docs pages are read most, and which are abandoned halfway?
  • How many people download a release, and which platform do they pick?
  • Do visitors to the docs ever look at the hosted or paid offer?
  • Can we publish our numbers openly?

Reports that answer them

  • Sources and channels. GitHub, Hacker News and Product Hunt are recognised and classed as organic social; ChatGPT, Claude and Perplexity as AI assistants. Short ?ref= tags on talk slides and READMEs give each its own row.
  • Pages with engagement. Without setup, each page shows average time on page and how far visits scrolled (25%, 50%, 75% and the bottom). See custom goals.
  • Downloads. The extras script's data-downloads sends file_download with the file's address when someone clicks a link to a zip, dmg, exe or other common file type, on your site or elsewhere.
  • Broken links. data-track-404 lists pages answered with 404, with the page that linked to them; useful after a docs restructure.
  • Exit links. Clicks out to your GitHub repository, package registry or chat server.
  • A public dashboard. A share link can show your numbers to anyone, with goals on or off.

A sensible setup

  1. Install the script on the project site and docs. Docusaurus, Astro and other generators have guides.
  2. Decide on cookies. Cookieless mode stores nothing in the browser; a visitor then lasts one day, which is enough for page and source reports.
  3. Add the extras script with data-downloads and data-track-404.
  4. Add data-reveata-goal="copy_install" to the copy button of your install command.
  5. If you have a paid or hosted tier, connect its payment provider and build the docs to signup funnel.

What to look at each week

  • Top sources for new visitors, and which READMEs, talks or posts sent them.
  • Docs pages with high traffic but low scroll depth: often the ones that need a rewrite.
  • Downloads by file, after each release.
  • The broken links list after you move pages.

Honest limits

  • Reveata does not see GitHub stars, clones, package registry downloads or usage of the software itself. It measures your website.
  • Sponsorship platforms are not connected. If you can receive their payment notifications on a server, the Payments API can record them.
  • In cookieless mode, returning visitors across days cannot be told apart, and payments need identify to be linked.
  • Developers often block analytics scripts. The managed proxy serves the script from your own subdomain so fewer visits are missed.

Frequently asked questions

Does Reveata store IP addresses?

The IP address is used to work out the location and is not stored. Read privacy and cookies for what is kept.

Can contributors see the analytics?

Yes. Invite them as viewers. Revenue stays hidden from viewers unless an admin allows it. See team and roles.

Can AI crawlers reading our docs be counted?

They are recorded as bot hits, apart from visitors, in the bot traffic report.

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?
TemplateDocs-to-signup funnel templateA 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.Use caseAnalytics for agenciesAn agency needs one place to track every client's website, show each client their own numbers, and prove which campaigns brought revenue. In Reveata each client is a website with its own team, share links, alerts and payment connections, and websites can be handed over to the client later with their history.Use caseAnalytics for AI appsAn AI app gets found in new places, including the answers of ChatGPT, Claude and Perplexity, and often charges through subscriptions or credit packs. Reveata recognises AI assistant visits as their own channel, credits subscriptions and one-off purchases to the visits that led to them, and keeps AI crawlers out of your visitor counts.Use caseAnalytics for B2B lead generationIn B2B, the website's job is to produce qualified leads, and the sale often closes weeks later in a call or a contract. Reveata counts demo requests and forms as goals by channel and campaign, keeps each lead's visit history, and can credit the closed deal to those visits when you send it with the lead's email.Use caseAnalytics for coaches and consultantsCoaches and consultants usually sell through a conversation, so the website's job is to start one. Reveata counts booked calls, contact forms and email clicks as goals by source, and can credit paid packages and invoices to the visits that led to them, through a payment provider or the Payments API.Use caseAnalytics for course creatorsCourse creators need to know which content and channels bring students who actually enrol and pay. Reveata counts the steps from sales page to checkout, brings in sales from Stripe, Polar or Dodo Payments, Kajabi or Podia, and credits each one to the visit that brought the buyer, matched by visitor id or by email.