TLDR Web Dev · ARTICLES & TUTORIALS

HOW DOES SESSION REPLAY WORK?

read.technically.dev6 min read

Summary from the TLDR Web Dev newsletter

Session replay provides qualitative views of user interactions that have already happened. It works by reconstructing the changes made to the DOM rather than literally recording the screen. This involves re-applying the CSS to the HTML and using open-source software like rrweb to record and replay these DOM changes.