Loading…
The /analytics route itself is a stub: apps/workspace/app/(workspace)/analytics/page.tsx requires
org:analytics:view and immediately redirects to /observability?tab=diagnostics — the standalone
"Tests & Status" diagnostics were consolidated into the unified System Health module.
What remains under /analytics/* are the per-vendor connectivity and test tools:
| Route | Purpose |
|---|---|
/analytics/sentry | Sentry SDK check — runs diagnoseSdkConnectivity() on load and offers a test-error button that throws a namespaced SentryExampleFrontendError to prove the pipeline. |
/analytics/salesforce | Salesforce REST connectivity and CRM stats probe. |
/analytics/clarity | Microsoft Clarity stats probe with access-request and sync-status components. |
All three sit behind the same org:analytics:view gate as the parent. For the product analytics
(dashboards, metrics, rollups) see Lead Attribution and
Operations.
org:analytics:view