Targeted Replay Capture (TRC) is a per-project feature in Amplitude Session Replay that lets you capture session replays based on specific criteria rather than capturing all sessions or relying on random sampling. Focus your replay quota on the most important user behaviors, workflows, or segments.
Configure Targeted Replay Capture by adding conditions to the Sampling control in your project's Session Replay settings. Customize capture criteria with specific conditions like multiple events, event properties, or user properties. Combine criteria within a single filter or across filters with OR logic. The Session Replay SDK fetches targeting configurations from a remote config service and evaluates them at runtime to decide whether to capture a session.
TRC enables you to define the criteria that Amplitude uses to decide to capture a session, and more efficiently manage your Session Replay quota.
Define rules that capture replays based on:
Checkout Started.plan = Pro.country = US.OR logic.Manage TRC through the Session Replay settings page by adding conditions to the Sampling control. Add, edit, and remove targeting conditions for each project. The UI estimates how much quota each condition uses based on historical traffic. Set different sample rates for different conditions to control which sessions you capture and how much quota you use.
Before you configure Targeted Replay Capture, ensure you meet these requirements:
@amplitude/plugin-session-replay-browser@1.22.0 or higher. TRC doesn't work with the standalone SDK.You configure Targeted Replay Capture per project. To configure it:
Add multiple conditions and combine them with OR logic. Each condition can include:
TRC requires the Amplitude Browser Analytics SDK with the Session Replay Browser SDK Plugin version @amplitude/plugin-session-replay-browser@1.22.0 or higher. Integrate both the Amplitude Browser Analytics SDK and the Session Replay Plugin into your setup to use TRC.
The SDK fetches the targeting configuration at session start and uses it for the entire session. If an event matches later in the session, the SDK evaluates it against that original configuration. Updates to targeting rules apply only to new sessions.
December 24th, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2026 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.