Skip to content
RyvrAnalyticsPublic

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

1 star

Watchers

0 watching

Forks

RYVR

beta

Privacy-first web analytics for people who run more than one site.

Status: beta · Self-hosting · Tracking · API and MCP · Embedding · Contributing

Warning

RYVR is beta software. Expect breaking changes to the database schema, the API and the tracker between releases, and missing features. It is not yet recommended for production-critical use. Keep backups and read the commit log before you upgrade.


All sites: visitors across four sites over 30 days as a stacked chart, a What changed list, and a table of every site with sparklines, visitors, change, pageviews, bounce rate and duration

What is RYVR?

RYVR counts visits without cookies, filters out bots, AI agents and monitoring probes, and puts all of your sites side by side. Invite your team, let AI assistants read the numbers over MCP, and show charts inside your own product.

It is one Go program with the dashboard built in. ClickHouse stores the events and SQLite stores everything else, so you host it with two containers. The tracker is one small script tag. RYVR does not build visitor profiles, follow people across sites or days, or store IP addresses.

A clean dashboard per site

Visitors, visits and pageviews against the previous period, what changed, where each channel lands, and pages, sources and audience in one view. Click any row to filter the whole dashboard by it.

How tracking works

Site dashboard with headline numbers, a trend chart against the previous period, what changed, and where each channel lands
Right now: visitors in the last five minutes, pageviews per minute for the last half hour, pages being read, where visitors arrive from and where they are

Right now

Who is on the site in the last five minutes, which pages they are reading, where they came from and where they are. It refreshes on its own every few seconds.

Traffic you can trust

Crawlers, AI agents, headless browsers, uptime checks and your own exclusion rules (IP ranges, user agents, paths, hostnames, referrers, countries) never reach your numbers, and the dashboard shows how much was filtered.

Privacy and exclusions

Site settings showing exclusion rules for a path, a hostname and a referrer, plus rules for every site that match an IP range and a user agent
API and MCP settings with a workspace key and a personal key, and the form to create a key with permissions, sites and expiry

API and MCP

A read-only REST API and an MCP server, both scoped by keys that never see more than their owner. Point an AI assistant at /mcp and ask what changed this week.

REST API and MCP tools

Features

Every site at once

  • Visitors, pageviews, bounce rate and duration for all sites
  • Stacked trend and sparklines per site
  • What changed: sites that rose, fell or went quiet
  • Visitors online now, per site

Site dashboard

  • Pages, entry pages and exit pages
  • Referrers, channels (including AI assistants), sources and campaigns
  • Countries, cities, devices, browsers and OS
  • Where each channel lands, by first page

Events and goals

  • Custom events with properties
  • Revenue and currency on events
  • Goals for a page or an event, with conversion rate
  • Outbound links and file downloads, recorded on their own

Periods and filters

  • Today, 24 hours, 7, 30 and 90 days, 12 months and more
  • Custom date ranges
  • Comparison with the previous period
  • Filter by any row; CSV export

Traffic you can trust

  • Crawlers, AI agents, monitoring probes and automated browsers filtered
  • Referrer spam and unknown hostnames dropped
  • Exclusion rules for one site or all of them, with notes and pause
  • A count of what was kept out, on the dashboard

No cookies, no personal data

  • Visitors counted with a hash that changes every day
  • IP addresses are never stored
  • Optional consent mode in the tracker
  • ?ryvr_ignore=1 to skip your own browser

Your team

  • Owner, admin, analyst and viewer roles
  • Invitations by email or by link
  • Two-factor authentication and passkeys
  • Sign-out everywhere when a password changes

API, MCP and embeds

  • Read-only REST API under /api/v1
  • MCP server over streamable HTTP at /mcp
  • Charts in your own product, with short-lived signed tokens
  • Batches from your server with a secret key

Run it yourself

  • Two containers, with automatic TLS built in
  • Survives a ClickHouse outage without losing hits
  • Configurable retention and free location updates
  • About 1.4 KB tracker (gzipped) that works with single-page apps

Built with

Go Vue 3 TypeScript Tailwind CSS 4 ClickHouse SQLite Docker

Quick start

Requires a Linux server with Docker and Docker Compose, and a hostname that points at it.

git clone https://github.com/RyvrAnalytics/ryvr.git && cd ryvr
cp .env.example .env   # fill in the hostname and a password
docker compose up -d --build

Open your hostname, create the first account, add a site and paste the tracking snippet into its <head>:

<script
    defer
    src="https://analytics.example.com/r.js"
    data-key="ryvr_ingest_..."
></script>
ryvr.track('Signup', { plan: 'pro' });
ryvr.track('Purchase', { sku: 'A1' }, { revenue: 49, currency: 'CAD' });

To look around first, fill an empty install with example sites and traffic: docker compose run --rm ryvr demo.

See docs/self-hosting.md for the details, upgrades and backups. To work on RYVR itself, see CONTRIBUTING.md.

Coming from the PHP version?

ryvr-php is the earlier version. The tracker, the API and the event tables are the same, and both give the same numbers for the same data. Moving from ryvr-php brings an organization's accounts, sites, settings and keys across.

Learn more

Contributing · Code of conduct · Security · Accessibility

Running Self-hosting
Using Tracking and events · REST API and MCP · Embedding
Contributing Develop, test and regenerate screenshots · How the code is organized

Licence

The program is licensed under the GNU AGPL v3. The tracker in packages/tracker and the embed library in packages/embed are MIT licensed so they can be used anywhere. Other notices are in NOTICE.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages