🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update demo links from rybbit.io to rybbit.com across documentation and application files
Bill Yangded09e944f70
diff --git a/README.md b/README.mdindex 9e849a9ed..b9d424c36 100644--- a/README.md+++ b/README.md@@ -3,9 +3,9 @@<p align="center">Open Source Web & Product Analytics</p><p align="center">- <a href="https://rybbit.io" target="_blank">Website</a> |- <a href="https://demo.rybbit.io/1" target="_blank">Demo</a> |- <a href="https://rybbit.io/docs" target="_blank">Documentation</a> |+ <a href="https://rybbit.com" target="_blank">Website</a> |+ <a href="https://demo.rybbit.com/1" target="_blank">Demo</a> |+ <a href="https://rybbit.com/docs" target="_blank">Documentation</a> |<a href="https://discord.gg/DEhGb4hYBj" target="_blank">Discord</a> |<a href="https://github.com/rybbit-io/rybbit?tab=AGPL-3.0-1-ov-file" target="_blank">License (AGPL-3)</a> |<a href="https://github.com/rybbit-io/rybbit/blob/master/CONTRIBUTE.md" target="_blank">Contribute</a>@@ -20,7 +20,7 @@</p><p align="center">- <strong><a href="https://demo.rybbit.io/1">🔍 View Live Demo</a></strong> - See Rybbit running on a real-life production site with over a million visits a month.+ <strong><a href="https://demo.rybbit.com/1">🔍 View Live Demo</a></strong> - See Rybbit running on a real-life production site with over a million visits a month.</p><img width="1299" height="797" alt="Screenshot 2025-10-16 at 7 25 20 PM" src="https://github.com/user-attachments/assets/7988ba04-64ee-4410-9972-847d278efa2f" />diff --git a/client/src/app/[site]/components/Header/DemoSignupBanner.tsx b/client/src/app/[site]/components/Header/DemoSignupBanner.tsxindex bb1a0f8a5..d1997f0d0 100644--- a/client/src/app/[site]/components/Header/DemoSignupBanner.tsx+++ b/client/src/app/[site]/components/Header/DemoSignupBanner.tsx@@ -6,7 +6,7 @@ import { Button } from "../../../../components/ui/button";import { DEMO_HOSTNAME } from "../../../../lib/const";export function DemoSignupBanner() {- // Only show on demo.rybbit.io and not in an iframe+ // Only show on demo.rybbit.com and not in an iframeif (typeof window === "undefined" || window.location.host !== DEMO_HOSTNAME) {return null;}diff --git a/client/src/app/layout.tsx b/client/src/app/layout.tsxindex 5583f34f5..09be64dbc 100644--- a/client/src/app/layout.tsx+++ b/client/src/app/layout.tsx@@ -37,7 +37,7 @@ export default function RootLayout({ children }: { children: React.ReactNode }){isAppProduction && (<><Script- src="https://demo.rybbit.io/api/script.js"+ src="https://demo.rybbit.com/api/script.js"data-site-id="21"strategy="afterInteractive"data-web-vitals="true"diff --git a/client/src/hooks/useIsProduction.ts b/client/src/hooks/useIsProduction.tsindex 36086833a..a519072d0 100644--- a/client/src/hooks/useIsProduction.ts+++ b/client/src/hooks/useIsProduction.ts@@ -1,6 +1,6 @@export function useIsProduction() {const hostname = typeof window !== "undefined" ? window.location.hostname : "";- const isProduction = hostname === "demo.rybbit.io" || hostname === "app.rybbit.io";+ const isProduction = hostname === "demo.rybbit.com" || hostname === "app.rybbit.io";const isAppProduction = hostname === "app.rybbit.io";return { isProduction, isAppProduction };diff --git a/client/src/lib/const.ts b/client/src/lib/const.tsindex a9192c366..50274534f 100644--- a/client/src/lib/const.ts+++ b/client/src/lib/const.ts@@ -7,4 +7,4 @@ export const IS_CLOUD = process.env.NEXT_PUBLIC_CLOUD === "true";// Time constantsexport const MINUTES_IN_24_HOURS = 24 * 60; // 1440 minutes-export const DEMO_HOSTNAME = "demo.rybbit.io";+export const DEMO_HOSTNAME = "demo.rybbit.com";diff --git a/docs/content/blog/website-traffic-drop.mdx b/docs/content/blog/website-traffic-drop.mdxindex 5a4c84ccf..464f0c21c 100644--- a/docs/content/blog/website-traffic-drop.mdx+++ b/docs/content/blog/website-traffic-drop.mdx@@ -32,7 +32,7 @@ First things first – let's figure out if this is actually a sudden drop or ifFirst, take a look at the amount of traffic that has dropped. You can use the main tab on Rybbit to find this information:-Head to your [main tab](https://demo.rybbit.io/1/main) in Rybbit and start looking at different time periods:+Head to your [main tab](https://demo.rybbit.com/1/main) in Rybbit and start looking at different time periods:* Compare the last 7 days to the week before* Look at the past 30 days versus the 30 days before thatdiff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdxindex 2dd125e7e..88a318bfe 100644--- a/docs/content/docs/index.mdx+++ b/docs/content/docs/index.mdx@@ -31,12 +31,12 @@ import {SiWordpress} from '@icons-pack/react-simple-icons';-**Rybbit** is a powerful open source web and products analytics platform. Check out our [live demo](https://demo.rybbit.io/1) using a real production site that sends over **15,000,000** events a month.+**Rybbit** is a powerful open source web and products analytics platform. Check out our [live demo](https://demo.rybbit.com/1) using a real production site that sends over **15,000,000** events a month.<div className="relative z-10 rounded-lg overflow-hidden border-8 border-neutral-100/5 shadow-2xl shadow-emerald-900/10">{/* Remove mobile message and show iframe on all devices */}<iframe- src="https://demo.rybbit.io/21"+ src="https://demo.rybbit.com/21"width="1300"height="750"className="w-full h-[600px] md:h-[700px] lg:h-[750px]"diff --git a/docs/src/app/(home)/page.tsx b/docs/src/app/(home)/page.tsxindex 67fb5e7b0..15cd2a43a 100644--- a/docs/src/app/(home)/page.tsx+++ b/docs/src/app/(home)/page.tsx@@ -128,7 +128,7 @@ export default function HomePage() {Track your site</TrackedButton><TrackedButton- href="https://demo.rybbit.io/21"+ href="https://demo.rybbit.com/21"eventName="demo"eventProps={{ location: "hero", button_text: "See live demo" }}className="w-full sm:w-auto bg-neutral-800 hover:bg-neutral-700 text-white font-medium px-5 py-3 rounded-lg border border-neutral-600 transform hover:-translate-y-0.5 transition-all duration-200 hover:border-neutral-400 focus:outline-none focus:ring-2 focus:ring-neutral-400 focus:ring-opacity-50 cursor-pointer"@@ -163,7 +163,7 @@ export default function HomePage() {<div className="relative z-10 rounded-lg overflow-hidden border-8 border-neutral-100/5 shadow-2xl shadow-emerald-900/10">{/* Remove mobile message and show iframe on all devices */}<iframe- src="https://demo.rybbit.io/21/globe?timeMode=range&wellKnown=last-7-days&bucket=day&stat=users"+ src="https://demo.rybbit.com/21/globe?timeMode=range&wellKnown=last-7-days&bucket=day&stat=users"width="1300"height="750"className="w-full h-[600px] md:h-[700px] lg:h-[750px]"@@ -370,7 +370,7 @@ export default function HomePage() {<br /><p>You can see for yourself by checking out our{" "}- <Link href="https://demo.rybbit.io/21" className="text-emerald-400 hover:text-emerald-300">+ <Link href="https://demo.rybbit.com/21" className="text-emerald-400 hover:text-emerald-300">demo site</Link>. The difference in usability is night and day.diff --git a/docs/src/app/compare/components/ComparisonPage.tsx b/docs/src/app/compare/components/ComparisonPage.tsxindex d389723fb..6351a62fa 100644--- a/docs/src/app/compare/components/ComparisonPage.tsx+++ b/docs/src/app/compare/components/ComparisonPage.tsx@@ -76,7 +76,7 @@ export function ComparisonPage({ competitorName, sections, comparisonContent }:Track your site</TrackedButton><TrackedButton- href="https://demo.rybbit.io/21"+ href="https://demo.rybbit.com/21"eventName="demo"eventProps={{ location: "hero", button_text: "See live demo" }}className="w-full sm:w-auto bg-neutral-800 hover:bg-neutral-700 text-white font-medium px-5 py-3 rounded-lg border border-neutral-600 transform hover:-translate-y-0.5 transition-all duration-200 hover:border-neutral-400 focus:outline-none focus:ring-2 focus:ring-neutral-400 focus:ring-opacity-50 cursor-pointer"diff --git a/docs/src/app/layout.config.tsx b/docs/src/app/layout.config.tsxindex 86edbcc88..409b34e7b 100644--- a/docs/src/app/layout.config.tsx+++ b/docs/src/app/layout.config.tsx@@ -28,7 +28,7 @@ export const baseOptions: BaseLayoutProps = {// },{text: "Demo",- url: "https://demo.rybbit.io/21",+ url: "https://demo.rybbit.com/21",external: true,},// {diff --git a/docs/src/app/layout.tsx b/docs/src/app/layout.tsxindex 4bc420e89..564a008b8 100644--- a/docs/src/app/layout.tsx+++ b/docs/src/app/layout.tsx@@ -78,7 +78,7 @@ export default function Layout({ children }: { children: ReactNode }) {return (<html lang="en" suppressHydrationWarning className="dark"><Script- src="https://demo.rybbit.io/api/script.js"+ src="https://demo.rybbit.com/api/script.js"data-site-id="21"strategy="afterInteractive"data-session-replay="true"diff --git a/docs/src/components/CustomHeader.tsx b/docs/src/components/CustomHeader.tsxindex f85f1dbb5..6fdf37d5e 100644--- a/docs/src/components/CustomHeader.tsx+++ b/docs/src/components/CustomHeader.tsx@@ -51,7 +51,7 @@ export function CustomHeader() {Blog</Link><a- href="https://demo.rybbit.io/21"+ href="https://demo.rybbit.com/21"target="_blank"rel="noopener noreferrer"className="text-sm font-base text-neutral-400 hover:text-white transition-colors"@@ -152,7 +152,7 @@ export function CustomHeader() {Blog</Link><a- href="https://demo.rybbit.io/21"+ href="https://demo.rybbit.com/21"target="_blank"rel="noopener noreferrer"className="block rounded-md px-3 py-2 text-base font-medium text-neutral-300 hover:bg-neutral-800 hover:text-white"diff --git a/server/src/services/telemetryService.ts b/server/src/services/telemetryService.tsindex 9fea1d4c0..a57667199 100644--- a/server/src/services/telemetryService.ts+++ b/server/src/services/telemetryService.ts@@ -105,7 +105,7 @@ class TelemetryService {// Send telemetry to cloud instanceprivate async sendTelemetry(data: any) {try {- const response = await fetch("https://demo.rybbit.io/api/admin/telemetry", {+ const response = await fetch("https://demo.rybbit.com/api/admin/telemetry", {method: "POST",headers: {"Content-Type": "application/json",