Installation
- React
- JavaScript
- Script Tag
milana-js/react for React bindings — MilanaProvider, useMilana, useMilanaOptional.See React Setup for the full setup guide.API surface
- React
- JavaScript
- Script Tag
Method pages
Initialize
Start recording with your product ID, client key, and session info.
Identify
Associate sessions with known users using
identify().Update User
Refresh user identity mid-session with
updateUser().Update Session
Attach session-level context with
updateSession().Track events
Mark important user actions with named events and attributes.
Stop Recording
End the current session immediately with
stopRecording().Privacy controls
Block, mask, or ignore sensitive elements before they are recorded.
Update (deprecated)
Legacy entry point — kept for backward compatibility.