Portfolio

First-Party Product Analytics & Admin Dashboards

Understanding feature adoption with an analytics stack you control

First-party analytics designed across IT-Keys products to track feature adoption, usage trends, engagement and operational performance without depending entirely on external tracking platforms. Explicit event schemas and Supabase/Postgres storage, database/RPC aggregation, protected admin dashboards and authorization tests that verify non-admin users cannot read analytics data. Context Product teams often need answers that generic pageview reporting cannot provide: which feature is being used, where a workflow stops, whether an operational action needs attention and which metrics should be visible only to staff. Across IT-Keys products, selected product events are stored in our own database, aggregated by backend/database functions and shown in protected admin dashboards. Maturity differs by product; some dashboards are in production use while others remain in development. Start with the product question define the product or operational question; define the event that can answer it; define only the properties needed to interpret it; decide how the metric should be aggregated; decide who is allowed to see it; then design the dashboard. Explicit event schemas The pattern uses small, explicit event schemas per product rather than recording every client interaction. Event design asks what action happened, which feature it belongs to, which identifiers/properties are genuinely needed, how long the event should be retained and how schema changes are managed. Data flow product action → validated event → Supabase/Postgres storage → database/RPC aggregation → protected admin dashboard The client records only the context the product needs. Aggregation logic runs in the backend/database so dashboard screens do not reimplement metric definitions. Backend aggregation Database functions and RPCs prepare product metrics for admin interfaces. Centralized aggregation helps keep metric definitions consistent and makes calculations easier to test independently of visual presentation. Admin access and row-level security Analytics can expose sensitive product or operational information even when it does not contain obvious personal data. Controls include admin-only access, database-level policies/row-level security where applicable, backend authorization and tests proving non-admin users cannot read protected analytics data. Dashboard design Dashboards are designed around defined metrics rather than visual density. Feature-adoption trends, usage summaries and operational indicators are shown only where the underlying event schema supports those questions. Validation the expected event is recorded; required properties are valid; aggregation functions return the intended result; unauthorized roles are blocked; the dashboard uses the same metric definition as the backend. A metric in development is not described as a production KPI. What this pattern demonstrates first-party event storage on Supabase/Postgres; explicit event-taxonomy design; database/RPC aggregation; protected admin dashboards; role-based access and RLS patterns; authorization regression testing; feature-adoption and operational reporting patterns. No claim is made that first-party analytics is automatically private or compliant. Privacy depends on what is collected, why, who can access it and how long it is retained. No invented engagement, conversion or retention improvements are used as proof. Related capabilities Data Analytics & Business Intelligence , Cloud Engineering, Backend & DevOps and Application Security & Data Protection .