Skip to main content
Source snapshot: 13 October 2026. These pages describe the current implementation, including unfinished controls. See coverage and review notes.

Tenant analytics

Host: control.<ROOT_DOMAIN> · Route: /tenants/[tenantId]/analytics

Purpose and access

Inspect tenant-level member growth and subscription summaries.You need an account session and platform access. Platform privileges are separate from tenant roles; privileged writes remain subject to endpoint role checks.

Screen layout

The page presents the selected tenant heading, Member growth chart, subscription information, and supporting tenant metrics.

Fields and displayed information

This screen has no editable fields or filters in its rendered components.

Actions

Linked navigation

Interaction sequence

Open tenant analytics → inspect growth and subscription → follow the tenant/back links to its command center.

States and rules

Missing tenant records use notFound. This screen is analytical and does not expose member, plan, or payment editing forms.

Implementation references

Paths below are relative to the application repository. This is source-reviewed behavior, not a recorded browser test.
  • apps/web/src/app/sites/control/(app)/tenants/[tenantId]/analytics/page.tsx
  • apps/web/src/features/platform/growth-chart.tsx
Data and access helpers: apps/web/src/lib/session.ts, apps/web/src/lib/server-api.ts, apps/web/src/lib/platform.ts, apps/web/src/lib/analytics.ts

API behavior references

  • apps/api/src/platform/platform-tenant-access.controller.ts
  • apps/api/src/platform/platform.controller.ts
  • apps/api/src/billing/plans.controller.ts
  • apps/api/src/billing/tenant-billing.controller.ts
  • apps/api/src/features/features.controller.ts
  • apps/api/src/features/tenant-features.controller.ts
  • apps/api/src/forms/forms.controller.ts
  • apps/api/src/analytics/analytics.controller.ts
  • apps/api/src/analytics/tenant-analytics.controller.ts