Session Replay is currently only available when used with the new
@statsig/js-client sdk, it is not compatible with statsig-js or statsig-react. If you are using either of those SDKs, you will need to migrate to the new sdk first. If this is your first time integrating statsig, you can ignore this step.If your website uses canvas elements to display content, we don’t currently support recording this content for playback in Session Replay. If this impacts you, let us know so we can prioritize making this possible!
Option 1 - No code - Add Javascript Snippet to your website
Option 2 - Custom code - Install via Package Manager
- js
- react
npmyarn
@statsig/web-analytics package installation.
Next, following the instructions for the Statsig Javascript SDK, initialize Statsig with your SDK key, user and options:
- js
- react

