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.

fix(web-analytics): remove dead docs links and open in new tab (#58158)

Xander16a4765b43fc
diff --git a/frontend/src/scenes/web-analytics/health/components/HealthCheckItem.tsx b/frontend/src/scenes/web-analytics/health/components/HealthCheckItem.tsx
index b0b30dccd9a5..858c51aa7aab 100644
--- a/frontend/src/scenes/web-analytics/health/components/HealthCheckItem.tsx
+++ b/frontend/src/scenes/web-analytics/health/components/HealthCheckItem.tsx
@@ -31,7 +31,7 @@ export function HealthCheckItem({ check }: HealthCheckItemProps): JSX.Element {
<span className="font-medium">{check.title}</span>
)}
{check.docsUrl && (
- <Link to={check.docsUrl} className="text-xs text-muted">
+ <Link to={check.docsUrl} target="_blank" className="text-xs text-muted">
Docs
</Link>
)}
diff --git a/frontend/src/scenes/web-analytics/health/webAnalyticsHealthLogic.ts b/frontend/src/scenes/web-analytics/health/webAnalyticsHealthLogic.ts
index c24951044635..a5e103d63686 100644
--- a/frontend/src/scenes/web-analytics/health/webAnalyticsHealthLogic.ts
+++ b/frontend/src/scenes/web-analytics/health/webAnalyticsHealthLogic.ts
@@ -225,7 +225,6 @@ export const webAnalyticsHealthLogic = kea<webAnalyticsHealthLogicType>([
action: hasAuthorizedUrls
? { label: 'Manage domains', to: urls.settings('environment-web-analytics') }
: { label: 'Add domains', to: urls.settings('environment-web-analytics') },
- docsUrl: 'https://posthog.com/docs/web-analytics/authorized-urls',
},
reverseProxyCheck,
]