stack/apps
BilalG1 145bcb7e92
Analytics event tracking (#1208)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Browser-side event tracker with batching, navigation & click capture
and background/keepalive delivery
* Server endpoint to accept batched analytics events and associate them
with session replay segments
* Client APIs to send analytics batches and integrate with session
replay

* **Bug Fixes / UX**
* Pausing replay now uses the UI-facing playback time for more accurate
pause positions
* Replay endpoint now returns a clear analytics-disabled error
(ANALYTICS_NOT_ENABLED) when analytics is off

* **Tests**
* End-to-end tests covering batch ingestion, validation, and replay
timing behavior
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-17 18:33:01 -08:00
..
backend Analytics event tracking (#1208) 2026-02-17 18:33:01 -08:00
dashboard Analytics event tracking (#1208) 2026-02-17 18:33:01 -08:00
dev-launchpad chore: update package versions 2026-02-16 12:05:06 -08:00
e2e Analytics event tracking (#1208) 2026-02-17 18:33:01 -08:00
mock-oauth-server chore: update package versions 2026-02-16 12:05:06 -08:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00