Skip to content

Rename /llm-analytics product page to /ai-observability#17134

Open
posthog[bot] wants to merge 2 commits into
masterfrom
posthog-code/rename-llm-analytics-to-ai-observability
Open

Rename /llm-analytics product page to /ai-observability#17134
posthog[bot] wants to merge 2 commits into
masterfrom
posthog-code/rename-llm-analytics-to-ai-observability

Conversation

@posthog
Copy link
Copy Markdown
Contributor

@posthog posthog Bot commented May 29, 2026

Changes

Renames the AI Observability product page from /llm-analytics to /ai-observability, with a redirect from the old URL so existing links continue to work.

  • Renamed src/pages/llm-analytics/src/pages/ai-observability/
  • Updated the product slug in src/hooks/productData/llm_analytics.tsx, src/hooks/featureDefinitions/llm_analytics.tsx, and the three nested entries in src/hooks/useProduct.ts
  • Updated the entry in src/lib/productInterest.ts
  • Updated two internal hrefs: src/components/ReaderView/index.tsx and src/components/Home/Board/index.tsx
  • Added { "source": "/llm-analytics", "destination": "/ai-observability" } to vercel.json

The 80+ existing blog/newsletter references to /llm-analytics continue to work via the new redirect and were intentionally left untouched.

Checklist

  • I've read the docs and/or content style guides.
  • Words are spelled using American English
  • Use relative URLs for internal links
  • I've checked the pages added or changed in the Vercel preview build
  • If I moved a page, I added a redirect in vercel.json

Created with PostHog Code

Moves the AI Observability product page from /llm-analytics to /ai-observability and adds a 308 redirect so existing links continue to work.

- Renames src/pages/llm-analytics/ -> src/pages/ai-observability/
- Updates the product slug in productData, featureDefinitions, and useProduct
- Updates the productInterest array and two internal hrefs (ReaderView, Home/Board)
- Adds /llm-analytics -> /ai-observability redirect in vercel.json

The 80+ blog/newsletter references to /llm-analytics continue to work via the new redirect.

Generated-By: PostHog Code
Task-Id: 13bae98b-9809-4e25-8745-d836fa6e178d
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview May 29, 2026 06:25PM

The prod_interest super property gets stored on each visitor as an array of slugs. Renaming the slug to 'ai-observability' would have orphaned all existing historical interest values stored as 'llm-analytics' on existing visitors, and the PostHog app's PROD_INTEREST_TO_PRODUCT map (frontend/src/scenes/onboarding/productSelection/browsingHistoryMapping.ts) plus the WebsiteBrowsingHistoryProdInterest type only know about 'llm-analytics' — new visits to /ai-observability would have been filtered out by isValidProdInterest and never mapped to onboarding.

Keeps 'llm-analytics' as the canonical tracking slug and adds a SLUG_ALIASES map so the new /ai-observability URL still produces tracking. No monorepo changes required.

Generated-By: PostHog Code
Task-Id: 13bae98b-9809-4e25-8745-d836fa6e178d
@posthog posthog Bot marked this pull request as ready for review May 29, 2026 18:11
@Radu-Raicea Radu-Raicea requested a review from a team May 29, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants