Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(search): find product analytics with insights (#73560)

Matt Puaf38664974649
diff --git a/frontend/src/lib/components/Search/searchLogic.tsx b/frontend/src/lib/components/Search/searchLogic.tsx
index 512a5c74b652..e6ac86a2f2a0 100644
--- a/frontend/src/lib/components/Search/searchLogic.tsx
+++ b/frontend/src/lib/components/Search/searchLogic.tsx
@@ -669,6 +669,9 @@ export const searchLogic = kea<searchLogicType>([
sceneLogViewsByRef: Record<string, string>
): SearchItem[] => {
const allProducts = getTreeItemsProducts()
+ const productSearchKeywords: Record<string, string[]> = {
+ 'Product analytics': ['insights'],
+ }
const filteredProducts = allProducts.filter((product) => {
if (!product.href) {
return false
@@ -691,6 +694,7 @@ export const searchLogic = kea<searchLogicType>([
href: product.href || '#',
itemType: product.iconType || product.type || null,
tags: product.tags,
+ searchKeywords: productSearchKeywords[product.path],
lastViewedAt: product.sceneKey ? (sceneLogViewsByRef[product.sceneKey] ?? null) : null,
disabledReason: getProductAccessDisabledReason(product),
record: {