• /
  • EnglishEspañolFrançais日本語한국어Português
  • Inicia sesiónComenzar ahora

Advanced session replay

New Relic AI summary

New Relic AI can summarize session replays to help you quickly understand what happened during a session without watching the entire replay.

For details, see New Relic AI summary for session replay.

Sequence filter

The sequence filter allows you to find replays where users performed a specific sequence of actions. For details, see Sequence filtering.

Trimmed session replay

For details, see Trimmed session replay.

Manually record replays

If needed, you can programmatically force a session replay to start or stop recording using API methods. Some use cases:

  • Allow users to opt in for interaction recording. For example, if you have a pop-up asking "Allow this session to be recorded for performance analysis?" and a user consents:
    • Call newrelic.recordReplay() to initiate recording.
    • After the session is complete or consent is withdrawn, use newrelic.pauseReplay() to stop capturing data.
  • Record sessions based on specific criteria, such as:
    • Start recording only for sessions on specific flows such as a product checkout flow.
    • Stop recording for sensitive pages such as /billing or /health-records.

These APIs were released in Android v7.7.0 and iOS v7.6.1 or higher.

Refer to the API documentation for details:

Use NerdGraph to configure replay settings

You can configure session replay settings using the NerdGraph API instead of the UI. This is helpful if you need to make bulk changes, such as applying sampling rates to multiple mobile entities.

Here's an example mutation to update session replay settings for a mobile application:

mutation {
agentApplicationSettingsUpdate(
guid: ""
settings: {
mobileSettings: {
mobileSessionReplay: {
customMaskingRules: "[{ type: "mask", operator: "equals", name: "creditCardNumber", identifier: "class" }]"
enabled: true
errorSamplingRate: 100
maskAllImages: false
maskAllUserTouches: true
maskApplicationText: false
maskUserInputText: true
mode: CUSTOM
samplingRate: 50
}
}
}
) {
mobileSettings {
mobileSessionReplay {
customMaskingRules
enabled
errorSamplingRate
maskAllImages
maskAllUserTouches
maskApplicationText
maskUserInputText
mode
samplingRate
}
}
}
}

Next: Troubleshooting session replay

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.