Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/(marketing)/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
12 changes: 11 additions & 1 deletion app/(marketing)/docs/stats-tracker/page.tsx
Original file line number Diff line number Diff line change
@@ -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";
Loading