Welcome to the
WalkMe Help Center
Please log in to continue
Please log in to continue
Once Session Playback collection is enabled, WalkMe Insights automatically records user sessions and converts them into replayable recreations called Session Playbacks.
If too many of your limited Session Playbacks are being used to record sessions you don't need, you can control when recording starts using the Session Playback Recording Manually setting and a client-side API call.
This setting changes the default collection mode from Session Playback to Digital Experience Analytics (DXA), so user interactions continue to be collected but sessions are not recreated for playback until explicitly started via the API.
Use manual recording when you want to:
Once this option is enabled, all sessions default to DXA mode until you trigger playback recording manually.
To switch the current session from DXA mode to Session Playback mode, call the following function on the client side:
WalkMeInsightsAPI.startPlaybackRecording()
This command begins capturing a user session as a Session Playback recording.
Ensure the API call executes only after Insights has fully loaded. Use the callback below to confirm readiness:
window.onWalkMeInsightsAPIReady = function() {
// Safe to call API here
WalkMeInsightsAPI.startPlaybackRecording()
}
To end a recording within the same session, call:
WalkMeInsightsAPI.stopRecording()
$( "#target" ).click(function() {
WalkMeInsightsAPI.startPlaybackRecording()
});
//This code must appear before the WalkMe snippet
window.onWalkMeInsightsAPIReady = function() {
if(window.location.href === "http://example.com/home"){
WalkMeInsightsAPI.startPlaybackRecording()
}
}
////This code must appear before the WalkMe snippet
window.onWalkMeInsightsAPIReady = function() {
if(myUser.role.toLowerCase() === "admin"){
WalkMeInsightsAPI.startPlaybackRecording()
}
}