Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

fix(docs): correct the tracking script size to 11 KB (#1248)

Goldflag7f1f561d3776
diff --git a/docs/content/docs/(docs)/proxy-guide/get-started.mdx b/docs/content/docs/(docs)/proxy-guide/get-started.mdx
index 7c22eebe3..6e29a84cf 100644
--- a/docs/content/docs/(docs)/proxy-guide/get-started.mdx
+++ b/docs/content/docs/(docs)/proxy-guide/get-started.mdx
@@ -227,7 +227,7 @@ function handler(event) {
Proxying adds bandwidth usage to your infrastructure. Here's what to expect:
**Typical bandwidth per session:**
-- Initial script load: ~18 KB (one-time per session)
+- Initial script load: ~11 KB compressed (one-time per session)
- Pageview tracking: ~0.5-2 KB per pageview
- Custom events: ~0.5-3 KB per event
- Session replay: 50-500 KB per session (if enabled, varies by session length)
diff --git a/docs/src/app/[locale]/(home)/compare/cloudflare-analytics/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/cloudflare-analytics/comparison-data.tsx
index 835ef38a3..efb66a061 100644
--- a/docs/src/app/[locale]/(home)/compare/cloudflare-analytics/comparison-data.tsx
+++ b/docs/src/app/[locale]/(home)/compare/cloudflare-analytics/comparison-data.tsx
@@ -39,7 +39,7 @@ export const cloudflareAnalyticsComparisonData: ComparisonSection[] = [
{
title: "Technical & Pricing",
features: [
- { name: "Script size", rybbitValue: "18KB", competitorValue: "N/A" },
+ { name: "Script size", rybbitValue: "~11KB", competitorValue: "N/A" },
{ name: "Bypasses ad blockers", rybbitValue: true, competitorValue: false },
{ name: "API access", rybbitValue: true, competitorValue: false },
{ name: "Starting price", rybbitValue: "$19/mo", competitorValue: "Free" },
@@ -135,7 +135,7 @@ export const cloudflareAnalyticsExtendedData = {
attributes and conversion goals tell you what visitors did;{" "}
<Link href="/features/funnels">funnels</Link> and user journeys show where they stalled; session replay and
error tracking show why; <Link href="/features/web-vitals">Web Vitals monitoring</Link> and user profiles
- round out the picture. All of it ships on every plan, from a ~18KB script that stays cookieless with a
+ round out the picture. All of it ships on every plan, from a ~11KB script that stays cookieless with a
daily-rotating salt, so you keep the privacy posture that likely drew you to Cloudflare in the first
place.
</>,
diff --git a/docs/src/app/[locale]/(home)/compare/data/competitors.ts b/docs/src/app/[locale]/(home)/compare/data/competitors.ts
index 8b26b7d8d..19ab9d69c 100644
--- a/docs/src/app/[locale]/(home)/compare/data/competitors.ts
+++ b/docs/src/app/[locale]/(home)/compare/data/competitors.ts
@@ -139,7 +139,7 @@ export const competitors = {
dailyRotatingSalt: false,
openSource: false,
selfHostable: false,
- scriptSize: "371KB",
+ scriptSize: "~150KB",
bypassesAdBlockers: false,
apiAccess: true,
dataImportIntoRybbit: false,
@@ -530,7 +530,7 @@ export const competitors = {
dailyRotatingSalt: "Optional",
openSource: true,
selfHostable: true,
- scriptSize: "~18KB",
+ scriptSize: "~11KB",
// The script can be proxied through your own domain (/docs/proxy-guide).
bypassesAdBlockers: "With proxy",
apiAccess: true,
diff --git a/docs/src/app/[locale]/(home)/compare/fathom/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/fathom/comparison-data.tsx
index 3d0b3f7e4..f97f6f273 100644
--- a/docs/src/app/[locale]/(home)/compare/fathom/comparison-data.tsx
+++ b/docs/src/app/[locale]/(home)/compare/fathom/comparison-data.tsx
@@ -39,7 +39,7 @@ export const fathomComparisonData: ComparisonSection[] = [
{
title: "Technical & Pricing",
features: [
- { name: "Script size", rybbitValue: "18KB", competitorValue: "~2KB" },
+ { name: "Script size", rybbitValue: "~11KB", competitorValue: "~2KB" },
{ name: "Bypasses ad blockers", rybbitValue: true, competitorValue: true },
{ name: "API access", rybbitValue: true, competitorValue: true },
{ name: "Starting price", rybbitValue: "$19/mo", competitorValue: "$15/mo" },
@@ -131,7 +131,7 @@ export const fathomExtendedData = {
Rybbit covers the same dashboard basics, then adds the layer Fathom deliberately leaves out:{" "}
<Link href="/features/session-replay">session replay</Link> to watch real sessions, funnels to find where
signups stall, user journey (Sankey) visualization, <Link href="/features/error-tracking">error
- tracking</Link>, Web Vitals monitoring, and user profiles. Rybbit&apos;s script is bigger (~18KB) because
+ tracking</Link>, Web Vitals monitoring, and user profiles. Rybbit&apos;s script is bigger (~11KB compressed) because
it does more. That&apos;s the honest trade. There&apos;s also an ownership difference with no
trade-off attached: Rybbit is open source and can be{" "}
<Link href="/docs/self-hosting">self-hosted for free</Link>, while Fathom is closed-source and
diff --git a/docs/src/app/[locale]/(home)/compare/google-analytics/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/google-analytics/comparison-data.tsx
index b9f3c97e2..eacaedabf 100644
--- a/docs/src/app/[locale]/(home)/compare/google-analytics/comparison-data.tsx
+++ b/docs/src/app/[locale]/(home)/compare/google-analytics/comparison-data.tsx
@@ -39,7 +39,8 @@ export const googleAnalyticsComparisonData: ComparisonSection[] = [
{
title: "Technical & Pricing",
features: [
- { name: "Script size", rybbitValue: "18KB", competitorValue: "371KB" },
+ // Compressed transfer sizes of app.rybbit.io/api/script.js and googletagmanager.com/gtag/js, measured 2026-09-28.
+ { name: "Script size (compressed)", rybbitValue: "~11KB", competitorValue: "~150KB" },
{ name: "Bypasses ad blockers", rybbitValue: true, competitorValue: false },
{ name: "API access", rybbitValue: true, competitorValue: true },
{ name: "Starting price", rybbitValue: "$19/mo", competitorValue: "Free" },
diff --git a/docs/src/app/[locale]/(home)/compare/matomo/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/matomo/comparison-data.tsx
index d36af4515..86eb3f83b 100644
--- a/docs/src/app/[locale]/(home)/compare/matomo/comparison-data.tsx
+++ b/docs/src/app/[locale]/(home)/compare/matomo/comparison-data.tsx
@@ -47,7 +47,7 @@ export const matomoComparisonData: ComparisonSection[] = [
{
title: "Technical & Pricing",
features: [
- { name: "Script size", rybbitValue: "18KB", competitorValue: "20-50KB" },
+ { name: "Script size", rybbitValue: "~11KB", competitorValue: "20-50KB" },
{ name: "Bypasses ad blockers", rybbitValue: true, competitorValue: false },
{ name: "API access", rybbitValue: true, competitorValue: true },
{ name: "Starting price", rybbitValue: "$19/mo", competitorValue: "\u20AC29/mo (50k hits)" },
@@ -124,7 +124,7 @@ export const matomoExtendedData = {
But two decades of accretion show up in the product. Matomo&apos;s interface spreads dozens of report types
across many sections, and its architecture predates the tooling that makes modern analytics fast and
pleasant. Rybbit is what this category looks like when it&apos;s designed in the 2020s: a single-page
- dashboard, an ~18KB script, and <Link href="/features/funnels">funnels</Link>,{" "}
+ dashboard, an ~11KB script, and <Link href="/features/funnels">funnels</Link>,{" "}
<Link href="/features/session-replay">session replay</Link>, user journeys, error tracking, Web Vitals, and
user profiles built into the core product rather than bolted on over the years.
</>,
diff --git a/docs/src/app/[locale]/(home)/compare/plausible/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/plausible/comparison-data.tsx
index 311bc23a4..55bafa7f1 100644
--- a/docs/src/app/[locale]/(home)/compare/plausible/comparison-data.tsx
+++ b/docs/src/app/[locale]/(home)/compare/plausible/comparison-data.tsx
@@ -47,7 +47,7 @@ export const plausibleComparisonData: ComparisonSection[] = [
{
title: "Technical & Pricing",
features: [
- { name: "Script size", rybbitValue: "18KB", competitorValue: "~5KB" },
+ { name: "Script size", rybbitValue: "~11KB", competitorValue: "~5KB" },
{ name: "Bypasses ad blockers", rybbitValue: true, competitorValue: true },
{ name: "API access", rybbitValue: true, competitorValue: "Business plan only" },
{ name: "Starting price", rybbitValue: "$19/mo", competitorValue: "$9/mo" },
@@ -181,7 +181,7 @@ export const plausibleExtendedData = {
If a traffic dashboard is genuinely all you want, Plausible is an excellent one, arguably the best
at being exactly that. It has the longest track record in the category, an EU-owned and EU-hosted cloud, a
famously tiny script (Plausible advertises it as 54&times; smaller than Google Analytics; Rybbit&apos;s is
- around 18KB), and a 30-day trial with no card required versus Rybbit&apos;s 7 days. Choosing it means
+ around 11KB compressed), and a 30-day trial with no card required versus Rybbit&apos;s 7 days. Choosing it means
going without session replay and error tracking (and paying for its Business plan to get funnels), and
for plenty of content sites and blogs, that&apos;s the right call. If you&apos;re weighing more options
than these two, our roundup of
diff --git a/docs/src/app/[locale]/(home)/compare/posthog/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/posthog/comparison-data.tsx
index 30c3a3f39..9993105e8 100644
--- a/docs/src/app/[locale]/(home)/compare/posthog/comparison-data.tsx
+++ b/docs/src/app/[locale]/(home)/compare/posthog/comparison-data.tsx
@@ -39,7 +39,7 @@ export const posthogComparisonData: ComparisonSection[] = [
{
title: "Technical & Pricing",
features: [
- { name: "Script size", rybbitValue: "18KB", competitorValue: "~60KB" },
+ { name: "Script size", rybbitValue: "~11KB", competitorValue: "~60KB" },
{ name: "Bypasses ad blockers", rybbitValue: true, competitorValue: "With proxy" },
{ name: "API access", rybbitValue: true, competitorValue: true },
{ name: "Starting price", rybbitValue: "$19/mo", competitorValue: "Free" },
@@ -61,7 +61,7 @@ export const posthogExtendedData = {
"You want focused web analytics without the bloat",
"You need a dashboard your non-technical team can use immediately",
"You want privacy-first analytics that's cookie-free by default",
- "You prefer a lightweight script (18KB vs ~60KB)",
+ "You prefer a lightweight script (~11KB vs ~60KB)",
"You want simple, predictable pricing without usage surprises",
"You need fast self-hosting without complex infrastructure",
],
@@ -118,7 +118,7 @@ export const posthogExtendedData = {
opposite bet: web analytics your whole team actually opens. One dashboard covers traffic,{" "}
<Link href="/features/funnels">funnels</Link>,{" "}
<Link href="/features/session-replay">session replay</Link>, user journeys, error tracking, Web Vitals, and
- user profiles, from an ~18KB script, with nothing to configure and no query language to learn.
+ user profiles, from an ~11KB script, with nothing to configure and no query language to learn.
</>,
],
},
diff --git a/docs/src/app/[locale]/(home)/compare/simpleanalytics/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/simpleanalytics/comparison-data.tsx
index a25ce8926..b3f22962f 100644
--- a/docs/src/app/[locale]/(home)/compare/simpleanalytics/comparison-data.tsx
+++ b/docs/src/app/[locale]/(home)/compare/simpleanalytics/comparison-data.tsx
@@ -39,7 +39,7 @@ export const simpleAnalyticsComparisonData: ComparisonSection[] = [
{
title: "Technical & Pricing",
features: [
- { name: "Script size", rybbitValue: "18KB", competitorValue: "~6KB" },
+ { name: "Script size", rybbitValue: "~11KB", competitorValue: "~6KB" },
{ name: "Bypasses ad blockers", rybbitValue: true, competitorValue: true },
{ name: "API access", rybbitValue: true, competitorValue: true },
{ name: "Starting price", rybbitValue: "$19/mo", competitorValue: "$20/mo per user" },
diff --git a/docs/src/app/[locale]/(home)/features/web-analytics/feature-data.tsx b/docs/src/app/[locale]/(home)/features/web-analytics/feature-data.tsx
index c46bec496..e3ae9c0e0 100644
--- a/docs/src/app/[locale]/(home)/features/web-analytics/feature-data.tsx
+++ b/docs/src/app/[locale]/(home)/features/web-analytics/feature-data.tsx
@@ -155,7 +155,7 @@ export const faqItems: FAQItem[] = [
{
question: "How is Rybbit different from Google Analytics?",
answer:
- "Rybbit is privacy-first (no cookies, no personal data), open source, and shows everything on a single dashboard instead of 150+ reports. The tracking script is 18KB vs GA4's 371KB. You also get features like session replay and funnels that GA4 lacks or charges $50k/year for.",
+ "Rybbit is privacy-first (no cookies, no personal data), open source, and shows everything on a single dashboard instead of 150+ reports. The tracking script is about 11KB vs GA4's 150KB, both compressed. You also get features like session replay and funnels that GA4 lacks or charges $50k/year for.",
},
{
question: "Do I need a cookie consent banner?",
diff --git a/docs/src/app/[locale]/(home)/features/web-analytics/page.tsx b/docs/src/app/[locale]/(home)/features/web-analytics/page.tsx
index 327a933e2..2d622b4e3 100644
--- a/docs/src/app/[locale]/(home)/features/web-analytics/page.tsx
+++ b/docs/src/app/[locale]/(home)/features/web-analytics/page.tsx
@@ -94,7 +94,7 @@ export default function WebAnalyticsPage() {
Most analytics tools make you choose between <strong className="text-neutral-900 dark:text-white">power and simplicity</strong>. Google Analytics has hundreds of reports but takes a PhD to navigate. Simple tools show you numbers but can&apos;t tell you <em>why</em> they changed. Rybbit gives you both: a single, real-time dashboard with every metric that matters, plus the ability to click into any dimension and drill down.
</>,
<>
- There are <strong className="text-neutral-900 dark:text-white">no cookies, no personal data collection, and no consent banners</strong>. Your tracking script is just 18KB, compared to Google Analytics&apos; 371KB. That means faster page loads and <strong className="text-neutral-900 dark:text-white">100% visitor capture</strong> since no one gets blocked by ad blockers or cookie rejections.
+ There are <strong className="text-neutral-900 dark:text-white">no cookies, no personal data collection, and no consent banners</strong>. Your tracking script is about 11KB compressed, compared to about 150KB for Google Analytics&apos; gtag.js. That means faster page loads and <strong className="text-neutral-900 dark:text-white">100% visitor capture</strong> since no one gets blocked by ad blockers or cookie rejections.
</>,
<>
From a personal blog to a portfolio of client sites, it&apos;s the same dashboard. Filter by country, device, referrer, or any custom property. Compare date ranges. Share public dashboards. And because it&apos;s <strong className="text-neutral-900 dark:text-white">100% open source</strong>, you can self-host and own every byte of your data.
diff --git a/docs/src/app/[locale]/(home)/page.tsx b/docs/src/app/[locale]/(home)/page.tsx
index e42fd02d8..af3f9d438 100644
--- a/docs/src/app/[locale]/(home)/page.tsx
+++ b/docs/src/app/[locale]/(home)/page.tsx
@@ -5,12 +5,12 @@ import { useExtracted } from "next-intl";
export const metadata = createMetadata({
title: "Rybbit - Cookieless Google Analytics Replacement",
description:
- "Open source, cookieless web & product analytics with an 18 KB script and one readable dashboard. GDPR/CCPA compliant, no cookie banner needed.",
+ "Open source, cookieless web & product analytics with an 11 KB script and one readable dashboard. GDPR/CCPA compliant, no cookie banner needed.",
openGraph: {
images: [
createOGImageUrl(
"Rybbit - Cookieless Google Analytics Replacement",
- "Open source, cookieless web & product analytics with an 18 KB script and one readable dashboard. GDPR/CCPA compliant, no cookie banner needed."
+ "Open source, cookieless web & product analytics with an 11 KB script and one readable dashboard. GDPR/CCPA compliant, no cookie banner needed."
),
],
},
@@ -18,7 +18,7 @@ export const metadata = createMetadata({
images: [
createOGImageUrl(
"Rybbit - Cookieless Google Analytics Replacement",
- "Open source, cookieless web & product analytics with an 18 KB script and one readable dashboard. GDPR/CCPA compliant, no cookie banner needed."
+ "Open source, cookieless web & product analytics with an 11 KB script and one readable dashboard. GDPR/CCPA compliant, no cookie banner needed."
),
],
},
diff --git a/docs/src/components/LandingPageTemplate.tsx b/docs/src/components/LandingPageTemplate.tsx
index 34d87702d..e54df8bab 100644
--- a/docs/src/components/LandingPageTemplate.tsx
+++ b/docs/src/components/LandingPageTemplate.tsx
@@ -48,7 +48,7 @@ const faqSchema = {
name: "How does Rybbit compare to Google Analytics?",
acceptedAnswer: {
"@type": "Answer",
- text: "Rybbit is far less bloated than Google Analytics, both in the tracking script and the dashboard. It's one dashboard instead of 150+ reports, and the script is 18KB against GA4's 371KB.",
+ text: "Rybbit is far less bloated than Google Analytics, both in the tracking script and the dashboard. It's one dashboard instead of 150+ reports, and the script is about 11KB against GA4's 150KB, both compressed.",
},
},
{
diff --git a/docs/src/lib/agent-markdown.ts b/docs/src/lib/agent-markdown.ts
index a964fc852..3814b56c9 100644
--- a/docs/src/lib/agent-markdown.ts
+++ b/docs/src/lib/agent-markdown.ts
@@ -11,7 +11,7 @@ const REDIRECT_STATUSES = new Set([301, 302, 303, 307, 308]);
export const homepageMarkdown = `# Rybbit
-Rybbit is an open-source, cookieless web and product analytics platform. It replaces Google Analytics with one readable dashboard and a lightweight 18 KB tracking script. Rybbit is designed for privacy-conscious teams: no cookies, no consent banner, GDPR and CCPA compliant, and available as managed EU-hosted cloud or a self-hosted deployment.
+Rybbit is an open-source, cookieless web and product analytics platform. It replaces Google Analytics with one readable dashboard and a lightweight 11 KB tracking script. Rybbit is designed for privacy-conscious teams: no cookies, no consent banner, GDPR and CCPA compliant, and available as managed EU-hosted cloud or a self-hosted deployment.
## What Rybbit helps you understand
diff --git a/ops/seo/voice/opinions.md b/ops/seo/voice/opinions.md
index d6265b557..a312880b4 100644
--- a/ops/seo/voice/opinions.md
+++ b/ops/seo/voice/opinions.md
@@ -43,7 +43,7 @@ All entries below are `status: candidate`, drafted 2026-09-28 for Bill's review.
### A small script is a feature
- status: candidate
- Why: the tracker loads on every page of every customer site; about 11 KB gzipped (stats.md) is part of the product's performance promise.
-- Where the site says it: many pages, but with the outdated "18 KB" figure. Approve only together with fixing that drift.
+- Where the site says it: homepage meta, the web-analytics feature page and every compare table (about 11 KB compressed since 2026-09-28).
## Open source and business
diff --git a/ops/seo/voice/stats.md b/ops/seo/voice/stats.md
index 5d761c65a..076e29fd4 100644
--- a/ops/seo/voice/stats.md
+++ b/ops/seo/voice/stats.md
@@ -10,6 +10,7 @@ All rows checked 2026-09-28 against `origin/master` at `63e8198c` unless the sou
| Fact | Value | Source | Checked |
| --- | --- | --- | --- |
| Script size, as served | 11,177 bytes gzipped (about 11 KB); 34,006 bytes uncompressed | `curl https://app.rybbit.io/api/script.js` with and without `Accept-Encoding: gzip` | 2026-09-28 |
+| GA4 script, for comparison | ~153 KB gzipped (434 KB uncompressed) for `gtag.js`; quote as "about 150 KB, both compressed" next to Rybbit's 11 KB | `curl https://www.googletagmanager.com/gtag/js?id=<GA4 id>` with and without `Accept-Encoding: gzip` | 2026-09-28 |
| On by default | Initial pageview, SPA navigations, URL parameters, outbound link clicks | `server/src/db/postgres/schema.ts:96-99` | 2026-09-28 |
| Off by default | Web Vitals, error tracking, button clicks, copy events, form interactions, session replay, storing IP addresses | `server/src/db/postgres/schema.ts:93-95,100-103` | 2026-09-28 |
| Visitor ID | SHA-256 of IP address + user agent (version numbers stripped), first 12 hex characters. Datacenter egress IPs are bucketed so rotating proxies don't split one visitor | `server/src/services/userId/userIdService.ts:96-116` | 2026-09-28 |
@@ -87,7 +88,6 @@ That post calls the hosted version "freemium". That's no longer accurate; don't
Claims live on rybbit.com that the code contradicts. Don't copy them into posts; fix the pages separately.
-- **"18 KB" script.** The real figure is about 11 KB gzipped (see above). Appears in `docs/src/app/[locale]/(home)/page.tsx:7` (homepage meta), the homepage FAQ JSON-LD (`docs/src/components/LandingPageTemplate.tsx:51`), web-analytics feature page, seven compare pages, `compare/data/competitors.ts`, `docs/src/lib/agent-markdown.ts` and `proxy-guide/get-started.mdx`.
- **Daily salt described as the default.** The code default is off. Wrong on: homepage FAQ (`LandingPageTemplate.tsx:43`, "We salt user IDs daily"), `features/page.tsx:293`, `for-european-companies/page.tsx:40,77`, compare pages for Plausible (`comparison-data.tsx:123`), Simple Analytics (`:137`) and Cloudflare (`:139`), and `blog/best-google-analytics-alternatives.mdx:46`. Stated correctly on `compare/umami/comparison-data.tsx:288` and `features/retention/feature-data.tsx:136`.
- **"Capture every interaction automatically"** (`LandingPageTemplate.tsx:219`). Button, copy and form capture are off by default.
- **AI operator table** in `blog/track-chatgpt-traffic.mdx` lists 10 operators; the registry now has 11 (Cohere).
@@ -99,7 +99,6 @@ Claims used on the site that couldn't be verified from the repo. Don't use them
- "Trusted by 10,000+ organizations worldwide" (`docs/src/app/[locale]/(home)/enterprise/page.tsx:133`).
- Naming logo-bar customers (Bosch, GOV.UK, Royal Caribbean, OP.GG and others) in articles: is there permission beyond the logo bar?
- "Most sites are collecting data in under 5 minutes" (`LandingPageTemplate.tsx:67`).
-- GA4's script is "371KB" (`LandingPageTemplate.tsx:51`): needs a fresh measurement with a date.
- "No sampling at any traffic level" (`blog/best-google-analytics-alternatives.mdx:46`): plausible given raw ClickHouse queries, but no code or doc states it.
- "Fully compliant with GDPR, CCPA" (`LandingPageTemplate.tsx:43`): a legal claim. Safer wording until confirmed: "designed so analytics runs without cookies or a consent banner".
- The dashboard's unpaid 3,000-event state (`DEFAULT_EVENT_LIMIT`, `server/src/lib/const.ts:17`) is labeled "Free plan" in the app, while marketing says there is no free tier. Until Bill decides, posts say "7-day trial" and "free to self-host", never "free plan".