🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
fix(docs): link orphaned marketing pages and add compare alternatives (#1225)
Goldflag8e2dbb714695
diff --git a/docs/src/app/[locale]/(home)/compare/components/ComparisonPage.tsx b/docs/src/app/[locale]/(home)/compare/components/ComparisonPage.tsxindex 5a8f7b2fb..4b45a8e26 100644--- a/docs/src/app/[locale]/(home)/compare/components/ComparisonPage.tsx+++ b/docs/src/app/[locale]/(home)/compare/components/ComparisonPage.tsx@@ -51,6 +51,18 @@ export interface DeepDive {sections: DeepDiveSection[];}+export interface OtherAlternative {+ name: string;+ href: string;+ summary: string;+}++export interface OtherAlternatives {+ title: string;+ intro: string;+ items: OtherAlternative[];+}+export interface ComparisonPageProps {competitorName: string;sections: ComparisonSection[];@@ -63,6 +75,7 @@ export interface ComparisonPageProps {rybbitPricing?: PricingInfo;competitorPricing?: PricingInfo;deepDive?: DeepDive;+ otherAlternatives?: OtherAlternatives;faqItems?: FAQItem[];relatedResources?: RelatedResource[];}@@ -79,6 +92,7 @@ export function ComparisonPage({rybbitPricing,competitorPricing,deepDive,+ otherAlternatives,faqItems,relatedResources,}: ComparisonPageProps) {@@ -290,6 +304,36 @@ export function ComparisonPage({</section>)}+ {otherAlternatives && otherAlternatives.items.length > 0 && (+ <section className="border-b border-neutral-200 dark:border-neutral-800" aria-labelledby="other-alternatives-title">+ <div className="mx-auto grid max-w-[1200px] border-x border-neutral-200 dark:border-neutral-800 lg:grid-cols-12">+ <div className="border-b border-neutral-200 px-5 py-12 dark:border-neutral-800 sm:px-8 lg:col-span-4 lg:border-b-0 lg:border-r lg:px-10 lg:py-16">+ <div className="lg:sticky lg:top-24">+ <h2 id="other-alternatives-title" className="text-3xl font-semibold tracking-[-0.03em] md:text-4xl">+ {otherAlternatives.title}+ </h2>+ <p className="mt-5 max-w-sm text-base leading-7 text-neutral-600 dark:text-neutral-400">+ {otherAlternatives.intro}+ </p>+ </div>+ </div>+ <div className="lg:col-span-8">+ {otherAlternatives.items.map((alternative) => (+ <Link+ key={alternative.href}+ href={alternative.href}+ className="group grid border-b border-neutral-200 px-5 py-7 last:border-b-0 transition-colors hover:bg-neutral-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-neutral-500 dark:border-neutral-800 dark:hover:bg-neutral-900/60 sm:grid-cols-[minmax(0,0.8fr)_minmax(0,1.2fr)_auto] sm:items-center sm:gap-6 sm:px-8 lg:px-10"+ >+ <span className="font-semibold">{alternative.name}</span>+ <span className="mt-1 text-sm leading-6 text-neutral-500 dark:text-neutral-400 sm:mt-0">{alternative.summary}</span>+ <ArrowRight className="mt-4 size-4 text-neutral-400 transition-transform group-hover:translate-x-1 sm:mt-0" aria-hidden="true" />+ </Link>+ ))}+ </div>+ </div>+ </section>+ )}+{!hasNewSections && comparisonContent && (<section className="border-b border-neutral-200 dark:border-neutral-800"><div className="mx-auto max-w-[1200px] border-x border-neutral-200 px-5 py-12 dark:border-neutral-800 sm:px-8 lg:px-10 lg:py-16">diff --git a/docs/src/app/[locale]/(home)/compare/components/competitorSummaries.ts b/docs/src/app/[locale]/(home)/compare/components/competitorSummaries.tsnew file mode 100644index 000000000..80949ea97--- /dev/null+++ b/docs/src/app/[locale]/(home)/compare/components/competitorSummaries.ts@@ -0,0 +1,60 @@+import type { OtherAlternative } from "./ComparisonPage";++// One-line summaries for the "Other X alternatives" sections. Keep each claim in line with+// that competitor's comparison-data.tsx (vendor-verified), and update both together.+export const competitorSummaries = {+ "google-analytics": {+ name: "Google Analytics 4",+ href: "/compare/google-analytics",+ summary:+ "Free and deep, but it sets cookies (so EU visitors need a consent banner), has no session replay, and GA4 reports take real effort to learn.",+ },+ plausible: {+ name: "Plausible",+ href: "/compare/plausible",+ summary:+ "Open source and cookieless with a clean single-page dashboard. No session replay, error tracking, or Web Vitals, and funnels need its Business plan.",+ },+ umami: {+ name: "Umami",+ href: "/compare/umami",+ summary:+ "MIT-licensed with a ~2KB script and a free cloud tier for hobby sites. Funnels and journeys are included; session replay, error tracking, and Web Vitals are not.",+ },+ fathom: {+ name: "Fathom",+ href: "/compare/fathom",+ summary:+ "Polished and cookieless with a tiny script, but closed source and cloud-only, with no funnels, session replay, or free tier.",+ },+ simpleanalytics: {+ name: "Simple Analytics",+ href: "/compare/simpleanalytics",+ summary:+ "Privacy-first with a free tier for hobby sites, but closed source and cloud-only, with no funnels or session replay.",+ },+ matomo: {+ name: "Matomo",+ href: "/compare/matomo",+ summary:+ "The veteran open-source suite with GA-style depth, including session recordings. Self-hosting means maintaining PHP and MySQL, and many features are paid plugins.",+ },+ posthog: {+ name: "PostHog",+ href: "/compare/posthog",+ summary:+ "A product suite with analytics, session replay, error tracking, and feature flags, plus a generous free tier. Each product bills separately, and self-hosting is hard.",+ },+ "cloudflare-analytics": {+ name: "Cloudflare Web Analytics",+ href: "/compare/cloudflare-analytics",+ summary:+ "Free and cookieless, but it samples data, keeps six months of history, and has no custom events, goals, or funnels.",+ },+} satisfies Record<string, OtherAlternative>;++export type CompetitorSlug = keyof typeof competitorSummaries;++export function pickAlternatives(slugs: CompetitorSlug[]): OtherAlternative[] {+ return slugs.map(slug => competitorSummaries[slug]);+}diff --git a/docs/src/app/[locale]/(home)/compare/layout.tsx b/docs/src/app/[locale]/(home)/compare/layout.tsxnew file mode 100644index 000000000..72514c142--- /dev/null+++ b/docs/src/app/[locale]/(home)/compare/layout.tsx@@ -0,0 +1,23 @@+import type { Metadata } from "next";+import type { ReactNode } from "react";+import { routing } from "@/i18n/routing";++interface CompareLayoutProps {+ children: ReactNode;+ params: Promise<{ locale: string }>;+}++// Comparison content (tables, deep dives, FAQs) is English-only; other locales only translate the+// template chrome and already canonicalize to the English URL. Indexed, those near-duplicates+// competed with the English pages for English queries, so keep them crawlable-but-unindexed.+export async function generateMetadata({ params }: CompareLayoutProps): Promise<Metadata> {+ const { locale } = await params;+ if (locale === routing.defaultLocale) {+ return {};+ }+ return { robots: { index: false, follow: true } };+}++export default function CompareLayout({ children }: CompareLayoutProps) {+ return children;+}diff --git a/docs/src/app/[locale]/(home)/compare/matomo/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/matomo/comparison-data.tsxindex 293380e79..05eac8093 100644--- a/docs/src/app/[locale]/(home)/compare/matomo/comparison-data.tsx+++ b/docs/src/app/[locale]/(home)/compare/matomo/comparison-data.tsx@@ -1,5 +1,13 @@import Link from "next/link";-import { ComparisonSection, DeepDive, FAQItem, PricingInfo, RelatedResource } from "../components/ComparisonPage";+import {+ ComparisonSection,+ DeepDive,+ FAQItem,+ OtherAlternatives,+ PricingInfo,+ RelatedResource,+} from "../components/ComparisonPage";+import { pickAlternatives } from "../components/competitorSummaries";export const matomoComparisonData: ComparisonSection[] = [{@@ -185,6 +193,13 @@ export const matomoExtendedData = {],} satisfies DeepDive,+ otherAlternatives: {+ title: "Other Matomo alternatives",+ intro:+ "Most teams leaving Matomo want less server upkeep or a simpler interface. These are the other Matomo alternatives worth a look, with the main trade-off of each and a link to the full comparison.",+ items: pickAlternatives(["google-analytics", "plausible", "posthog", "umami", "fathom", "simpleanalytics"]),+ } satisfies OtherAlternatives,+faqItems: [{question: "Is Rybbit really simpler than Matomo?",@@ -210,19 +225,14 @@ export const matomoExtendedData = {relatedResources: [{- title: "Rybbit vs Google Analytics",- href: "/compare/google-analytics",- description: "The privacy-first alternative to GA4",- },- {- title: "Rybbit vs PostHog",- href: "/compare/posthog",- description: "Focused analytics vs a full product suite",+ title: "Best Google Analytics alternatives",+ href: "/blog/best-google-analytics-alternatives",+ description: "Nine GA4 alternatives compared on price, privacy, and features",},{- title: "Rybbit vs Umami",- href: "/compare/umami",- description: "Two open-source analytics tools compared",+ title: "Best web analytics tools",+ href: "/blog/best-web-analytics-tools",+ description: "Ten tools compared by use case",},{title: "Getting started with Rybbit",diff --git a/docs/src/app/[locale]/(home)/compare/matomo/page.tsx b/docs/src/app/[locale]/(home)/compare/matomo/page.tsxindex a7c13500d..f7f938b45 100644--- a/docs/src/app/[locale]/(home)/compare/matomo/page.tsx+++ b/docs/src/app/[locale]/(home)/compare/matomo/page.tsx@@ -103,6 +103,7 @@ export default function Matomo() {rybbitPricing={matomoExtendedData.rybbitPricing}competitorPricing={matomoExtendedData.competitorPricing}deepDive={matomoExtendedData.deepDive}+ otherAlternatives={matomoExtendedData.otherAlternatives}faqItems={matomoExtendedData.faqItems}relatedResources={matomoExtendedData.relatedResources}/>diff --git a/docs/src/app/[locale]/(home)/compare/page.tsx b/docs/src/app/[locale]/(home)/compare/page.tsxindex 3c7e91d9a..50cdb2604 100644--- a/docs/src/app/[locale]/(home)/compare/page.tsx+++ b/docs/src/app/[locale]/(home)/compare/page.tsx@@ -84,6 +84,24 @@ const competitors = [},];+const guides = [+ {+ title: "Best Google Analytics alternatives",+ href: "/blog/best-google-analytics-alternatives",+ description: "Nine GA4 alternatives compared on price, privacy, and features",+ },+ {+ title: "Best web analytics tools",+ href: "/blog/best-web-analytics-tools",+ description: "Ten tools compared by use case",+ },+ {+ title: "Best session replay tools",+ href: "/blog/best-session-replay-tools",+ description: "Ten replay tools, including free and open-source options",+ },+];+const structuredData = {"@context": "https://schema.org","@type": "ItemList",@@ -146,6 +164,34 @@ export default function ComparePage() {</div></section>+ <section className="border-b border-neutral-200 dark:border-neutral-800" aria-labelledby="comparison-guides-title">+ <div className="mx-auto grid max-w-[1200px] border-x border-neutral-200 dark:border-neutral-800 lg:grid-cols-12">+ <div className="border-b border-neutral-200 px-5 py-12 dark:border-neutral-800 sm:px-8 lg:col-span-4 lg:border-b-0 lg:border-r lg:px-10 lg:py-16">+ <div className="lg:sticky lg:top-24">+ <h2 id="comparison-guides-title" className="text-3xl font-semibold tracking-[-0.03em] md:text-4xl">+ Buying guides+ </h2>+ <p className="mt-5 max-w-sm text-base leading-7 text-neutral-600 dark:text-neutral-400">+ Weighing more than two tools? These roundups compare the wider field, Rybbit included.+ </p>+ </div>+ </div>+ <div className="lg:col-span-8">+ {guides.map((guide) => (+ <Link+ key={guide.href}+ href={guide.href}+ className="group grid border-b border-neutral-200 px-5 py-7 last:border-b-0 transition-colors hover:bg-neutral-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-neutral-500 dark:border-neutral-800 dark:hover:bg-neutral-900/60 sm:grid-cols-[minmax(0,0.8fr)_minmax(0,1.2fr)_auto] sm:items-center sm:gap-6 sm:px-8 lg:px-10"+ >+ <span className="font-semibold">{guide.title}</span>+ <span className="mt-1 text-sm leading-6 text-neutral-500 dark:text-neutral-400 sm:mt-0">{guide.description}</span>+ <ArrowRight className="mt-4 size-4 text-neutral-400 transition-transform group-hover:translate-x-1 sm:mt-0" aria-hidden="true" />+ </Link>+ ))}+ </div>+ </div>+ </section>+<CTASectiontitle="Switch to analytics that's made for you"eventLocation="comparison_hub_cta"diff --git a/docs/src/app/[locale]/(home)/compare/plausible/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/plausible/comparison-data.tsxindex a1d62a23e..311bc23a4 100644--- a/docs/src/app/[locale]/(home)/compare/plausible/comparison-data.tsx+++ b/docs/src/app/[locale]/(home)/compare/plausible/comparison-data.tsx@@ -1,5 +1,13 @@import Link from "next/link";-import { ComparisonSection, DeepDive, FAQItem, PricingInfo, RelatedResource } from "../components/ComparisonPage";+import {+ ComparisonSection,+ DeepDive,+ FAQItem,+ OtherAlternatives,+ PricingInfo,+ RelatedResource,+} from "../components/ComparisonPage";+import { pickAlternatives } from "../components/competitorSummaries";export const plausibleComparisonData: ComparisonSection[] = [{@@ -8,7 +16,7 @@ export const plausibleComparisonData: ComparisonSection[] = [{ name: "Real-time analytics", rybbitValue: true, competitorValue: true },{ name: "Custom events", rybbitValue: "With attributes", competitorValue: "Basic" },{ name: "Funnels", rybbitValue: "All plans", competitorValue: "Business plan only" },- { name: "User journeys (Sankey)", rybbitValue: true, competitorValue: false },+ { name: "User journeys (Sankey)", rybbitValue: "All plans", competitorValue: "Business plan only" },{ name: "Conversion goals", rybbitValue: true, competitorValue: true },{ name: "Saved segments", rybbitValue: true, competitorValue: true },{ name: "UTM tracking", rybbitValue: true, competitorValue: true },@@ -41,25 +49,25 @@ export const plausibleComparisonData: ComparisonSection[] = [features: [{ name: "Script size", rybbitValue: "18KB", competitorValue: "~5KB" },{ name: "Bypasses ad blockers", rybbitValue: true, competitorValue: true },- { name: "API access", rybbitValue: true, competitorValue: true },+ { name: "API access", rybbitValue: true, competitorValue: "Business plan only" },{ name: "Starting price", rybbitValue: "$19/mo", competitorValue: "$9/mo" },],},];export const plausibleExtendedData = {- subtitle: "Both are privacy-first, but Rybbit offers session replay, funnels, and user journeys that Plausible doesn't.",+ subtitle: "Both are privacy-first, but Rybbit adds session replay, error tracking, and Web Vitals, and includes funnels and journeys on every plan.",introHeading: "Why consider Rybbit over Plausible?",introParagraphs: [- "Plausible is a well-respected privacy-first analytics tool known for its clean dashboard and lightweight script. It's a great choice for websites that want simple traffic metrics without cookies or consent banners. But Plausible is intentionally limited to basic web analytics: no session replay, no funnel analysis, no user journey visualization, and no error tracking.",- "Rybbit shares Plausible's commitment to privacy and simplicity but goes significantly further. You get advanced analytics features including session replay, funnel analysis, user journey visualization with Sankey diagrams, Web Vitals monitoring, and error tracking. Beyond visit counts, you can see how people navigate your site, where they drop off, and what errors they encounter.",+ "Plausible is a well-respected privacy-first analytics tool known for its clean dashboard and lightweight script. It's a great choice for websites that want simple traffic metrics without cookies or consent banners. But Plausible stays close to basic web analytics: there's no session replay, error tracking, or Web Vitals monitoring, and funnels and user journeys are reserved for its Business plan.",+ "Rybbit shares Plausible's commitment to privacy and simplicity but goes significantly further. You get funnels and user journeys on every plan, plus Web Vitals monitoring, error tracking, and session replay on the Pro plan. Beyond visit counts, you can see how people navigate your site, where they drop off, and what errors they encounter.","Both platforms are open source and self-hostable, and both run on ClickHouse; Rybbit's stack is TypeScript, Plausible's is Elixir. Rybbit uses events-based pricing that includes all interaction types, while Plausible charges by pageviews only. If you like Plausible's privacy-first approach but need deeper analytics to grow your product, Rybbit gives you that depth without giving up simplicity.",],chooseRybbit: [- "You need advanced features like session replay and funnels",- "You want user journey visualization (Sankey diagrams)",+ "You need session replay alongside your traffic stats",+ "You want funnels and user journeys without moving to a higher tier","You need error tracking and Web Vitals monitoring","You want events-based pricing instead of pageview-based","You need organization support with team roles",@@ -70,7 +78,7 @@ export const plausibleExtendedData = {"You want the simplest possible analytics dashboard","You prefer a more established product with a longer track record","You only need basic pageview and source tracking",- "You want unlimited data retention on all plans",+ "You want to import your Google Analytics history (Plausible has a GA importer)","You prefer Elixir/Phoenix over TypeScript for self-hosting",],@@ -82,7 +90,7 @@ export const plausibleExtendedData = {"7-day free trial, card charged after the trial","Session replay available on Pro plan","Funnels, user journeys, and error tracking included",- "Unlimited team members and websites",+ "Up to 5 sites and 3 team members on Standard; unlimited on Pro",],} satisfies PricingInfo,@@ -93,7 +101,7 @@ export const plausibleExtendedData = {highlights: ["30-day free trial available","Starts at 10k monthly pageviews",- "All features included on every plan",+ "Funnels, journeys, and the Stats API need the $19/mo Business plan","Self-hosted Community Edition is free",],} satisfies PricingInfo,@@ -133,9 +141,9 @@ export const plausibleExtendedData = {past a site or seat cap means a plan change even if your traffic hasn't moved.</>,<>- Rybbit prices by events (from $19/month for 100k events), and every plan includes every- feature, with session replay available on Pro. There are no per-site or per-seat tiers to outgrow; paying- more buys volume, not features. At low traffic Plausible is the cheaper bill; once you'd otherwise be+ Rybbit prices by events (from $19/month for 100k events). Funnels, journeys, error tracking, and Web+ Vitals are on every plan, so you never upgrade just to unlock funnels; session replay and unlimited sites+ and seats come with Pro. At low traffic Plausible is the cheaper bill; once you'd otherwise bepaying for replay, funnels, and error tracking as separate tools, the math flips. Full details are on the{" "}<Link href="/pricing">pricing page</Link>. And both products keep an honest exit: Plausible'sCommunity Edition and Rybbit's open-source version are each free to self-host.@@ -155,7 +163,7 @@ export const plausibleExtendedData = {in parallel for a while costs nothing but a few kilobytes.</li><li>- Import your Plausible history with the <Link href="/docs">data importer</Link>, so year-over-year+ Import your Plausible history with the <Link href="/docs/data-import">data importer</Link>, so year-over-yearcomparisons keep working from day one.</li><li>Recreate your goals as Rybbit goals and custom events; the setup is similarly simple.</li>@@ -174,8 +182,9 @@ export const plausibleExtendedData = {at being exactly that. It has the longest track record in the category, an EU-owned and EU-hosted cloud, afamously tiny script (Plausible advertises it as 54× smaller than Google Analytics; Rybbit's isaround 18KB), and a 30-day trial with no card required versus Rybbit's 7 days. Choosing it means- deliberately not having session replay, funnels, or error tracking, and for plenty of content sites- and blogs, that's the right call. If you're weighing more options than these two, our roundup of+ 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's the right call. If you're weighing more options+ than these two, our roundup ofthe <Link href="/blog/best-google-analytics-alternatives">best Google Analytics alternatives</Link> coversthe wider field.</>,@@ -184,10 +193,17 @@ export const plausibleExtendedData = {],} satisfies DeepDive,+ otherAlternatives: {+ title: "Other Plausible alternatives",+ intro:+ "If Plausible feels too basic, or its plan tiers don't fit, these are the other Plausible alternatives people compare most often, with the main trade-off of each and a link to the full comparison.",+ items: pickAlternatives(["umami", "fathom", "simpleanalytics", "matomo", "posthog", "cloudflare-analytics"]),+ } satisfies OtherAlternatives,+faqItems: [{question: "How is Rybbit different from Plausible?",- answer: "Both are privacy-first and open source, but Rybbit includes advanced features that Plausible doesn't offer: session replay, funnel analysis, user journey visualization (Sankey diagrams), Web Vitals monitoring, error tracking, and user profiles.",+ answer: "Both are privacy-first and open source. Rybbit adds session replay, Web Vitals monitoring, error tracking, and user profiles, and includes funnels and user journeys on every plan, while Plausible reserves those for its Business plan.",},{question: "Is Rybbit as easy to use as Plausible?",@@ -195,7 +211,7 @@ export const plausibleExtendedData = {},{question: "How does pricing compare between Rybbit and Plausible?",- answer: "Plausible starts at $9/month for 10k pageviews, while Rybbit starts at $19/month. The key difference is that Rybbit uses events-based pricing (which includes pageviews, custom events, and more) and includes advanced features like session replay, funnels, and error tracking that Plausible doesn't offer at any price.",+ answer: "Plausible starts at $9/month for 10k pageviews, while Rybbit starts at $19/month for 100k events (pageviews, custom events, and more). Rybbit includes funnels, journeys, and error tracking on every plan; Plausible reserves funnels and journeys for its $19/month Business plan and doesn't offer session replay or error tracking at any price.",},{question: "Can I self-host Rybbit like Plausible?",@@ -214,19 +230,14 @@ export const plausibleExtendedData = {description: "The privacy-first alternative to GA4",},{- title: "Rybbit vs PostHog",- href: "/compare/posthog",- description: "Focused analytics vs a full product suite",- },- {- title: "Rybbit vs Fathom",- href: "/compare/fathom",- description: "Compare two privacy-focused analytics tools",+ title: "Import your Plausible data",+ href: "/docs/data-import",+ description: "Bring your Plausible history over from its ZIP export",},{- title: "Rybbit vs Simple Analytics",- href: "/compare/simpleanalytics",- description: "Feature-rich vs minimal analytics",+ title: "Best Google Analytics alternatives",+ href: "/blog/best-google-analytics-alternatives",+ description: "Nine GA4 alternatives compared on price, privacy, and features",},{title: "Getting started with Rybbit",diff --git a/docs/src/app/[locale]/(home)/compare/plausible/page.tsx b/docs/src/app/[locale]/(home)/compare/plausible/page.tsxindex a984245c4..a9d520cb1 100644--- a/docs/src/app/[locale]/(home)/compare/plausible/page.tsx+++ b/docs/src/app/[locale]/(home)/compare/plausible/page.tsx@@ -6,7 +6,7 @@ import { createOGImageUrl } from "@/lib/metadata";export const metadata: Metadata = {title: "Rybbit vs Plausible: The Open Source Plausible Alternative",description:- "Looking for a Plausible alternative? Rybbit is open-source and privacy-first too, plus session replay, funnels, user journeys, and error tracking.",+ "Looking for a Plausible alternative? Rybbit is open source and cookieless too, with funnels and journeys on every plan, plus session replay and error tracking.",openGraph: {title: "Rybbit vs Plausible: Which Privacy-First Analytics Wins?",description: "Both respect privacy, but Rybbit offers more power. Compare session replay, funnels, and pricing.",@@ -48,7 +48,7 @@ const structuredData = {name: "How does Rybbit compare to Plausible?",acceptedAnswer: {"@type": "Answer",- text: "Both Rybbit and Plausible are privacy-first analytics platforms, but Rybbit offers more advanced features like session replay, funnels, user journeys, and error tracking while maintaining simplicity.",+ text: "Both are privacy-first and open source. Rybbit adds session replay, Web Vitals monitoring, error tracking, and user profiles, and includes funnels and user journeys on every plan, while Plausible reserves those for its Business plan.",},},{@@ -56,7 +56,7 @@ const structuredData = {name: "Does Rybbit have features Plausible doesn't?",acceptedAnswer: {"@type": "Answer",- text: "Yes. Rybbit includes session replay, funnel analysis, user journey visualization (Sankey diagrams), Web Vitals monitoring, error tracking, and public dashboards that Plausible doesn't offer.",+ text: "Yes. Rybbit includes session replay, Web Vitals monitoring, and error tracking, which Plausible doesn't offer, and it includes funnels and user journeys on every plan instead of only on a higher tier.",},},{@@ -64,7 +64,7 @@ const structuredData = {name: "Which is more affordable, Rybbit or Plausible?",acceptedAnswer: {"@type": "Answer",- text: "Plausible starts at $9/month for 10k pageviews, while Rybbit starts at $19/month for events-based pricing. Rybbit includes more features at each price point, including session replay, funnels, and error tracking.",+ text: "Plausible starts at $9/month for 10k pageviews, while Rybbit starts at $19/month for 100k events (pageviews, custom events, and more). Rybbit includes funnels, journeys, and error tracking on every plan; Plausible reserves funnels and journeys for its $19/month Business plan and doesn't offer session replay or error tracking at any price.",},},{@@ -103,6 +103,7 @@ export default function Plausible() {rybbitPricing={plausibleExtendedData.rybbitPricing}competitorPricing={plausibleExtendedData.competitorPricing}deepDive={plausibleExtendedData.deepDive}+ otherAlternatives={plausibleExtendedData.otherAlternatives}faqItems={plausibleExtendedData.faqItems}relatedResources={plausibleExtendedData.relatedResources}/>diff --git a/docs/src/app/[locale]/(home)/compare/simpleanalytics/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/simpleanalytics/comparison-data.tsxindex 19bace051..a25ce8926 100644--- a/docs/src/app/[locale]/(home)/compare/simpleanalytics/comparison-data.tsx+++ b/docs/src/app/[locale]/(home)/compare/simpleanalytics/comparison-data.tsx@@ -162,7 +162,7 @@ export const simpleAnalyticsExtendedData = {<>Unusually for an analytics migration, you don't have to start from zero: Rybbit ships a data importerfor Simple Analytics, and your historical stats come with you. See the{" "}- <Link href="/docs">docs</Link> for the import walkthrough.+ <Link href="/docs/data-import">import guide</Link> for the walkthrough.</>,<ol><li>diff --git a/docs/src/app/[locale]/(home)/compare/umami/comparison-data.tsx b/docs/src/app/[locale]/(home)/compare/umami/comparison-data.tsxindex bdb01b33a..d6627b775 100644--- a/docs/src/app/[locale]/(home)/compare/umami/comparison-data.tsx+++ b/docs/src/app/[locale]/(home)/compare/umami/comparison-data.tsx@@ -1,5 +1,13 @@import Link from "next/link";-import { ComparisonSection, DeepDive, FAQItem, PricingInfo, RelatedResource } from "../components/ComparisonPage";+import {+ ComparisonSection,+ DeepDive,+ FAQItem,+ OtherAlternatives,+ PricingInfo,+ RelatedResource,+} from "../components/ComparisonPage";+import { pickAlternatives } from "../components/competitorSummaries";export const umamiComparisonData: ComparisonSection[] = [{@@ -48,12 +56,12 @@ export const umamiComparisonData: ComparisonSection[] = [];export const umamiExtendedData = {- subtitle: "Both are open source and privacy-first, but Rybbit offers session replay, funnels, and user journeys that Umami doesn't.",+ subtitle: "Both are open source and privacy-first, but Rybbit adds session replay, error tracking, and Web Vitals monitoring that Umami doesn't have.",introHeading: "Why consider Rybbit over Umami?",introParagraphs: ["Umami is a popular open-source analytics tool known for its tiny 2KB script and simple, clean interface. It's a solid choice for personal blogs and small sites that just need basic traffic metrics. But Umami's simplicity comes at the cost of advanced features: no session replay, no error tracking, no Web Vitals monitoring, and limited organization support for teams.",- "Rybbit shares Umami's open-source DNA and privacy-first values but offers a much deeper feature set. You get session replay to watch how users interact with your site, funnel analysis to find conversion bottlenecks, user journey visualization with Sankey diagrams, and error tracking to catch issues before your users report them, without giving up the clean dashboard that draws people to simpler tools.",+ "Rybbit shares Umami's open-source DNA and privacy-first values but goes further when a number raises a question. Both tools chart funnels and user journeys; Rybbit adds session replay so you can watch the sessions behind a drop-off, error tracking to catch issues before your users report them, and Web Vitals monitoring, without giving up the clean dashboard that draws people to simpler tools.","On the technical side, Rybbit uses ClickHouse for analytics queries, delivering fast performance even at high traffic volumes. Umami supports PostgreSQL and MySQL for self-hosting, which may be more familiar but can struggle with large datasets. Rybbit also offers a mature managed cloud service, so you don't have to maintain infrastructure if you'd rather not. If you've outgrown Umami's basic metrics and need analytics that can grow with your product, Rybbit is the natural next step.",],@@ -159,7 +167,7 @@ export const umamiExtendedData = {</li><li>Import your Umami history with the built-in importer (see the{" "}- <Link href="/docs">docs</Link> for the walkthrough) so your Rybbit dashboard starts with+ <Link href="/docs/data-import">import guide</Link> for the walkthrough) so your Rybbit dashboard starts withcontinuity instead of a blank chart.</li><li>@@ -191,6 +199,13 @@ export const umamiExtendedData = {],} satisfies DeepDive,+ otherAlternatives: {+ title: "Other Umami alternatives",+ intro:+ "Rybbit isn't the only step up from Umami. These are the other Umami alternatives people weigh most often, with the main trade-off of each and a link to the full comparison.",+ items: pickAlternatives(["plausible", "posthog", "matomo", "fathom", "simpleanalytics", "cloudflare-analytics"]),+ } satisfies OtherAlternatives,+faqItems: [{question: "How is Rybbit different from Umami?",@@ -198,7 +213,7 @@ export const umamiExtendedData = {},{question: "Can I migrate from Umami to Rybbit?",- answer: "Yes. Just add Rybbit's script tag to your site and data starts flowing immediately. You can run both tools in parallel during the transition. Historical Umami data won't transfer, but new data collection begins instantly.",+ answer: "Yes, history included. Export your Umami data as CSV and load it with Rybbit's built-in importer, then add the Rybbit script and run both tools in parallel until the numbers line up.",},{question: "Which is easier to self-host?",@@ -221,14 +236,14 @@ export const umamiExtendedData = {description: "The privacy-first alternative to GA4",},{- title: "Rybbit vs Plausible",- href: "/compare/plausible",- description: "Compare two privacy-first analytics platforms",+ title: "Import your Umami data",+ href: "/docs/data-import",+ description: "Bring your Umami history over from a CSV export",},{- title: "Rybbit vs Fathom",- href: "/compare/fathom",- description: "Open source vs proprietary privacy analytics",+ title: "Best web analytics tools",+ href: "/blog/best-web-analytics-tools",+ description: "Ten tools compared by use case",},{title: "Getting started with Rybbit",diff --git a/docs/src/app/[locale]/(home)/compare/umami/page.tsx b/docs/src/app/[locale]/(home)/compare/umami/page.tsxindex 97739abcf..7faa6f3c8 100644--- a/docs/src/app/[locale]/(home)/compare/umami/page.tsx+++ b/docs/src/app/[locale]/(home)/compare/umami/page.tsx@@ -6,7 +6,7 @@ import { createOGImageUrl } from "@/lib/metadata";export const metadata: Metadata = {title: "Rybbit vs Umami: The Full-Featured Umami Alternative",description:- "Looking for an Umami alternative? Both are open-source and privacy-focused, but Rybbit adds session replay, funnels, and a managed cloud option.",+ "Looking for an Umami alternative? Rybbit is open source and cookieless too, and adds session replay, error tracking, and Web Vitals monitoring.",openGraph: {title: "Rybbit vs Umami: Open-Source Analytics Head-to-Head",description: "Two open-source analytics platforms compared. See which offers more features and flexibility.",@@ -56,7 +56,7 @@ const structuredData = {name: "Can I migrate from Umami to Rybbit?",acceptedAnswer: {"@type": "Answer",- text: "Yes. Just add Rybbit's script tag to your site and data starts flowing immediately. You can run both tools in parallel during the transition. Historical Umami data won't transfer, but new data collection begins instantly.",+ text: "Yes, history included. Export your Umami data as CSV and load it with Rybbit's built-in importer, then add the Rybbit script and run both tools in parallel until the numbers line up.",},},{@@ -103,6 +103,7 @@ export default function Umami() {rybbitPricing={umamiExtendedData.rybbitPricing}competitorPricing={umamiExtendedData.competitorPricing}deepDive={umamiExtendedData.deepDive}+ otherAlternatives={umamiExtendedData.otherAlternatives}faqItems={umamiExtendedData.faqItems}relatedResources={umamiExtendedData.relatedResources}/>diff --git a/docs/src/app/[locale]/(home)/features/page.tsx b/docs/src/app/[locale]/(home)/features/page.tsxindex 02bee7dc1..eee9bc8f9 100644--- a/docs/src/app/[locale]/(home)/features/page.tsx+++ b/docs/src/app/[locale]/(home)/features/page.tsx@@ -5,6 +5,7 @@ import {Activity,AlertTriangle,ArrowLeftRight,+ ArrowRight,Bot,Cookie,Database,@@ -27,6 +28,7 @@ import {Search,Settings,ShieldCheck,+ Sparkles,Smartphone,Tag,Target,@@ -39,6 +41,7 @@ import {Zap,} from "lucide-react";import type { Metadata } from "next";+import Link from "next/link";import { createMetadata, createOGImageUrl } from "@/lib/metadata";export const metadata: Metadata = createMetadata({@@ -61,6 +64,7 @@ interface FeatureGridProps {icon: React.ReactNode;title: string;description: string;+ href?: string;}>;}@@ -74,11 +78,26 @@ function FeatureGrid({ title, description, features }: FeatureGridProps) {<p className="mt-5 max-w-sm text-base leading-7 text-neutral-600 dark:text-neutral-400">{description}</p></div></div>- <div className="grid gap-px bg-neutral-200 dark:bg-neutral-800 lg:col-span-8 md:grid-cols-2">+ <div className="grid gap-px bg-neutral-200 dark:bg-neutral-800 lg:col-span-8 md:grid-cols-2 md:[&>article:last-child:nth-child(odd)]:col-span-2">{features.map((feature) => (<article key={feature.title} className="bg-white px-5 py-9 dark:bg-neutral-950 sm:px-8 lg:px-10"><div className="mb-5 text-neutral-500 dark:text-neutral-400">{feature.icon}</div>- <h3 className="font-semibold tracking-tight">{feature.title}</h3>+ <h3 className="font-semibold tracking-tight">+ {feature.href ? (+ <Link+ href={feature.href}+ className="group/feature inline-flex items-center gap-1.5 rounded-sm transition-colors hover:text-emerald-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-500 dark:hover:text-emerald-400"+ >+ {feature.title}+ <ArrowRight+ className="size-3.5 text-neutral-400 transition-transform group-hover/feature:translate-x-0.5 motion-reduce:transition-none"+ aria-hidden="true"+ />+ </Link>+ ) : (+ feature.title+ )}+ </h3><p className="mt-2 max-w-md text-sm leading-6 text-neutral-600 dark:text-neutral-400">{feature.description}</p></article>))}@@ -140,6 +159,7 @@ export default function FeaturesPage() {{icon: <MousePointerClick className="w-5 h-5" />,title: t("Custom events"),+ href: "/features/custom-events",description: t("Track sign-ups, purchases, downloads, and any custom user interaction."),},{@@ -160,6 +180,7 @@ export default function FeaturesPage() {{icon: <Bot className="w-5 h-5" />,title: t("Bot blocking"),+ href: "/features/bot-detection",description: t("Automatically filter out bots and crawlers to keep your data clean."),},];@@ -168,26 +189,31 @@ export default function FeaturesPage() {{icon: <Video className="w-5 h-5" />,title: t("Session replay"),+ href: "/features/session-replay",description: t("Watch real user sessions to spot usability issues and improvement opportunities."),},{icon: <Gauge className="w-5 h-5" />,title: t("Web vitals"),+ href: "/features/web-vitals",description: t("Monitor Core Web Vitals to maintain fast, smooth user experiences."),},{icon: <Funnel className="w-5 h-5" />,title: t("Funnels"),+ href: "/features/funnels",description: t("Visualize conversion paths and pinpoint exactly where visitors drop off."),},{icon: <Target className="w-5 h-5" />,title: t("Goals"),+ href: "/features/goals",description: t("Set and monitor conversion goals to track business objectives."),},{icon: <Route className="w-5 h-5" />,title: t("Journey"),+ href: "/features/user-journeys",description: t("Map how users navigate your site from landing to conversion."),},{@@ -198,11 +224,13 @@ export default function FeaturesPage() {{icon: <AlertTriangle className="w-5 h-5" />,title: t("Error tracking"),+ href: "/features/error-tracking",description: t("Catch JavaScript errors as they happen with full context to fix them fast."),},{icon: <Rewind className="w-5 h-5" />,title: t("User sessions"),+ href: "/features/sessions",description: t("Follow complete user journeys from first visit to conversion."),},{@@ -218,11 +246,13 @@ export default function FeaturesPage() {{icon: <Users className="w-5 h-5" />,title: t("User profiles"),+ href: "/features/user-profiles",description: t("View complete user histories including all sessions, events, and interactions across their lifetime."),},{icon: <UserCheck className="w-5 h-5" />,title: t("Retention"),+ href: "/features/retention",description: t("Track returning visitors to measure loyalty and engagement."),},];@@ -236,6 +266,7 @@ export default function FeaturesPage() {{icon: <Globe2 className="w-5 h-5" />,title: t("Public dashboards"),+ href: "/features/dashboard-sharing",description: t("Make your dashboards publicly accessible with a single click. No login required."),},{@@ -302,8 +333,15 @@ export default function FeaturesPage() {{icon: <Plug className="w-5 h-5" />,title: t("API access"),+ href: "/features/api",description: t("Full API access to query your data and build custom integrations."),},+ {+ icon: <Sparkles className="w-5 h-5" />,+ title: t("MCP Server"),+ href: "/features/mcp",+ description: t("Your analytics in your AI assistant"),+ },];return (diff --git a/docs/src/app/sitemap.ts b/docs/src/app/sitemap.tsindex 1572c6e60..ca130786a 100644--- a/docs/src/app/sitemap.ts+++ b/docs/src/app/sitemap.ts@@ -10,8 +10,8 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {const baseUrl = "https://rybbit.com";// hreflang alternates for routes whose content is actually localized- // (rendered through translated templates). Docs/blog content is en-only and- // non-en /tools pages are noindexed, so those routes get no alternates.+ // (rendered through translated templates). Docs/blog content is en-only, and+ // non-en /tools and /compare pages are noindexed, so those routes get no alternates.const localeUrl = (locale: string, path: string) =>locale === routing.defaultLocale ? `${baseUrl}${path}` : `${baseUrl}/${locale}${path}`;const localeAlternates = (path: string) => ({@@ -96,14 +96,12 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {lastModified: new Date(),changeFrequency: "monthly" as const,priority: 0.8,- alternates: localeAlternates("/compare"),},...competitors.map(slug => ({url: `${baseUrl}/compare/${slug}`,lastModified: new Date(),changeFrequency: "monthly" as const,priority: 0.8,- alternates: localeAlternates(`/compare/${slug}`),})),];diff --git a/docs/src/components/Footer.tsx b/docs/src/components/Footer.tsxindex 8df88c6e1..bdb685070 100644--- a/docs/src/components/Footer.tsx+++ b/docs/src/components/Footer.tsx@@ -57,6 +57,10 @@ export function Footer() {{ href: "/features/web-vitals", label: t("Web Vitals") },{ href: "/features/error-tracking", label: t("Error Tracking") },{ href: "/features/user-profiles", label: t("User Profiles") },+ { href: "/features/bot-detection", label: t("Bot Detection") },+ { href: "/features/dashboard-sharing", label: t("Dashboard Sharing") },+ { href: "/features/mcp", label: t("MCP Server") },+ { href: "/features/api", label: t("Analytics API") },],},{@@ -89,6 +93,21 @@ export function Footer() {},];+ // The header's use-case dropdown only mounts when opened, so these links are the+ // only server-rendered path crawlers have to the persona pages.+ const solutionLinks: FooterLink[] = [+ { href: "/for-saas", label: t("SaaS") },+ { href: "/for-startups", label: t("Startups") },+ { href: "/for-small-business", label: t("Small businesses") },+ { href: "/for-ecommerce", label: t("Ecommerce") },+ { href: "/for-creators", label: t("Creators") },+ { href: "/for-developers", label: t("Developers") },+ { href: "/for-agencies", label: t("Agencies") },+ { href: "/white-label", label: t("White label") },+ { href: "/for-european-companies", label: t("European companies") },+ { href: "/enterprise", label: t("Enterprise") },+ ];+return (<footer className="border-t border-neutral-200 dark:border-neutral-800"><div className="relative mx-auto max-w-[1200px] border-x border-neutral-200 dark:border-neutral-800">@@ -146,35 +165,49 @@ export function Footer() {</div></div>- <nav aria-label="Footer" className="grid grid-cols-2 lg:col-span-9 md:grid-cols-4">- {footerGroups.map(group => (- <section- key={group.title}- className="border-b border-neutral-200 px-5 py-10 last:border-b-0 dark:border-neutral-800 sm:px-8 [&:nth-last-child(2)]:border-b-0 md:border-b-0 md:px-6 md:py-14"- >- <h2 className="text-sm font-semibold text-neutral-950 dark:text-neutral-50">{group.title}</h2>- <ul className="mt-4">- {group.links.map(link => (- <li key={link.href}>- {link.external ? (- <a- href={link.href}- target={link.href.startsWith("http") ? "_blank" : undefined}- rel={link.href.startsWith("http") ? "noopener noreferrer" : undefined}- className={footerLinkClassName}- >- {link.label}- </a>- ) : (- <Link href={link.href} className={footerLinkClassName}>- {link.label}- </Link>- )}- </li>- ))}- </ul>- </section>- ))}+ <nav aria-label="Footer" className="lg:col-span-9">+ <div className="grid grid-cols-2 md:grid-cols-4">+ {footerGroups.map(group => (+ <section+ key={group.title}+ className="border-b border-neutral-200 px-5 py-10 last:border-b-0 dark:border-neutral-800 sm:px-8 [&:nth-last-child(2)]:border-b-0 md:border-b-0 md:px-6 md:py-14"+ >+ <h2 className="text-sm font-semibold text-neutral-950 dark:text-neutral-50">{group.title}</h2>+ <ul className="mt-4">+ {group.links.map(link => (+ <li key={link.href}>+ {link.external ? (+ <a+ href={link.href}+ target={link.href.startsWith("http") ? "_blank" : undefined}+ rel={link.href.startsWith("http") ? "noopener noreferrer" : undefined}+ className={footerLinkClassName}+ >+ {link.label}+ </a>+ ) : (+ <Link href={link.href} className={footerLinkClassName}>+ {link.label}+ </Link>+ )}+ </li>+ ))}+ </ul>+ </section>+ ))}+ </div>+ <section className="border-t border-neutral-200 px-5 py-8 dark:border-neutral-800 sm:px-8 md:px-6">+ <h2 className="text-sm font-semibold text-neutral-950 dark:text-neutral-50">{t("Solutions")}</h2>+ <ul className="mt-3 flex flex-wrap gap-x-6">+ {solutionLinks.map(link => (+ <li key={link.href}>+ <Link href={link.href} className={footerLinkClassName}>+ {link.label}+ </Link>+ </li>+ ))}+ </ul>+ </section></nav></div>diff --git a/docs/src/components/LandingPageTemplate.tsx b/docs/src/components/LandingPageTemplate.tsxindex eafcb2860..34d87702d 100644--- a/docs/src/components/LandingPageTemplate.tsx+++ b/docs/src/components/LandingPageTemplate.tsx@@ -336,6 +336,16 @@ export function LandingPageTemplate({ title, subtitle, showEUFlag = true }: Landaria-hidden="true"/></Link>+ <Link+ href="/features/mcp"+ className="group inline-flex items-center gap-1.5 rounded-sm text-sm font-medium text-neutral-600 transition-colors duration-200 hover:text-neutral-950 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-500 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:text-neutral-400 dark:hover:text-white dark:focus-visible:ring-offset-neutral-950"+ >+ {t("How it works")}+ <ArrowRight+ className="size-3.5 transition-transform duration-200 group-hover:translate-x-0.5 motion-reduce:transition-none"+ aria-hidden="true"+ />+ </Link><Linkhref="/docs/api/getting-started"className="group inline-flex items-center gap-1.5 rounded-sm text-sm font-medium text-neutral-600 transition-colors duration-200 hover:text-neutral-950 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-500 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:text-neutral-400 dark:hover:text-white dark:focus-visible:ring-offset-neutral-950"