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!

Update title order

Blue Mouse9d42d4949629
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index d8c8388de..886154cbe 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -799,7 +799,7 @@ const ViewProjectContent = () => {
return
}
- const title = `${project.name} > ${activeTabLabel || t('dashboard.traffic')}`
+ const title = `${activeTabLabel || t('dashboard.traffic')} > ${project.name}`
document.title = `πŸ‘€ ${liveVisitors} - ${title} ${TITLE_SUFFIX}`
}, [project, user?.showLiveVisitorsInTitle, liveVisitors, activeTabLabel, t])
diff --git a/web/app/routes/projects.$id.tsx b/web/app/routes/projects.$id.tsx
index 5fb74ca7d..82a9c07bb 100644
--- a/web/app/routes/projects.$id.tsx
+++ b/web/app/routes/projects.$id.tsx
@@ -125,7 +125,7 @@ export const meta: MetaFunction<typeof loader> = ({ data, location }) => {
settings: t('common.settings'),
}
const tabName = tabNames[tab] || tabNames[PROJECT_TABS.traffic]
- const title = `${projectName} > ${tabName}`
+ const title = `${tabName} > ${projectName}`
return [
...getTitle(title),