Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Remove open startup page

Blue Mouse8d07f33dc910
diff --git a/web/app/components/Footer/index.tsx b/web/app/components/Footer/index.tsx
index e09005ee0..2bccd9413 100644
--- a/web/app/components/Footer/index.tsx
+++ b/web/app/components/Footer/index.tsx
@@ -11,7 +11,6 @@ import {
ChartPieIcon,
GlobeIcon,
TreeStructureIcon,
- LockKeyIcon,
PulseIcon,
ArticleIcon,
EnvelopeIcon,
@@ -399,13 +398,6 @@ const productionNavigation = {
] as NavItem[],
comparisons,
company: [
- {
- key: 'open',
- href: routesPath.open,
- internal: true,
- icon: LockKeyIcon,
- iconColor: 'text-teal-400',
- },
{
key: 'blog',
href: routesPath.blog,
diff --git a/web/app/pages/OpenStartup/index.tsx b/web/app/pages/OpenStartup/index.tsx
deleted file mode 100644
index 48f4a0a10..000000000
--- a/web/app/pages/OpenStartup/index.tsx
+++ /dev/null
@@ -1,498 +0,0 @@
-/* eslint-disable no-useless-escape */
-import billboard, { bar, grid, line } from 'billboard.js'
-import { useEffect } from 'react'
-import { useTranslation, Trans } from 'react-i18next'
-
-import { LIVE_DEMO_URL } from '~/lib/constants'
-import { Stats } from '~/lib/models/Stats'
-import { Text } from '~/ui/Text'
-import { nFormatterSeparated } from '~/utils/generic'
-
-// This should be generated on the API side, will be done later.
-// MRR taken from Profitwell dashboard
-// Revenue taken from Paddle dashboard
-const financeData = {
- '2021-08-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': 0,
- MRR: 0,
- Revenue: 0,
- },
- '2021-09-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': 0,
- MRR: 0,
- Revenue: 0,
- },
- '2021-10-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': 0,
- MRR: 0,
- Revenue: 0,
- },
- '2021-11-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': 0,
- MRR: 0,
- Revenue: 0,
- },
- '2021-12-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': 0,
- MRR: 0,
- Revenue: 0,
- },
- '2022-01-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': 0,
- MRR: 0,
- Revenue: 0,
- },
- '2022-02-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': 0,
- MRR: 2,
- Revenue: 2,
- },
- '2022-03-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': 0,
- MRR: 15,
- Revenue: 14,
- },
- '2022-04-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': -300,
- MRR: 15,
- Revenue: 14,
- },
- '2022-05-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': -300,
- MRR: 15,
- Revenue: 14,
- },
- '2022-06-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': -300,
- MRR: 15,
- Revenue: 14,
- },
- '2022-07-01': {
- 'Technical Expenses': -32,
- 'Business Expenses': -300,
- MRR: 15,
- Revenue: 14,
- },
- '2022-08-01': {
- 'Technical Expenses': -42,
- 'Business Expenses': -300,
- MRR: 15,
- Revenue: 14,
- },
- '2022-09-01': {
- 'Technical Expenses': -42,
- 'Business Expenses': -350,
- MRR: 15,
- Revenue: 14,
- },
- '2022-10-01': {
- 'Technical Expenses': -48,
- 'Business Expenses': -300,
- MRR: 15,
- Revenue: 14,
- },
- '2022-11-01': {
- 'Technical Expenses': -48,
- 'Business Expenses': -300,
- MRR: 15,
- Revenue: 14,
- },
- '2022-12-01': {
- 'Technical Expenses': -48,
- 'Business Expenses': -400,
- MRR: 15,
- Revenue: 14,
- },
- '2023-01-01': {
- 'Technical Expenses': -48,
- 'Business Expenses': -375,
- MRR: 15,
- Revenue: 14,
- },
- '2023-02-01': {
- 'Technical Expenses': -48,
- 'Business Expenses': -300,
- MRR: 35,
- Revenue: 31,
- },
- '2023-03-01': {
- 'Technical Expenses': -48,
- 'Business Expenses': -370,
- MRR: 30,
- Revenue: 26,
- },
- '2023-04-01': {
- 'Technical Expenses': -48,
- 'Business Expenses': -50,
- MRR: 34,
- Revenue: 73,
- },
- '2023-05-01': {
- 'Technical Expenses': -48,
- 'Business Expenses': -650,
- MRR: 38,
- Revenue: 73,
- },
- '2023-06-01': {
- 'Technical Expenses': -48,
- 'Business Expenses': -300,
- MRR: 38,
- Revenue: 22,
- },
- '2023-07-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': -300,
- MRR: 63,
- Revenue: 63,
- },
- '2023-08-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': 0,
- MRR: 64,
- Revenue: 49,
- },
- '2023-09-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': 0,
- MRR: 58,
- Revenue: 86,
- },
- '2023-10-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': 0,
- MRR: 68,
- Revenue: 47,
- },
- '2023-11-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': 0,
- MRR: 77,
- Revenue: 100,
- },
- '2023-12-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': 0,
- MRR: 101,
- Revenue: 216,
- },
- '2024-01-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': -366,
- MRR: 119,
- Revenue: 307,
- },
- '2024-02-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': 0,
- MRR: 129,
- Revenue: 403,
- },
- '2024-03-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': -252, // google ads campaign
- MRR: 144,
- Revenue: 150,
- },
- '2024-04-01': {
- 'Technical Expenses': -23,
- 'Business Expenses': -255, // google ads campaign
- MRR: 148,
- Revenue: 1536,
- },
- '2024-05-01': {
- 'Technical Expenses': -40,
- 'Business Expenses': -45, // [personal expence for business] Wise
- MRR: 159,
- Revenue: 1300,
- },
- '2024-06-01': {
- 'Technical Expenses': -40,
- 'Business Expenses': -252, // marketing
- MRR: 192,
- Revenue: 1624,
- },
- '2024-07-01': {
- 'Technical Expenses': -40,
- 'Business Expenses': -695, // marketing + marketing freelancer
- MRR: 204,
- Revenue: 264,
- },
- '2024-08-01': {
- 'Technical Expenses': -45,
- 'Business Expenses': -898, // marketing + marketing freelancer
- MRR: 204,
- Revenue: 781,
- },
- '2024-09-01': {
- 'Technical Expenses': -69,
- 'Business Expenses': -1005, // marketing + marketing freelancer
- MRR: 214,
- Revenue: 818,
- },
- '2024-10-01': {
- 'Technical Expenses': -75, // cloud hosting, mail
- 'Business Expenses': -1148, // google ads + marketing freelancer
- MRR: 238,
- Revenue: 6378,
- },
- '2024-11-01': {
- 'Technical Expenses': -75, // cloud hosting, mail
- 'Business Expenses': -565, // google ads
- MRR: 257,
- Revenue: 340,
- },
- '2024-12-01': {
- 'Technical Expenses': -96, // cloud hosting, mail, accounting
- 'Business Expenses': -1859, // google ads + marketing freelancer + gov
- MRR: 291,
- Revenue: 1059,
- },
- '2025-01-01': {
- 'Technical Expenses': -123, // cloud hosting, mail, accounting
- 'Business Expenses': -362, // google ads + office
- MRR: 298,
- Revenue: 178,
- },
- '2025-02-01': {
- 'Technical Expenses': -144, // cloud hosting, mail, accounting
- 'Business Expenses': -42, // gov
- MRR: 311,
- Revenue: 1312,
- },
-}
-
-const financeDataToColumns = (financeData: any) => {
- const dates = Object.keys(financeData)
- const columns = [
- ['Technical Expenses'],
- ['Business Expenses'],
- ['MRR'],
- ['Profit'],
- ['Revenue'],
- ['x'],
- ]
-
- dates.forEach((date) => {
- columns[0].push(financeData[date]['Technical Expenses'])
- columns[1].push(financeData[date]['Business Expenses'])
- columns[2].push(financeData[date]['MRR'])
- columns[3].push(
- financeData[date]['Revenue'] +
- financeData[date]['Technical Expenses'] +
- financeData[date]['Business Expenses'],
- )
- columns[4].push(financeData[date]['Revenue'])
- columns[5].push(date)
- })
-
- return columns
-}
-
-const columns = financeDataToColumns(financeData)
-
-const groups = [
- 'Revenue',
- 'MRR',
- 'Profit',
- 'Technical Expenses',
- 'Business Expenses',
-]
-
-const getSettings = () => {
- return {
- ...grid(),
- data: {
- x: 'x',
- xFormat: '%b %Y',
- columns,
- types: {
- 'Technical Expenses': bar(),
- 'Business Expenses': bar(),
- MRR: bar(),
- Profit: line(),
- Revenue: line(),
- },
- colors: {
- 'Technical Expenses': '#EC4319',
- 'Business Expenses': '#F27059',
- MRR: '#709775',
- Profit: '#A5E6AB',
- Revenue: '#12731E',
- },
- groups: [['MRR', 'Technical Expenses', 'Business Expenses']],
- },
- axis: {
- x: {
- type: 'timeseries',
- tick: {
- format: '%b %Y',
- },
- },
- y: {
- tick: {
- // format: (d: string) => getStringFromTime(getTimeFromSeconds(d), true),
- },
- },
- },
- tooltip: {
- // format: {
- // title: (x: string) => d3.timeFormat(tbsFormatMapper[timeBucket])(x),
- // },
- order: (a: any, b: any) => {
- const aIndex = groups.indexOf(a.name)
- const bIndex = groups.indexOf(b.name)
-
- // ascending order
- return aIndex - bIndex
- },
- contents: {
- template: `
- <ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-900 rounded-md shadow-md px-3 py-1'>
- <li class='font-semibold'>{=TITLE}</li>
- <hr class='border-gray-200 dark:border-slate-800' />
- {{
- <li class='flex justify-between'>
- <div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:{=COLOR}></div>
- <span>{=NAME}</span>
- </div>
- <span class='pl-4'>{=VALUE} US\$</span>
- </li>
- }}
- </ul>
- `,
- },
- },
- point: {
- // focus: {
- // only: xAxisSize > 1,
- // },
- pattern: ['circle'],
- r: 3,
- },
- legend: {
- usePoint: true,
- item: {
- tile: {
- width: 10,
- },
- },
- },
- bindto: '#open-startup',
- }
-}
-
-interface OpenStartupProps {
- stats: Stats | null
-}
-
-const OpenStartup = ({ stats }: OpenStartupProps) => {
- const { t }: any = useTranslation('common')
-
- const events = nFormatterSeparated(Number(stats?.events || 0), 1)
- const users = nFormatterSeparated(Number(stats?.users || 0), 1)
- const websites = nFormatterSeparated(Number(stats?.projects || 0), 1)
-
- useEffect(() => {
- const bbSettings = getSettings()
-
- try {
- // @ts-expect-error
- billboard.generate(bbSettings)
- } catch {
- // billboard.js can throw when page translators rewrite the SVG internals
- }
- }, [])
-
- return (
- <div className='min-h-page bg-gray-50 dark:bg-slate-950'>
- <div className='mx-auto px-4 pt-12 pb-16 whitespace-pre-line sm:px-6 md:w-4/5 lg:px-8'>
- <Text as='h1' size='4xl' weight='bold' tracking='tight'>
- {t('titles.open')}
- </Text>
-
- <Text as='p' size='lg' className='mt-2'>
- {t('open.desc')}
- </Text>
-
- <Text as='p' size='lg' className='mt-2'>
- {t('open.updated')}
- </Text>
-
- <Text as='h2' size='2xl' weight='bold' className='mt-8 tracking-tight'>
- {t('open.finance.title')}
- </Text>
-
- <Text as='p' size='lg' className='mt-2'>
- {t('open.finance.desc')}
- </Text>
-
- <div
- className='notranslate mt-4 h-80'
- id='open-startup'
- translate='no'
- />
-
- <Text as='h2' size='2xl' weight='bold' className='mt-8 tracking-tight'>
- {t('open.usage.title')}
- </Text>
-
- <Text as='p' size='lg' className='mt-2'>
- {t('open.usage.desc')}
- </Text>
-
- <Text as='p' size='base' className='mt-2'>
- {t('main.users')}
- {': '}
- {users[0]}
- {users[1] ? <span>{users[1]}+</span> : null}
- </Text>
-
- <Text as='p' size='base' className='mt-2'>
- {t('main.websites')}
- {': '}
- {websites[0]}
- {websites[1] ? <span>{websites[1]}+</span> : null}
- </Text>
-
- <Text as='p' size='base' className='mt-2'>
- {t('main.pageviews')}
- {': '}
- {events[0]}
- {events[1] ? <span>{events[1]}+</span> : null}
- </Text>
-
- <Text as='p' size='base' className='mt-2'>
- <Trans
- t={t}
- i18nKey='open.usage.live'
- components={{
- livedemo: (
- <a
- href={LIVE_DEMO_URL}
- aria-label={t('ariaLabels.openLiveDemo')}
- target='_blank'
- rel='noopener noreferrer'
- className='font-medium underline decoration-dashed hover:decoration-solid'
- />
- ),
- }}
- />
- </Text>
- </div>
- </div>
- )
-}
-
-export default OpenStartup
diff --git a/web/app/routes/open.tsx b/web/app/routes/open.tsx
deleted file mode 100644
index 69d205e77..000000000
--- a/web/app/routes/open.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-import { useTranslation } from 'react-i18next'
-import {
- redirect,
- type LoaderFunctionArgs,
- type MetaFunction,
- useLoaderData,
- LinksFunction,
-} from 'react-router'
-import type { SitemapFunction } from 'remix-sitemap'
-
-import { getGeneralStats } from '~/api/api.server'
-import {
- getOgImageUrl,
- isDisableMarketingPages,
- isSelfhosted,
-} from '~/lib/constants'
-import OpenStartup from '~/pages/OpenStartup'
-import Style from '~/styles/ProjectViewStyle.css?url'
-import { getDescription, getPreviewImage, getTitle } from '~/utils/seo'
-
-export const meta: MetaFunction = () => {
- // eslint-disable-next-line react-hooks/rules-of-hooks
- const { t } = useTranslation('common')
-
- return [
- ...getTitle(t('titles.open')),
- ...getDescription(t('description.open')),
- ...getPreviewImage(getOgImageUrl(t('titles.open'), t('description.open'))),
- ]
-}
-
-export const links: LinksFunction = () => {
- return [{ rel: 'stylesheet', href: Style }]
-}
-
-export const sitemap: SitemapFunction = () => ({
- priority: 0.8,
- exclude: isSelfhosted || isDisableMarketingPages,
-})
-
-export async function loader({ request }: LoaderFunctionArgs) {
- if (isSelfhosted || isDisableMarketingPages) {
- return redirect('/login', 302)
- }
-
- const stats = await getGeneralStats(request)
-
- return { stats }
-}
-
-export default function Index() {
- const { stats } = useLoaderData<typeof loader>()
-
- return <OpenStartup stats={stats} />
-}
diff --git a/web/app/utils/routes.ts b/web/app/utils/routes.ts
index 9ce559aea..f5ebb8fe0 100644
--- a/web/app/utils/routes.ts
+++ b/web/app/utils/routes.ts
@@ -36,7 +36,6 @@ const routes = Object.freeze({
socialised: '/socialised',
gsc_connected: '/gsc-connected',
ga4_import_connected: '/ga4-import-connected',
- open: '/open',
blog: '/blog',
glossary: '/glossary',
imprint: '/imprint',
diff --git a/web/public/llms.txt b/web/public/llms.txt
index 3cac10789..1fe02251a 100644
--- a/web/public/llms.txt
+++ b/web/public/llms.txt
@@ -39,7 +39,6 @@ Swetrix is built with Nest.js backend (MySQL + ClickHouse databases) and Remix f
- [Privacy Policy](https://swetrix.com/privacy): Details on data handling and privacy practices
- [Terms of Service](https://swetrix.com/terms): Legal terms and conditions
-- [Open Startup Metrics](https://swetrix.com/open): Public business metrics including revenue and user statistics
- [Blog](https://swetrix.com/blog): Articles about web analytics, privacy, and performance optimisation
- [Discord Community](https://discord.gg/ZVK8Tw2E8j): Community support and discussions
- [Twitter](https://x.com/swetrix): Official Twitter account
diff --git a/web/public/locales/en.json b/web/public/locales/en.json
index 0cbfd6b9a..466b66b5a 100644
--- a/web/public/locales/en.json
+++ b/web/public/locales/en.json
@@ -3355,19 +3355,6 @@
"tooManyImages": "You can attach up to {{count}} images"
}
},
- "open": {
- "desc": "Swetrix is an Open Startup, we share our metrics, such as revenue, losses, amount of users, etc. with the public.",
- "updated": "This page is updated regularly.",
- "finance": {
- "title": "Finance metrics",
- "desc": "Our financial metrics, such as revenue, losses, etc."
- },
- "usage": {
- "title": "Usage metrics",
- "desc": "Our user metrics, such as amount of active users, connected websites.",
- "live": "You can see our live metrics on our <livedemo>public dashboard</livedemo>. You can also make your own Swetrix Dashboards public and adjust them to your needs."
- }
- },
"checkout": {
"title": "Start your free trial",
"subtitle": "Try Swetrix free for {{days}} days. Cancel anytime.",
@@ -3469,7 +3456,6 @@
"contact": "Have something to ask?",
"main": "Swetrix - Cookieless Google Analytics Alternative",
"socialisation": "Socialisation",
- "open": "Open startup",
"passwordProtected": "Password required",
"performance": "End user performance monitoring to deliver fast websites",
"errors": "End user error tracking tool to deliver bug-free experiences",
@@ -3490,7 +3476,6 @@
"signup": "Create your Swetrix account and start tracking website traffic with cookieless, privacy-friendly analytics - simple setup, real-time stats.",
"checkout": "Choose a Swetrix plan and complete your subscription — cookieless, privacy-first analytics with real-time insights.",
"onboarding": "Get started with Swetrix (cookieless & privacy-first Google Analytics alternative) in just a few steps.",
- "open": "Open startup metrics: learn more about our key financial & operational metrics.",
"recovery": "Forgot your password? Use our password recovery functionality to restore access to your account.",
"performance": "Monitor real-user website speed with Swetrix - page load, TTFB, DNS/TLS timings and percentiles. Privacy-first and cookieless. Free 14-day trial, no card required.",
"project": "View public web analytics for {{name}}. Privacy-friendly tracking powered by Swetrix - no cookies or invasive user tracking.",
@@ -3578,7 +3563,6 @@
"status": "Status",
"supportUs": "Support us",
"captcha": "CAPTCHA",
- "open": "Open startup",
"about": "About us",
"features": "Features",
"imprint": "Legal notice",