About this project

@stacksjs/analytics is a privacy-focused analytics toolkit designed for web applications. It utilizes a DynamoDB single-table design to provide scalable and cost-effective storage of analytics data without relying on cookies or collecting personal data, ensuring GDPR compliance by design. Key capabilities include: - **Tracking & Monitoring**: Captures page views, SPA route changes, outbound clicks, engagement time, web vitals, and JavaScript errors. - **Analytics Features**: Supports real-time visitor tracking, conversion goal definition, and pre-computed statistics via an aggregation pipeline. - **Integration Options**: Framework agnostic with support for Bun, Express, Hono, and AWS Lambda, including first-class integration with the Stacks framework. - **Developer Tooling**: Provides a tracking script generator, API handlers, and infrastructure-as-code generators for CloudFormation, AWS CDK, and SAM. - **UI Components**: Includes a set of Vue 3 dashboard components (e.g., TimeSeriesChart, DeviceBreakdown, RealtimeCounter) for visualizing data.