React Redux Analytics
summary
Claim: hooking analytics into the Redux event loop yields centralized, maintainable measurement. Implementation uses a small middleware called Redux Segment middleware that emits to segment.io and captures page and track events plus identify calls. Demo shows adding the tracker to middleware stack (after thunk), annotating action meta with event types, and getting realtime events in the Segment debugger with retroactive attribution on identify. Advice includes avoiding sending the entire store on every event and keeping event payloads focused for later analysis.
AI-written summary · about
chapters (9)
- 0:00Start
- 0:29Agenda
- 5:38Scalability
- 9:40Redux Middleware
- 11:03Overview of the Api
- 15:38Debugger
- 16:10Tracking Events
- 18:58Adding a Tracking Data to a Action
- 21:19Tracking the Identity








