Rename /llm-analytics product page to /ai-observability#17134
Open
posthog[bot] wants to merge 2 commits into
Open
Rename /llm-analytics product page to /ai-observability#17134posthog[bot] wants to merge 2 commits into
posthog[bot] wants to merge 2 commits into
Conversation
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
Contributor
Deploy preview
|
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
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Renames the AI Observability product page from
/llm-analyticsto/ai-observability, with a redirect from the old URL so existing links continue to work.src/pages/llm-analytics/→src/pages/ai-observability/src/hooks/productData/llm_analytics.tsx,src/hooks/featureDefinitions/llm_analytics.tsx, and the three nested entries insrc/hooks/useProduct.tssrc/lib/productInterest.tssrc/components/ReaderView/index.tsxandsrc/components/Home/Board/index.tsx{ "source": "/llm-analytics", "destination": "/ai-observability" }tovercel.jsonThe 80+ existing blog/newsletter references to
/llm-analyticscontinue to work via the new redirect and were intentionally left untouched.Checklist
vercel.jsonCreated with PostHog Code