Release Date: 2025-12-29
Previous Version: v0.2.0-alpha.21
This release introduces telemetry tracking infrastructure to enable product analytics and user behavior monitoring. The implementation includes rate-limited event capture with built-in PII sanitization to ensure privacy compliance.
Features
Telemetry Tracking Infrastructure
Added comprehensive telemetry tracking system using PostHog for event analytics:
- Server-side tracking endpoint (
apps/nanx-dev/src/pages/api/e.ts): Implemented POST endpoint at/api/efor receiving and forwarding telemetry events to PostHog. Includes rate limiting (100 requests per 15 minutes per IP) and automatic PII sanitization to prevent sensitive data leakage.
- Client-side tracking utilities (
apps/nanx-dev/src/lib/track.ts): Added helper functions for capturing user events from the frontend. Provides a simple interface for tracking page views, user interactions, and custom events.
- Core tracking library (
libs/nanions/src/tracking/index.ts): Created reusable tracking module in the nanions library for consistent event tracking across the monorepo. This shared implementation can be utilized by other applications in the workspace.
The telemetry infrastructure is designed with privacy-first principles, automatically sanitizing potentially sensitive information before transmission while maintaining useful analytics data for product development and user experience optimization.
Statistics
| Metric | Value |
|---|
| Commits | 2 |
|---|---|
| Files Changed | 2 |
| Lines | +39 / -1 |
| Issues Closed | 0 |
Contributors
| Name | Commits | Lines |
|---|
| VivinMeth ([email protected]) | 2 | +0 / -0 |
|---|