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!

Minor fixes

Blue Mousea96b5f50ce4d
diff --git a/web/app/routes/organisations.$id.tsx b/web/app/routes/organisations.$id.tsx
index 6470d6bbf..07d496676 100644
--- a/web/app/routes/organisations.$id.tsx
+++ b/web/app/routes/organisations.$id.tsx
@@ -8,7 +8,7 @@ import { data, redirect } from 'react-router'
import type { SitemapFunction } from 'remix-sitemap'
import { serverFetch } from '~/api/api.server'
-import { isSelfhosted, TITLE_SUFFIX } from '~/lib/constants'
+import { isSelfhosted } from '~/lib/constants'
import { DetailedOrganisation } from '~/lib/models/Organisation'
import OrganisationSettings from '~/pages/Organisations/Settings'
import { getDescription, getPreviewImage, getTitle } from '~/utils/seo'
@@ -21,7 +21,7 @@ export const meta: MetaFunction<typeof loader> = ({ data }) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
const { t } = useTranslation('common')
const orgName = data?.organisation?.name || 'Organisation'
- const title = `${t('project.settings.settings')} ${orgName} ${TITLE_SUFFIX}`
+ const title = `${t('project.settings.settings')} ${orgName}`
return [
...getTitle(title),
diff --git a/web/app/routes/projects.$id.tsx b/web/app/routes/projects.$id.tsx
index 9c2c71db1..be3332761 100644
--- a/web/app/routes/projects.$id.tsx
+++ b/web/app/routes/projects.$id.tsx
@@ -97,14 +97,11 @@ export const meta: MetaFunction<typeof loader> = ({ data, location }) => {
const { pathname } = location
const pid = _split(pathname, '/')[2]
const previewURL = `${API_URL}project/ogimage/${pid}?cv=${cacheVersion}`
- const canonicalURL = `${MAIN_URL}/projects/${pid}`
-
if (data?.isPasswordRequired) {
return [
...getTitle(t('titles.projectWithPassword')),
...getDescription(t('description.projectWithPassword')),
...getPreviewImage(previewURL),
- { tagName: 'link', rel: 'canonical', href: canonicalURL },
]
}
@@ -118,7 +115,6 @@ export const meta: MetaFunction<typeof loader> = ({ data, location }) => {
}),
),
...getPreviewImage(previewURL),
- { tagName: 'link', rel: 'canonical', href: canonicalURL },
]
}
diff --git a/web/app/routes/projects.settings.$id.tsx b/web/app/routes/projects.settings.$id.tsx
index b5989641f..3c1c166dc 100644
--- a/web/app/routes/projects.settings.$id.tsx
+++ b/web/app/routes/projects.settings.$id.tsx
@@ -7,7 +7,6 @@ import type {
import { data, redirect } from 'react-router'
import { serverFetch } from '~/api/api.server'
-import { TITLE_SUFFIX } from '~/lib/constants'
import { Project } from '~/lib/models/Project'
import { Subscriber } from '~/lib/models/Subscriber'
import ProjectSettings from '~/pages/Project/Settings'
@@ -21,7 +20,7 @@ export const meta: MetaFunction<typeof loader> = ({ data }) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
const { t } = useTranslation('common')
const projectName = data?.project?.name || 'Project'
- const title = `${t('project.settings.settings')} ${projectName} ${TITLE_SUFFIX}`
+ const title = `${t('project.settings.settings')} ${projectName}`
return [
...getTitle(title),
diff --git a/web/public/locales/en.json b/web/public/locales/en.json
index d3f779dc9..37b65f03a 100644
--- a/web/public/locales/en.json
+++ b/web/public/locales/en.json
@@ -2105,7 +2105,7 @@
"contact": "Contact Swetrix (cookieless & privacy-first Google Analytics alternative) for support, feedback, or any questions and suggestions.",
"errorTracking": "Privacy-first end-user error tracking by Swetrix. Set up in one line, see errors by browser/device/location, and fix issues faster. 14-day free trial - no card required.",
"login": "Log in to Swetrix to view your cookieless, privacy-friendly analytics - real-time insights, no tracking cookies, no GA clutter.",
- "singup": "Create your Swetrix account and start tracking website traffic with cookieless, privacy-friendly analytics - simple setup, real-time stats.",
+ "signup": "Create your Swetrix account and start tracking website traffic with cookieless, privacy-friendly analytics - simple setup, real-time stats.",
"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.",