Session Replay for Browser RUM
Session Replay allows you to monitor user activity within mobile applications by recording interactions such as clicks, scrolls, and navigation. It captures these interactions as dynamic, video-like journeys, along with detailed session metadata. This provides teams with clear insight into the user experience, especially when issues arise. You can watch the session replay to:
- Optimise the user experience.
- Debug the errors for application crashes.
- Diagnose the reasons for application slowness.
前提条件
セッションリプレイを使用するには、次の条件が満たされていることを確認してください。
- コントローラ 25.4 以降
- JavaScript エージェント 25.5
-
[Account Settings] に移動します。
-
[Add Property] をクリックし、
browser.session.replay.enabledを追加します。プロパティの値をtrueに設定します。
-
JavaScript エージェントの構成
Configure Session Replay Using API Parameters
After this configuration, copy the instrumentation script and inject it in the JavaScript Agent.
(function(config){
// ... other JSAgent configs
config.sessionReplay = {
enabled: true,
sessionReplayUrlHttps: ""
// ... other optional configs
};
})(window["adrum-config"] || (window["adrum-config"] = {}));
| Option | Type | Default | Description |
|---|---|---|---|
enabled | boolean | – | |
sessionReplayUrlHttps | string | – | (Required) Endpoint where you want to send the captured session data (EUM cloud URL). |
| packAssets | boolean | true | Packs the website assets like images, CSS, and fonts in the recorded. If this option is disabled, the recording only keeps the asset URLs which will fetch the assets at the time of replay. |
iframes | boolean | true | Records the same-origin iframes. |
imageB itmap | boolean | false | Enable this option to capture the canvas and video content for richer session replay. |
maskAllInputs | boolean | true | Masks all <input> fields to protect user-entered sensitive data. |
maskAllText | boolean | false | Masks all textual content across the page. |
sensitivityRules | Array | [] |
Fine-tunes element-level privacy masking. Follow the syntax to include There are three rule types that applies to the information within specified CSS object in the recording:
There are three rule types that applies to the information within specified CSS object in the recording:
|
sessionReplayScriptUrl | string | (auto-derived) |
Overrides the default replay script location. Generally: |
enableReplayFolderVersioning | boolean | true | Uses agent version folders for compatibility. Set to false to serve from a flat structure (e.g., https://your-cdn.com/replay). |
セッションリプレイの有効化
セッションリプレイの表示
- [] に移動します。
- セッションリプレイを有効にしたアプリケーションを選択します。
- [Sessions] を選択します。
- 記録が可能な場合、[Session Replay] に再生アイコンが表示されます。
- [Session Replay] タブを展開します。
[Session Replay] は、セッションのアクティブなセグメントを強調表示します。録画またはユーザー アクティビティがない場合は、空白の画面が表示されます。
再生速度を調整できます。