🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update translation files and enhance sitemap with new features
Bill Yangb05923362bd6
diff --git a/docs/messages/de.json b/docs/messages/de.jsonindex c34da0a76..83d8f72ba 100644--- a/docs/messages/de.json+++ b/docs/messages/de.json@@ -336,6 +336,12 @@"fqV2q2": "Jede beliebige Aktion verfolgen","7JQj0y": "Einzelne Besuche durchsuchen","PW1xnM": "Website-Performance überwachen",+ "zKnWXq": "Bot-Erkennung",+ "Ys6ooH": "Crawler, Scraper und KI-Agenten filtern",+ "JXDkh8": "Dashboard-Freigabe",+ "X_62Xm": "Öffentliche Dashboards, Links und Einbettungen",+ "QFq3sE": "MCP-Server",+ "4V6u3M": "Ihre Analysen in Ihrem KI-Assistenten","X-rPk_": "Nach Anwendungsfall","Alc97V": "SaaS","VWP8tD": "Startups",diff --git a/docs/messages/en.json b/docs/messages/en.jsonindex b3a87bc19..14b52bf07 100644--- a/docs/messages/en.json+++ b/docs/messages/en.json@@ -336,6 +336,12 @@"fqV2q2": "Track any action you care about","7JQj0y": "Browse individual visits","PW1xnM": "Monitor site performance",+ "zKnWXq": "Bot Detection",+ "Ys6ooH": "Filter crawlers, scrapers, and AI agents",+ "JXDkh8": "Dashboard Sharing",+ "X_62Xm": "Public dashboards, links, and embeds",+ "QFq3sE": "MCP Server",+ "4V6u3M": "Your analytics in your AI assistant","X-rPk_": "By use case","Alc97V": "SaaS","VWP8tD": "Startups",diff --git a/docs/messages/es.json b/docs/messages/es.jsonindex fb2b57be1..ff767eae7 100644--- a/docs/messages/es.json+++ b/docs/messages/es.json@@ -336,6 +336,12 @@"fqV2q2": "Rastrea cualquier acción que te interese","7JQj0y": "Explora visitas individuales","PW1xnM": "Monitoriza el rendimiento del sitio",+ "zKnWXq": "Detección de bots",+ "Ys6ooH": "Filtra crawlers, scrapers y agentes de IA",+ "JXDkh8": "Compartir paneles",+ "X_62Xm": "Paneles públicos, enlaces e incrustaciones",+ "QFq3sE": "Servidor MCP",+ "4V6u3M": "Tus análisis en tu asistente de IA","X-rPk_": "Por caso de uso","Alc97V": "SaaS","VWP8tD": "Startups",diff --git a/docs/messages/fr.json b/docs/messages/fr.jsonindex f2560006c..85036235b 100644--- a/docs/messages/fr.json+++ b/docs/messages/fr.json@@ -336,6 +336,12 @@"fqV2q2": "Suivre n'importe quelle action","7JQj0y": "Parcourir les visites individuelles","PW1xnM": "Surveiller les performances du site",+ "zKnWXq": "Détection des bots",+ "Ys6ooH": "Filtrez les crawlers, scrapers et agents IA",+ "JXDkh8": "Partage de tableaux de bord",+ "X_62Xm": "Tableaux de bord publics, liens et intégrations",+ "QFq3sE": "Serveur MCP",+ "4V6u3M": "Vos analyses dans votre assistant IA","X-rPk_": "Par cas d'usage","Alc97V": "SaaS","VWP8tD": "Startups",diff --git a/docs/messages/it.json b/docs/messages/it.jsonindex 7f78d7fdd..969cf0686 100644--- a/docs/messages/it.json+++ b/docs/messages/it.json@@ -336,6 +336,12 @@"fqV2q2": "Traccia qualsiasi azione ti interessi","7JQj0y": "Sfoglia le singole visite","PW1xnM": "Monitora le prestazioni del sito",+ "zKnWXq": "Rilevamento bot",+ "Ys6ooH": "Filtra crawler, scraper e agenti IA",+ "JXDkh8": "Condivisione dashboard",+ "X_62Xm": "Dashboard pubblici, link e incorporamenti",+ "QFq3sE": "Server MCP",+ "4V6u3M": "Le tue analisi nel tuo assistente IA","X-rPk_": "Per caso d'uso","Alc97V": "SaaS","VWP8tD": "Startup",diff --git a/docs/messages/ja.json b/docs/messages/ja.jsonindex ced9002bd..f1ba23601 100644--- a/docs/messages/ja.json+++ b/docs/messages/ja.json@@ -336,6 +336,12 @@"fqV2q2": "あらゆるアクションをトラッキング","7JQj0y": "個別の訪問を閲覧","PW1xnM": "サイトパフォーマンスを監視",+ "zKnWXq": "ボット検出",+ "Ys6ooH": "クローラー、スクレイパー、AIエージェントを除外",+ "JXDkh8": "ダッシュボード共有",+ "X_62Xm": "公開ダッシュボード、リンク、埋め込み",+ "QFq3sE": "MCPサーバー",+ "4V6u3M": "AIアシスタントで分析データを活用","X-rPk_": "ユースケース別","Alc97V": "SaaS","VWP8tD": "スタートアップ",diff --git a/docs/messages/ko.json b/docs/messages/ko.jsonindex 16a3086b9..05b12e132 100644--- a/docs/messages/ko.json+++ b/docs/messages/ko.json@@ -336,6 +336,12 @@"fqV2q2": "원하는 모든 행동 추적","7JQj0y": "개별 방문 살펴보기","PW1xnM": "사이트 성능 모니터링",+ "zKnWXq": "봇 감지",+ "Ys6ooH": "크롤러, 스크래퍼, AI 에이전트 필터링",+ "JXDkh8": "대시보드 공유",+ "X_62Xm": "공개 대시보드, 링크, 임베드",+ "QFq3sE": "MCP 서버",+ "4V6u3M": "AI 어시스턴트에서 분석 데이터 활용","X-rPk_": "사용 사례별","Alc97V": "SaaS","VWP8tD": "스타트업",diff --git a/docs/messages/pl.json b/docs/messages/pl.jsonindex e444a2790..d76bc654f 100644--- a/docs/messages/pl.json+++ b/docs/messages/pl.json@@ -336,6 +336,12 @@"fqV2q2": "Śledź dowolną akcję","7JQj0y": "Przeglądaj pojedyncze wizyty","PW1xnM": "Monitoruj wydajność strony",+ "zKnWXq": "Wykrywanie botów",+ "Ys6ooH": "Filtruj crawlery, scrapery i agentów AI",+ "JXDkh8": "Udostępnianie dashboardów",+ "X_62Xm": "Publiczne dashboardy, linki i osadzenia",+ "QFq3sE": "Serwer MCP",+ "4V6u3M": "Twoje analizy w asystencie AI","X-rPk_": "Według zastosowania","Alc97V": "SaaS","VWP8tD": "Startupy",diff --git a/docs/messages/pt.json b/docs/messages/pt.jsonindex 7342ccb96..a157cc864 100644--- a/docs/messages/pt.json+++ b/docs/messages/pt.json@@ -336,6 +336,12 @@"fqV2q2": "Acompanhe qualquer ação importante para você","7JQj0y": "Navegue por visitas individuais","PW1xnM": "Monitore o desempenho do site",+ "zKnWXq": "Detecção de bots",+ "Ys6ooH": "Filtre crawlers, scrapers e agentes de IA",+ "JXDkh8": "Compartilhamento de dashboards",+ "X_62Xm": "Dashboards públicos, links e incorporações",+ "QFq3sE": "Servidor MCP",+ "4V6u3M": "Suas análises no seu assistente de IA","X-rPk_": "Por caso de uso","Alc97V": "SaaS","VWP8tD": "Startups",diff --git a/docs/messages/zh.json b/docs/messages/zh.jsonindex b142cbb50..4bed5a6c2 100644--- a/docs/messages/zh.json+++ b/docs/messages/zh.json@@ -336,6 +336,12 @@"fqV2q2": "追踪任何您关心的操作","7JQj0y": "浏览单个访问","PW1xnM": "监控网站性能",+ "zKnWXq": "机器人检测",+ "Ys6ooH": "过滤爬虫、抓取工具和 AI 代理",+ "JXDkh8": "仪表盘共享",+ "X_62Xm": "公开仪表盘、链接和嵌入",+ "QFq3sE": "MCP 服务器",+ "4V6u3M": "在 AI 助手中使用您的分析数据","X-rPk_": "按使用场景","Alc97V": "SaaS","VWP8tD": "初创公司",diff --git a/docs/src/app/[locale]/(home)/features/bot-detection/feature-data.tsx b/docs/src/app/[locale]/(home)/features/bot-detection/feature-data.tsxnew file mode 100644index 000000000..eaa569f12--- /dev/null+++ b/docs/src/app/[locale]/(home)/features/bot-detection/feature-data.tsx@@ -0,0 +1,192 @@+import {+ Activity,+ BarChart3,+ Bot,+ CreditCard,+ Fingerprint,+ Megaphone,+ Monitor,+ Network,+ Newspaper,+ Rocket,+ ShoppingCart,+ TrendingUp,+} from "lucide-react";+import type {+ FAQItem,+ FeatureCapability,+ HowItWorksStep,+ RelatedFeature,+ WhoUsesItem,+} from "../components/FeaturePage";++export const capabilities: FeatureCapability[] = [+ {+ icon: <Bot className="w-5 h-5" />,+ title: "User-agent & AI crawler patterns",+ description:+ "Catches search engine crawlers, headless browsers, SEO and monitoring tools, script and framework HTTP clients — and the growing wave of AI crawlers and agents.",+ },+ {+ icon: <Fingerprint className="w-5 h-5" />,+ title: "Browser fingerprint checks",+ description:+ "Header heuristics and client-side signals expose bots that fake a browser user-agent: missing browser headers, automation APIs, impossible window dimensions, empty plugin lists, and headless renderers.",+ },+ {+ icon: <Network className="w-5 h-5" />,+ title: "ASN & network intelligence",+ description:+ "Curated ASNs of known AI, scanner, and measurement providers trigger detection directly. Generic hosting ASNs only count as supporting evidence — so visitors on VPNs, corporate gateways, and CDNs aren't falsely flagged.",+ },+ {+ icon: <Activity className="w-5 h-5" />,+ title: "Rate & anomaly detection",+ description:+ "Rolling windows catch crawl-shaped behavior: bursts from one IP, rapid path fan-out, rotating user-agents, and replayed tracking requests that pass every other check.",+ },+ {+ icon: <BarChart3 className="w-5 h-5" />,+ title: "A dedicated Bots report",+ description:+ "See everything that was filtered: total blocked requests, bot share of traffic, trends over time, and breakdowns by page, referrer, country, device, and user-agent — with the exact detection layers that matched.",+ },+ {+ icon: <CreditCard className="w-5 h-5" />,+ title: "Bots are never billed",+ description:+ "Detected bot visits don't count toward your usage. You're not paying for GPTBot to crawl your docs or a scraper to hammer your product pages.",+ },+];++export const howItWorks: HowItWorksStep[] = [+ {+ step: 1,+ title: "Enable Block Bot Traffic",+ description:+ "Flip one toggle in Site Settings. Bot detection is configured per site, and there's nothing to change in your tracking script.",+ },+ {+ step: 2,+ title: "Every request runs all five layers",+ description:+ "User-agent patterns, header heuristics, client signals, ASN checks, and rate anomaly detection all run on every incoming tracking request. Rybbit records every layer that matched, then makes one final decision.",+ },+ {+ step: 3,+ title: "Bot traffic is filtered, not lost",+ description:+ "Detected bots never touch your normal analytics — dashboards, funnels, journeys, and session lists stay human-only. A compact bot event record is stored separately so nothing disappears silently.",+ },+ {+ step: 4,+ title: "Inspect the Bots report",+ description:+ "Open the Bots page in your dashboard to audit what was blocked and why. Server-side events sent with an API key are treated as trusted and bypass detection entirely.",+ },+];++export const whoUses: WhoUsesItem[] = [+ {+ icon: <Megaphone className="w-6 h-6" />,+ title: "Marketing teams",+ description:+ "Bounce rate, conversion rate, and campaign ROI all break when bots inflate the denominator. Clean traffic means decisions based on humans.",+ },+ {+ icon: <ShoppingCart className="w-6 h-6" />,+ title: "E-commerce stores",+ description:+ "Price scrapers and inventory bots hit product pages constantly. Filter them out so product analytics reflect real shoppers.",+ },+ {+ icon: <Newspaper className="w-6 h-6" />,+ title: "Content & docs sites",+ description:+ "AI crawlers now rival search engines in crawl volume. See exactly which bots are reading your content — without them polluting your stats.",+ },+ {+ icon: <Rocket className="w-6 h-6" />,+ title: "Startups & SaaS",+ description:+ "Launch-day traffic spikes bring uptime monitors, link previewers, and scrapers along. Know how much of that spike was real.",+ },+ {+ icon: <Monitor className="w-6 h-6" />,+ title: "Agencies",+ description:+ "Client reports lose credibility when numbers include bots. Show clients human traffic, and use the Bots report to explain the difference.",+ },+ {+ icon: <TrendingUp className="w-6 h-6" />,+ title: "SEO teams",+ description:+ "Separate crawler activity from organic visitors, and verify which crawlers actually visit your site and how often.",+ },+];++export const faqItems: FAQItem[] = [+ {+ question: "How is this different from the bot filtering other analytics tools do?",+ answer:+ "Most tools silently drop requests matching a known user-agent list. Rybbit runs five detection layers — user-agent patterns, header heuristics, client-side browser signals, ASN intelligence, and rate anomaly detection — and then shows you everything it filtered in a dedicated Bots report, including which layers matched each request.",+ },+ {+ question: "Do blocked bots count toward my bill?",+ answer:+ "No. Detected bot visits are excluded from billable analytics usage. If bot blocking filters a request, you are not charged for it.",+ },+ {+ question: "Will real visitors get blocked by mistake?",+ answer:+ "The layers are weighted to avoid this. Generic hosting or datacenter ASNs are never enough to block a request on their own — they only count as supporting evidence when another layer also matches. Visitors on VPNs, corporate gateways, or unusual network paths are not filtered just for their network.",+ },+ {+ question: "Does it catch AI crawlers and agents?",+ answer:+ "Yes. The user-agent layer includes AI crawler and agent patterns, and the ASN layer includes curated ASNs of known AI providers. The Bots report shows you exactly which ones are hitting your site.",+ },+ {+ question: "Does bot detection affect server-side tracking?",+ answer:+ "No. Events sent to the tracking API with a valid API key are treated as trusted server-side ingestion and bypass bot detection entirely.",+ },+ {+ question: "Does it work behind a proxy or CDN?",+ answer:+ "Yes, as long as your proxy forwards the original visitor IP and user-agent headers. If the proxy's own IP is forwarded instead, traffic can inherit the proxy's location and ASN — the proxy guide covers the correct header setup.",+ },+];++export const relatedFeatures: RelatedFeature[] = [+ {+ title: "Web Analytics",+ href: "/features/web-analytics",+ description: "The clean, human-only dashboard that bot detection protects.",+ },+ {+ title: "Sessions",+ href: "/features/sessions",+ description: "Browse individual visits knowing each one is a real person.",+ },+ {+ title: "Funnels",+ href: "/features/funnels",+ description: "Conversion rates you can trust, with bots out of the denominator.",+ },+ {+ title: "Goals",+ href: "/features/goals",+ description: "Track conversions without automated traffic inflating results.",+ },+ {+ title: "Dashboard Sharing",+ href: "/features/dashboard-sharing",+ description: "Share clean, bot-free numbers publicly or with clients.",+ },+ {+ title: "Web Vitals",+ href: "/features/web-vitals",+ description: "Performance metrics measured from real browsers, not headless ones.",+ },+];diff --git a/docs/src/app/[locale]/(home)/features/bot-detection/page.tsx b/docs/src/app/[locale]/(home)/features/bot-detection/page.tsxnew file mode 100644index 000000000..0c9570221--- /dev/null+++ b/docs/src/app/[locale]/(home)/features/bot-detection/page.tsx@@ -0,0 +1,116 @@+import { createOGImageUrl } from "@/lib/metadata";+import type { Metadata } from "next";+import { FeaturePage } from "../components/FeaturePage";+import {+ capabilities,+ faqItems,+ howItWorks,+ relatedFeatures,+ whoUses,+} from "./feature-data";++export const metadata: Metadata = {+ title: "Bot Detection - Rybbit | Block & Inspect Bot Traffic",+ description:+ "Five-layer bot detection filters crawlers, scrapers, headless browsers, and AI agents from your analytics — and shows you everything it blocked in a dedicated report. Bots are never billed.",+ openGraph: {+ title: "Bot Detection - Rybbit",+ description:+ "Five-layer bot detection with a dedicated report. Filter crawlers, scrapers, and AI agents — and see exactly what was blocked.",+ type: "website",+ url: "https://rybbit.com/features/bot-detection",+ images: [+ createOGImageUrl(+ "Bot Detection",+ "Five-layer bot detection with a dedicated report. See exactly what was blocked.",+ "Features"+ ),+ ],+ },+ twitter: {+ card: "summary_large_image",+ title: "Bot Detection - Rybbit",+ description:+ "Five-layer bot detection with a dedicated report. Filter crawlers, scrapers, and AI agents — and see exactly what was blocked.",+ images: [+ createOGImageUrl(+ "Bot Detection",+ "Five-layer bot detection with a dedicated report. See exactly what was blocked.",+ "Features"+ ),+ ],+ },+ alternates: {+ canonical: "https://rybbit.com/features/bot-detection",+ },+};++const structuredData = {+ "@context": "https://schema.org",+ "@graph": [+ {+ "@type": "WebPage",+ "@id": "https://rybbit.com/features/bot-detection",+ name: "Rybbit Bot Detection",+ description: "Multi-layer bot detection and filtering with a dedicated bot traffic report.",+ url: "https://rybbit.com/features/bot-detection",+ isPartOf: {+ "@type": "WebSite",+ name: "Rybbit",+ url: "https://rybbit.com",+ },+ },+ {+ "@type": "FAQPage",+ mainEntity: faqItems.map((faq) => ({+ "@type": "Question",+ name: faq.question,+ acceptedAnswer: {+ "@type": "Answer",+ text: faq.answer,+ },+ })),+ },+ ],+};++export default function BotDetectionPage() {+ return (+ <>+ <script+ type="application/ld+json"+ dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}+ />+ <FeaturePage+ featureName="bot-detection"+ headline="Analytics without the bots"+ subtitle="Five detection layers filter crawlers, scrapers, headless browsers, and AI agents before they pollute your data. And unlike silent filters, Rybbit shows you everything it blocked."+ badgeText="Bot Detection"+ demoUrl="https://demo.rybbit.com/81/bots"+ demoCaption="Live bot report — real bot traffic detected and filtered on this site"+ introParagraphs={[+ <>+ A meaningful share of your traffic isn't human — search crawlers, uptime monitors, scrapers, link previewers, and a fast-growing wave of AI agents. Left in your data, they inflate visitor counts, distort bounce rates, and quietly wreck conversion metrics. Rybbit checks{" "}+ <strong className="text-neutral-900 dark:text-white">every tracking request against five detection layers</strong>{" "}+ before it ever reaches your analytics.+ </>,+ <>+ Most analytics tools filter bots silently against a user-agent list, so you never know what was removed — or what slipped through. Rybbit stores a compact record of every filtered request and gives you a{" "}+ <strong className="text-neutral-900 dark:text-white">dedicated Bots report</strong>: total blocked requests, bot share of traffic, which detection layers matched, and breakdowns by page, referrer, country, device, and user-agent.+ </>,+ <>+ Filtered bots are excluded from dashboards, funnels, journeys, and session lists — and they{" "}+ <strong className="text-neutral-900 dark:text-white">never count toward your bill</strong>. One toggle per site, no changes to your tracking script.+ </>,+ ]}+ capabilities={capabilities}+ howItWorks={howItWorks}+ whoUses={whoUses}+ faqItems={faqItems}+ relatedFeatures={relatedFeatures}+ ctaTitle="Stop counting bots as visitors"+ ctaDescription="Five-layer detection, full visibility into what was filtered, and a bill that only counts humans."+ />+ </>+ );+}diff --git a/docs/src/app/[locale]/(home)/features/dashboard-sharing/feature-data.tsx b/docs/src/app/[locale]/(home)/features/dashboard-sharing/feature-data.tsxnew file mode 100644index 000000000..11aadcfb0--- /dev/null+++ b/docs/src/app/[locale]/(home)/features/dashboard-sharing/feature-data.tsx@@ -0,0 +1,196 @@+import {+ Activity,+ Globe2,+ Heart,+ LayoutDashboard,+ Link2,+ Lock,+ Megaphone,+ Monitor,+ Rocket,+ Users,+ Video,+} from "lucide-react";+import type {+ FAQItem,+ FeatureCapability,+ HowItWorksStep,+ RelatedFeature,+ WhoUsesItem,+} from "../components/FeaturePage";++export const capabilities: FeatureCapability[] = [+ {+ icon: <Globe2 className="w-5 h-5" />,+ title: "Public dashboards",+ description:+ "One toggle makes a site's dashboard publicly viewable. Perfect for building in public, open-source projects, and communities — visitors get the full read-only dashboard.",+ },+ {+ icon: <Link2 className="w-5 h-5" />,+ title: "Private links",+ description:+ "Generate a secret URL that gives read-only dashboard access to anyone who has it — clients, stakeholders, investors — without making anything public or creating accounts.",+ },+ {+ icon: <LayoutDashboard className="w-5 h-5" />,+ title: "Full dashboard embed",+ description:+ "Drop your entire analytics dashboard into any site with a single iframe. Light, dark, or system theme, optional sidebar, and the Rybbit footer hidden automatically.",+ },+ {+ icon: <Activity className="w-5 h-5" />,+ title: "Live visitor widget",+ description:+ "A compact embed showing live visitors, a traffic chart, and top countries — as a dashboard card or an inline pill for your header or footer. Custom accent color, transparent background, no script tag.",+ },+ {+ icon: <Lock className="w-5 h-5" />,+ title: "Read-only by design",+ description:+ "Viewers can never touch settings, goals, funnels, or reports. The widget goes further: its endpoint only exposes the numbers the widget displays — no sessions, pages, or referrers.",+ },+ {+ icon: <Users className="w-5 h-5" />,+ title: "Teams & roles for internal sharing",+ description:+ "For your own people, skip links entirely: invite members to your organization, group them into teams, and restrict each member or team to specific sites.",+ },+];++export const howItWorks: HowItWorksStep[] = [+ {+ step: 1,+ title: "Pick your audience",+ description:+ "The whole world? Enable Public Analytics. Specific people? Generate a private link. Your own website? Embed the full dashboard or the live visitor widget.",+ },+ {+ step: 2,+ title: "Configure it in Site Settings",+ description:+ "Each sharing option lives in its own tab in your site's settings — toggle Public Analytics, generate a private link, or enable Widget Embeds and pick a variant, theme, time window, and accent color.",+ },+ {+ step: 3,+ title: "Copy the generated snippet",+ description:+ "For embeds, Rybbit generates the iframe snippet for you. Paste it into any site — no JavaScript, no tracking script dependency, and the widget is server-cached so it won't add load.",+ },+ {+ step: 4,+ title: "Viewers see live data, you keep control",+ description:+ "Everyone sees the same real-time analytics you do, read-only. Your other sites are unaffected, and you can turn any sharing option off at any time.",+ },+];++export const whoUses: WhoUsesItem[] = [+ {+ icon: <Rocket className="w-6 h-6" />,+ title: "Build-in-public founders",+ description:+ "Share an open stats page and let anyone follow your growth. Transparency that markets itself.",+ },+ {+ icon: <Monitor className="w-6 h-6" />,+ title: "Agencies",+ description:+ "Send each client a private link to their own live dashboard instead of monthly PDF exports. No client accounts to manage.",+ },+ {+ icon: <Video className="w-6 h-6" />,+ title: "Creators",+ description:+ "Embed the live visitor widget on your site as social proof, and share audience stats with sponsors via private link.",+ },+ {+ icon: <Heart className="w-6 h-6" />,+ title: "Open-source projects",+ description:+ "Public dashboards fit projects that value transparency — show your community exactly how the docs and site are used.",+ },+ {+ icon: <Megaphone className="w-6 h-6" />,+ title: "Marketing teams",+ description:+ "Embed the dashboard on an internal wiki or share a private link with leadership — everyone reads the same live numbers.",+ },+ {+ icon: <Users className="w-6 h-6" />,+ title: "Multi-team companies",+ description:+ "Use organizations, teams, and per-site access to give every team exactly the dashboards they need — and nothing else.",+ },+];++export const faqItems: FAQItem[] = [+ {+ question: "Do viewers need a Rybbit account?",+ answer:+ "No. Public dashboards, private links, and embeds all work without any account or login. Viewers just open the URL or the page with the embed.",+ },+ {+ question: "Can viewers change anything on a shared dashboard?",+ answer:+ "No. All sharing is strictly read-only. Viewers can explore the data but can never edit settings, reports, funnels, or goals — and sharing one site never affects your other sites.",+ },+ {+ question: "What's the difference between Public Analytics and the widget embed?",+ answer:+ "They're independent toggles. Public Analytics exposes the full read-only dashboard. The widget embed only exposes the data the widget itself displays — the live visitor count, a time series, and top five countries. Enabling the widget does not make your dashboard public.",+ },+ {+ question: "How secure are private links?",+ answer:+ "Private links are not listed anywhere, but anyone who has the URL can view the dashboard — treat one like a shareable read-only secret, and share it only with people you'd show your analytics to.",+ },+ {+ question: "Will embedding the widget on a high-traffic page overload anything?",+ answer:+ "No. The widget HTML and its stats endpoint are cached server-side for 60 seconds, so even a very busy page adds negligible load. The visible count refreshes about once per minute.",+ },+ {+ question: "Can I match the embed to my site's design?",+ answer:+ "Yes. The dashboard embed supports light, dark, or system themes and an optional sidebar. The widget offers card and inline-pill variants, light and dark themes, a transparent background, and any hex accent color.",+ },+ {+ question: "Does this work on self-hosted Rybbit?",+ answer:+ "Yes. All sharing options work identically when self-hosting — the embed snippets simply use your own domain instead of app.rybbit.io.",+ },+];++export const relatedFeatures: RelatedFeature[] = [+ {+ title: "Web Analytics",+ href: "/features/web-analytics",+ description: "The real-time dashboard you'll be sharing.",+ },+ {+ title: "Bot Detection",+ href: "/features/bot-detection",+ description: "Make sure the numbers you share are humans, not crawlers.",+ },+ {+ title: "Goals",+ href: "/features/goals",+ description: "Shared dashboards include your conversion goals, read-only.",+ },+ {+ title: "Sessions",+ href: "/features/sessions",+ description: "Detailed visit data for you — summaries for your viewers.",+ },+ {+ title: "MCP Server",+ href: "/features/mcp",+ description: "Another way out of the dashboard: pipe analytics into AI assistants.",+ },+ {+ title: "White Label",+ href: "/white-label",+ description: "Agencies: run client dashboards under your own brand entirely.",+ },+];diff --git a/docs/src/app/[locale]/(home)/features/dashboard-sharing/page.tsx b/docs/src/app/[locale]/(home)/features/dashboard-sharing/page.tsxnew file mode 100644index 000000000..0b48f5c69--- /dev/null+++ b/docs/src/app/[locale]/(home)/features/dashboard-sharing/page.tsx@@ -0,0 +1,117 @@+import { createOGImageUrl } from "@/lib/metadata";+import type { Metadata } from "next";+import { FeaturePage } from "../components/FeaturePage";+import {+ capabilities,+ faqItems,+ howItWorks,+ relatedFeatures,+ whoUses,+} from "./feature-data";++export const metadata: Metadata = {+ title: "Dashboard Sharing - Rybbit | Public Dashboards, Private Links & Embeds",+ description:+ "Share your analytics your way: public dashboards, private read-only links, a full dashboard embed, or a live visitor widget. No viewer accounts needed.",+ openGraph: {+ title: "Dashboard Sharing - Rybbit",+ description:+ "Public dashboards, private links, dashboard embeds, and a live visitor widget. Share analytics without viewer accounts.",+ type: "website",+ url: "https://rybbit.com/features/dashboard-sharing",+ images: [+ createOGImageUrl(+ "Dashboard Sharing",+ "Public dashboards, private links, embeds, and a live visitor widget.",+ "Features"+ ),+ ],+ },+ twitter: {+ card: "summary_large_image",+ title: "Dashboard Sharing - Rybbit",+ description:+ "Public dashboards, private links, dashboard embeds, and a live visitor widget. Share analytics without viewer accounts.",+ images: [+ createOGImageUrl(+ "Dashboard Sharing",+ "Public dashboards, private links, embeds, and a live visitor widget.",+ "Features"+ ),+ ],+ },+ alternates: {+ canonical: "https://rybbit.com/features/dashboard-sharing",+ },+};++const structuredData = {+ "@context": "https://schema.org",+ "@graph": [+ {+ "@type": "WebPage",+ "@id": "https://rybbit.com/features/dashboard-sharing",+ name: "Rybbit Dashboard Sharing",+ description:+ "Public analytics dashboards, private read-only links, dashboard embeds, and a live visitor widget.",+ url: "https://rybbit.com/features/dashboard-sharing",+ isPartOf: {+ "@type": "WebSite",+ name: "Rybbit",+ url: "https://rybbit.com",+ },+ },+ {+ "@type": "FAQPage",+ mainEntity: faqItems.map((faq) => ({+ "@type": "Question",+ name: faq.question,+ acceptedAnswer: {+ "@type": "Answer",+ text: faq.answer,+ },+ })),+ },+ ],+};++export default function DashboardSharingPage() {+ return (+ <>+ <script+ type="application/ld+json"+ dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}+ />+ <FeaturePage+ featureName="dashboard-sharing"+ headline="Your analytics, wherever you need them"+ subtitle="Make a dashboard public, hand out a private read-only link, or embed your stats on any site — the full dashboard or a compact live visitor widget. No viewer accounts required."+ badgeText="Dashboard Sharing"+ demoUrl="https://demo.rybbit.com/81"+ demoCaption="This demo is a public Rybbit dashboard — exactly what viewers see when you share yours"+ introParagraphs={[+ <>+ Analytics that only you can log into is analytics going to waste. Clients want to see the campaign working, communities want proof of traction, and your own site might deserve a live visitor counter. Rybbit gives you{" "}+ <strong className="text-neutral-900 dark:text-white">four ways to share</strong>, each with its own clearly-drawn access boundary.+ </>,+ <>+ Go fully open with a <strong className="text-neutral-900 dark:text-white">public dashboard</strong> — one toggle and anyone can view your stats, read-only. Or keep it selective with a{" "}+ <strong className="text-neutral-900 dark:text-white">private link</strong>: a secret URL that gives clients and stakeholders the live dashboard without a Rybbit account, and without exposing anything publicly.+ </>,+ <>+ For your own site, embed the{" "}+ <strong className="text-neutral-900 dark:text-white">full dashboard in an iframe</strong> — themed light, dark, or system, with or without the sidebar — or drop in the{" "}+ <strong className="text-neutral-900 dark:text-white">live visitor widget</strong>: a compact card or inline pill with your accent color, no script tag, cached server-side so it never adds load.+ </>,+ ]}+ capabilities={capabilities}+ howItWorks={howItWorks}+ whoUses={whoUses}+ faqItems={faqItems}+ relatedFeatures={relatedFeatures}+ ctaTitle="Share your stats in minutes"+ ctaDescription="Public dashboards, private links, and embeds — all read-only, all live, no viewer accounts."+ />+ </>+ );+}diff --git a/docs/src/app/[locale]/(home)/features/error-tracking/feature-data.tsx b/docs/src/app/[locale]/(home)/features/error-tracking/feature-data.tsxindex ffbbf0701..9741231a5 100644--- a/docs/src/app/[locale]/(home)/features/error-tracking/feature-data.tsx+++ b/docs/src/app/[locale]/(home)/features/error-tracking/feature-data.tsx@@ -185,8 +185,8 @@ export const relatedFeatures: RelatedFeature[] = [description: "Identify which users are affected by specific errors.",},{- title: "Goals",- href: "/features/goals",- description: "Track whether errors are impacting conversion rates.",+ title: "MCP Server",+ href: "/features/mcp",+ description: "Let your coding agent check production errors right from the editor.",},];diff --git a/docs/src/app/[locale]/(home)/features/mcp/feature-data.tsx b/docs/src/app/[locale]/(home)/features/mcp/feature-data.tsxnew file mode 100644index 000000000..9b3773c6d--- /dev/null+++ b/docs/src/app/[locale]/(home)/features/mcp/feature-data.tsx@@ -0,0 +1,192 @@+import {+ BarChart3,+ Bot,+ Database,+ KeyRound,+ Megaphone,+ Monitor,+ Plug,+ Rocket,+ Settings,+ ShieldCheck,+ Terminal,+ Users,+} from "lucide-react";+import type {+ FAQItem,+ FeatureCapability,+ HowItWorksStep,+ RelatedFeature,+ WhoUsesItem,+} from "../components/FeaturePage";++export const capabilities: FeatureCapability[] = [+ {+ icon: <Plug className="w-5 h-5" />,+ title: "Works with your AI tools",+ description:+ "Claude Code, Claude Desktop, Cursor, Codex, VS Code, opencode — any MCP client that speaks Streamable HTTP connects to the hosted endpoint in minutes.",+ },+ {+ icon: <BarChart3 className="w-5 h-5" />,+ title: "The full analytics surface",+ description:+ "Overview KPIs, time series, breakdowns by any dimension, live visitors, custom events, JavaScript errors, Web Vitals, retention cohorts, journeys, sessions, and raw events.",+ },+ {+ icon: <Database className="w-5 h-5" />,+ title: "Read-only SQL",+ description:+ "Let your assistant write ClickHouse SQL against a site-scoped events table — with a schema tool, row limits, and execution-time caps. Ad-hoc questions without a BI tool.",+ },+ {+ icon: <Settings className="w-5 h-5" />,+ title: "Manage, not just read",+ description:+ "39 tools mirror the dashboard: create goals, save funnels, configure sites, identify users and update traits, and manage organization members and teams.",+ },+ {+ icon: <KeyRound className="w-5 h-5" />,+ title: "OAuth or scoped API keys",+ description:+ "Log in with OAuth in supporting clients, or create a revocable API key per integration — optionally scoped to exactly the permissions an agent needs, like analytics read-only.",+ },+ {+ icon: <ShieldCheck className="w-5 h-5" />,+ title: "Dashboard-grade permissions",+ description:+ "Every tool call re-runs the same access checks, roles, and rate limits as the dashboard's own API. Destructive tools are flagged so well-behaved clients confirm before running them.",+ },+];++export const howItWorks: HowItWorksStep[] = [+ {+ step: 1,+ title: "Add the endpoint",+ description:+ "Point your MCP client at https://app.rybbit.io/api/mcp — or your own domain if you self-host. Per-client walkthroughs cover Claude Code, Cursor, Codex, Claude Desktop, VS Code, and opencode.",+ },+ {+ step: 2,+ title: "Authenticate",+ description:+ "OAuth-capable clients open a browser login and you approve access. Everywhere else, create an API key in your account settings — scoped, if you want the agent limited to specific permissions.",+ },+ {+ step: 3,+ title: "Start with context",+ description:+ "The assistant calls list_sites to discover your organizations, sites, and its role in each — everything the other tools need.",+ },+ {+ step: 4,+ title: "Ask in plain language",+ description:+ "\"Summarize last month's traffic for the docs site and create a goal for signups.\" The assistant picks the right tools and works with live data, subject to your permissions.",+ },+];++export const whoUses: WhoUsesItem[] = [+ {+ icon: <Terminal className="w-6 h-6" />,+ title: "Developers & coding agents",+ description:+ "Check whether the error you just fixed still occurs in production, or look up which pages actually matter before a refactor — without leaving the editor.",+ },+ {+ icon: <Rocket className="w-6 h-6" />,+ title: "Founders",+ description:+ "Ask Claude Desktop how the launch went instead of building a report. Conversational analytics with zero setup beyond a connector.",+ },+ {+ icon: <Megaphone className="w-6 h-6" />,+ title: "Marketing teams",+ description:+ "Compare campaigns, break down UTM performance, and draft reports by asking — no query builder, no CSV exports.",+ },+ {+ icon: <Database className="w-6 h-6" />,+ title: "Data-curious teams",+ description:+ "The read-only SQL tool answers one-off questions that dashboards can't, without standing up a warehouse or BI tool.",+ },+ {+ icon: <Monitor className="w-6 h-6" />,+ title: "Agencies",+ description:+ "Give a reporting agent a scoped read-only key per client and automate the weekly summary across every site you manage.",+ },+ {+ icon: <Bot className="w-6 h-6" />,+ title: "Automation builders",+ description:+ "Agents can create goals, save funnels, and manage sites, members, and teams — the write tools mirror what the dashboard can do.",+ },+];++export const faqItems: FAQItem[] = [+ {+ question: "Which AI clients does it work with?",+ answer:+ "Any MCP client that supports Streamable HTTP. Rybbit has step-by-step guides for Claude Code, Claude Desktop, Cursor, Codex, VS Code, and opencode, and a generic configuration for everything else.",+ },+ {+ question: "Is my analytics data sent to an AI provider?",+ answer:+ "Not by Rybbit. The server contains no AI model and never sends your data to one — data only leaves Rybbit in response to the MCP client you configure. Which model sees it is entirely determined by the client you connect.",+ },+ {+ question: "Can I make the connection read-only?",+ answer:+ "Yes. Create an API key scoped to read permissions (or request read scopes via OAuth) and the tool list shrinks to match — any out-of-scope call is refused with a clear error naming the missing scope.",+ },+ {+ question: "Can an AI assistant delete my data?",+ answer:+ "Only with a credential that allows it. Destructive tools require org admin or owner roles, are excluded from scoped keys that don't grant them, and carry the MCP destructive annotation so well-behaved clients ask for confirmation first.",+ },+ {+ question: "How does the SQL tool stay safe?",+ answer:+ "It's read-only and restricted to a site-scoped events table, with row limits and execution-time caps. The assistant can query, never modify.",+ },+ {+ question: "Does it work on self-hosted Rybbit?",+ answer:+ "Yes. The MCP endpoint ships with self-hosted installations too — same tools, same permission model, under your own domain.",+ },+];++export const relatedFeatures: RelatedFeature[] = [+ {+ title: "Web Analytics",+ href: "/features/web-analytics",+ description: "Everything the dashboard shows, queryable by your assistant.",+ },+ {+ title: "Error Tracking",+ href: "/features/error-tracking",+ description: "Let your coding agent check production errors after a fix.",+ },+ {+ title: "Goals",+ href: "/features/goals",+ description: "Create and analyze conversion goals from chat.",+ },+ {+ title: "Funnels",+ href: "/features/funnels",+ description: "Compute ad-hoc funnels or save them — via a tool call.",+ },+ {+ title: "User Profiles",+ href: "/features/user-profiles",+ description: "Identify users and manage traits programmatically.",+ },+ {+ title: "Dashboard Sharing",+ href: "/features/dashboard-sharing",+ description: "Prefer humans over agents? Share the dashboard directly.",+ },+];diff --git a/docs/src/app/[locale]/(home)/features/mcp/page.tsx b/docs/src/app/[locale]/(home)/features/mcp/page.tsxnew file mode 100644index 000000000..bd116521e--- /dev/null+++ b/docs/src/app/[locale]/(home)/features/mcp/page.tsx@@ -0,0 +1,115 @@+import { createOGImageUrl } from "@/lib/metadata";+import type { Metadata } from "next";+import { FeaturePage } from "../components/FeaturePage";+import {+ capabilities,+ faqItems,+ howItWorks,+ relatedFeatures,+ whoUses,+} from "./feature-data";++export const metadata: Metadata = {+ title: "MCP Server - Rybbit | Analytics for AI Assistants",+ description:+ "Connect Claude, Cursor, Codex, and any MCP client to your analytics. 39 tools for querying traffic, managing goals and funnels, and running read-only SQL — with dashboard-grade permissions.",+ openGraph: {+ title: "MCP Server - Rybbit",+ description:+ "Analytics for AI assistants. Query traffic, manage goals, run read-only SQL — from Claude, Cursor, Codex, and any MCP client.",+ type: "website",+ url: "https://rybbit.com/features/mcp",+ images: [+ createOGImageUrl(+ "MCP Server",+ "Analytics for AI assistants. Query traffic and manage your sites from any MCP client.",+ "Features"+ ),+ ],+ },+ twitter: {+ card: "summary_large_image",+ title: "MCP Server - Rybbit",+ description:+ "Analytics for AI assistants. Query traffic, manage goals, run read-only SQL — from Claude, Cursor, Codex, and any MCP client.",+ images: [+ createOGImageUrl(+ "MCP Server",+ "Analytics for AI assistants. Query traffic and manage your sites from any MCP client.",+ "Features"+ ),+ ],+ },+ alternates: {+ canonical: "https://rybbit.com/features/mcp",+ },+};++const structuredData = {+ "@context": "https://schema.org",+ "@graph": [+ {+ "@type": "WebPage",+ "@id": "https://rybbit.com/features/mcp",+ name: "Rybbit MCP Server",+ description:+ "Hosted Model Context Protocol server that connects AI assistants to Rybbit analytics.",+ url: "https://rybbit.com/features/mcp",+ isPartOf: {+ "@type": "WebSite",+ name: "Rybbit",+ url: "https://rybbit.com",+ },+ },+ {+ "@type": "FAQPage",+ mainEntity: faqItems.map((faq) => ({+ "@type": "Question",+ name: faq.question,+ acceptedAnswer: {+ "@type": "Answer",+ text: faq.answer,+ },+ })),+ },+ ],+};++export default function McpPage() {+ return (+ <>+ <script+ type="application/ld+json"+ dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}+ />+ <FeaturePage+ featureName="mcp"+ headline="Ask your analytics anything"+ subtitle="Rybbit's hosted MCP server connects Claude, Cursor, Codex, and any MCP client to your analytics — query traffic, manage goals and funnels, even run read-only SQL, with the same permissions as your dashboard."+ badgeText="MCP Server"+ introParagraphs={[+ <>+ Dashboards answer the questions someone thought to build. The Rybbit{" "}+ <strong className="text-neutral-900 dark:text-white">Model Context Protocol server</strong>{" "}+ answers the ones you ask: connect an AI assistant and it can explore your traffic, behavior, errors, and performance data through the same API the dashboard uses — in plain language, from wherever you already work.+ </>,+ <>+ This isn't a read-only feed. <strong className="text-neutral-900 dark:text-white">39 tools</strong>{" "}+ span analytics queries, live stats, sessions and raw events, read-only ClickHouse SQL, and management of sites, goals, funnels, user profiles, organization members, and teams. A coding agent can verify that the error you just fixed has stopped occurring in production, or check which pages matter before a refactor.+ </>,+ <>+ Access is as controlled as the dashboard itself: connect with{" "}+ <strong className="text-neutral-900 dark:text-white">OAuth or scoped, revocable API keys</strong>, and every tool call is authorized against your role, site access, and rate limits. Rybbit runs no AI model of its own — your data goes only to the client you configure, on cloud or self-hosted.+ </>,+ ]}+ capabilities={capabilities}+ howItWorks={howItWorks}+ whoUses={whoUses}+ faqItems={faqItems}+ relatedFeatures={relatedFeatures}+ ctaTitle="Plug your analytics into your AI workflow"+ ctaDescription="One endpoint, 39 tools, dashboard-grade permissions. Works with Claude, Cursor, Codex, and any MCP client."+ />+ </>+ );+}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.tsxindex d8c5189b9..c97b151c5 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@@ -206,8 +206,13 @@ export const relatedFeatures: RelatedFeature[] = [description: "Set conversion goals and track progress automatically.",},{- title: "Web Vitals",- href: "/features/web-vitals",- description: "Monitor Core Web Vitals for fast user experiences.",+ title: "Bot Detection",+ href: "/features/bot-detection",+ description: "Five-layer filtering keeps crawlers and AI agents out of your data.",+ },+ {+ title: "Dashboard Sharing",+ href: "/features/dashboard-sharing",+ description: "Share your dashboard publicly, via private link, or as an embed.",},];diff --git a/docs/src/app/sitemap.ts b/docs/src/app/sitemap.tsindex 57e691342..b3d665abb 100644--- a/docs/src/app/sitemap.ts+++ b/docs/src/app/sitemap.ts@@ -36,6 +36,27 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {priority: 0.8,}));+ // Feature pages+ const featuresPath = join(process.cwd(), "src/app/[locale]/(home)/features");+ const featureSlugs = readdirSync(featuresPath, { withFileTypes: true })+ .filter(dirent => dirent.isDirectory() && dirent.name !== "components")+ .map(dirent => dirent.name);++ const featurePages = [+ {+ url: `${baseUrl}/features`,+ lastModified: new Date(),+ changeFrequency: "monthly" as const,+ priority: 0.8,+ },+ ...featureSlugs.map(slug => ({+ url: `${baseUrl}/features/${slug}`,+ lastModified: new Date(),+ changeFrequency: "monthly" as const,+ priority: 0.8,+ })),+ ];+// Comparison pagesconst competitors = ["google-analytics",@@ -116,5 +137,5 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {priority: 0.8,}));- return [...staticPages, ...personaPages, ...comparisonPages, ...toolPages, ...docPages, ...blogPosts];+ return [...staticPages, ...personaPages, ...featurePages, ...comparisonPages, ...toolPages, ...docPages, ...blogPosts];}diff --git a/docs/src/components/header/HeaderNavData.tsx b/docs/src/components/header/HeaderNavData.tsxindex 43d20ca18..3be0ce25c 100644--- a/docs/src/components/header/HeaderNavData.tsx+++ b/docs/src/components/header/HeaderNavData.tsx@@ -4,6 +4,7 @@ import { useExtracted } from "next-intl";import {AlertTriangle,BookOpen,+ Bot,Building2,Funnel,Gauge,@@ -11,9 +12,11 @@ import {Map,MousePointerClick,Newspaper,+ Plug,Rewind,Route,Server,+ Share2,Target,TrendingUp,UserCheck,@@ -105,6 +108,24 @@ export function useHeaderNav() {description: t("Monitor site performance"),icon: Gauge,},+ {+ href: "/features/bot-detection",+ label: t("Bot Detection"),+ description: t("Filter crawlers, scrapers, and AI agents"),+ icon: Bot,+ },+ {+ href: "/features/dashboard-sharing",+ label: t("Dashboard Sharing"),+ description: t("Public dashboards, links, and embeds"),+ icon: Share2,+ },+ {+ href: "/features/mcp",+ label: t("MCP Server"),+ description: t("Your analytics in your AI assistant"),+ icon: Plug,+ },];const useCases: HeaderNavGroup = {