: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix: Fix health page docs urls (#57665)
Jordan Mryyan49ce46b20218
diff --git a/frontend/src/scenes/health/components/WebAnalyticsHealthTable.tsx b/frontend/src/scenes/health/components/WebAnalyticsHealthTable.tsxindex e31a62416001..595e4eadb5dc 100644--- a/frontend/src/scenes/health/components/WebAnalyticsHealthTable.tsx+++ b/frontend/src/scenes/health/components/WebAnalyticsHealthTable.tsx@@ -1,6 +1,7 @@import { Link } from '@posthog/lemon-ui'import { LemonTable, LemonTableColumns } from 'lib/lemon-ui/LemonTable'+import { urls } from 'scenes/urls'import type { HealthIssue } from '../types'import { dismissActionColumn, severityColumn } from './healthTableColumns'@@ -9,6 +10,7 @@ interface CheckMeta {title: stringdescription: stringdocsUrl?: string+ linkLabel?: string}const CHECK_META: Record<string, CheckMeta> = {@@ -25,12 +27,13 @@ const CHECK_META: Record<string, CheckMeta> = {scroll_depth: {title: 'Scroll depth',description: 'Enable scroll depth to see how far users read your content before leaving.',- docsUrl: 'https://posthog.com/docs/web-analytics/scroll-depth',+ docsUrl: 'https://posthog.com/tutorials/scroll-depth',},authorized_urls: {title: 'Authorized URLs',description: "No authorized URLs configured. Some filters won't work correctly until you set your domains.",- docsUrl: 'https://posthog.com/docs/web-analytics/authorized-urls',+ docsUrl: urls.settings('environment-web-analytics', 'web-analytics-authorized-urls'),+ linkLabel: 'Settings',},reverse_proxy: {title: 'Reverse proxy',@@ -74,7 +77,7 @@ export function WebAnalyticsHealthTable({)}{meta?.docsUrl && (<Link to={meta.docsUrl} className="text-xs text-muted">- Docs+ {meta.linkLabel ?? 'Docs'}</Link>)}</div>