Point the admin toolbar insights button to /analytics (#4691)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Steven H
2026-10-16 11:50:11 +01:00
committed by GitHub
parent d839d9dc57
commit 96626fea7c
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix the admin toolbar insights button to link to the site's analytics page.
@@ -317,7 +317,7 @@ function AuthenticatedUserToolbar(props: ToolbarViewProps) {
<ToolbarButton
title="Open insights"
href={getToolbarHref({
href: `${site.urls.app}/insights`,
href: `${site.urls.app}/analytics`,
siteId: site.id,
buttonId: 'insights',
})}