stack/packages
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
..
init-stack chore: update package versions 2026-02-16 12:05:06 -08:00
js session replays (#1187) 2026-02-16 14:15:17 -08:00
react session replays (#1187) 2026-02-16 14:15:17 -08:00
stack session replays (#1187) 2026-02-16 14:15:17 -08:00
stack-sc chore: update package versions 2026-02-16 12:05:06 -08:00
stack-shared Analytics event tracking (#1208) 2026-02-17 18:33:01 -08:00
stack-ui Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
template Analytics event tracking (#1208) 2026-02-17 18:33:01 -08:00