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

Platform analytics

Host: control.<ROOT_DOMAIN> · Route: /analytics

Purpose and access

Review platform-wide growth, subscriptions, and module adoption.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 screen shows analytics summaries, Mahalle growth, Subscriptions, and Module adoption panels.

Fields and displayed information

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

Actions

Navigation and row interactions are described in the sequence below.

Interaction sequence

Open Platform Analytics → inspect the charts and distributions → follow platform navigation to investigate tenants or plans.

States and rules

This screen is read-only. Analytics requests use platform authorization; a chart does not grant access to a tenant’s private operational records.

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)/analytics/page.tsx
  • apps/web/src/features/platform/growth-chart.tsx
  • apps/web/src/features/platform/module-adoption-list.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