From 53aa51c5d79df8657051ecfa8efc09b0fa2e08ef Mon Sep 17 00:00:00 2001 From: doublem320-design Date: Mon, 3 Aug 2026 05:00:29 -0400 Subject: [PATCH 1/2] fix(docs): mention stats-tracker alias on /docs index Several places in the app link to /docs/stats-tracker (github integration page, getting-started wizard, install-tracker script), but the /docs index page only listed /docs/statistics. Users following those internal links would land on the right page but never see it in the docs navigation. Add a note in the Statistics card copy so anyone arriving from those links can find the canonical entry in the docs index. --- app/(marketing)/docs/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(marketing)/docs/page.tsx b/app/(marketing)/docs/page.tsx index 49af5e98..8234d34f 100644 --- a/app/(marketing)/docs/page.tsx +++ b/app/(marketing)/docs/page.tsx @@ -24,7 +24,7 @@ const DOCS: DocCard[] = [ href: "/docs/statistics", title: "Statistics", description: - "Install the cookieless tracker, collect pageviews and interactions, and send custom events from any frontend stack.", + "Install the cookieless tracker, collect pageviews and interactions, and send custom events from any frontend stack. Also reachable at /docs/stats-tracker.", }, { href: "/docs/autoblog-webhook", From d0a63767d609d007f869bbd9dface36853946ec0 Mon Sep 17 00:00:00 2001 From: doublem320-design Date: Mon, 3 Aug 2026 05:03:07 -0400 Subject: [PATCH 2/2] fix(docs): add canonical URL to stats-tracker alias to avoid duplicate content --- app/(marketing)/docs/stats-tracker/page.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/(marketing)/docs/stats-tracker/page.tsx b/app/(marketing)/docs/stats-tracker/page.tsx index 30dec7de..61d3f47e 100644 --- a/app/(marketing)/docs/stats-tracker/page.tsx +++ b/app/(marketing)/docs/stats-tracker/page.tsx @@ -1 +1,11 @@ -export { metadata, default } from "../statistics/page"; +// /docs/stats-tracker is a legacy alias of /docs/statistics. +// Re-export the page but override metadata so search engines treat the +// canonical URL as /docs/statistics and don't index this as duplicate content. +export const metadata = { + title: "Statistics", + description: + "Install the cookieless tracker, collect pageviews and interactions, and send custom events from any frontend stack.", + alternates: { canonical: "/docs/statistics" }, +}; + +export { default } from "../statistics/page"; \ No newline at end of file