Session Replay

The Session Replay view shows you a real-time reproduction of your user's session

Helpful Links

A session is a reproduction a users journey through your application. Our SDK records events in your application and these are sent to LogRocket to be processed and reproduced in the Session Replay view.

A session replay is a lot more than just the visual reproduction of your app though, it also includes several powerful analytics features such as Heatmap, Scrollmaps, Performance monitoring, as well as developer features like Network and Console logging and Redux state tracking. You can also use the Inspect Tool to quickly grab important elements in your app to easily create Definitions or Metrics with them.

Overview

The session replay view takes design inspiration from video player UIs, but adapted to fit the variety of analytics features at your disposal.

Navigation UI

At the top of the page on the left we display the current URL (for web sessions) or view name (for mobile sessions) that the user is on at the given time. There is a button that allows you to easily copy this to your clipboard.

Tab UI

At the top of the page, to the right of the Navigation UI, you will find the Tab UI. For sessions with multiple tabs, this will allow you to both see which tab the user is currently active on and switch to viewing only that tab. If there is only one tab, this UI will now show. Tabs are referenced by numbers, with "Tab 1" being the first tab opened in the session.

Viewing all tabs in the session

In this example, Tab 1 is currently active

In this example, Tab 1 is currently active

By default, the session replay view is set to "Follow User", which means that LogRocket will always show you the tab that was active at any given point in the session. When the user switches to another tab, you will move with them. The currently active tab's button in the tab UI will be highlighted in purple (or, if it's one of the tabs in the dropdown it will be highlighted in the dropdown list of remaining tabs).

Certain parts of the Session Replay view only display information for one tab, such as the Event Timeline, and they will reload when the user moves to a new tab. When in this mode, you can see purple lines in the Time Bar indicating when tab switches happen.

Viewing one tab only

In this example, we are "locked" to Tab 2

In this example, we are "locked" to Tab 2

Clicking on a tab button will "lock" to that tab, allowing you to view parts of that tab's session. You can think of tabs as "sub-sessions"—they have their own start and end times (referred to as the "viewport") that correspond to when the tab was opened and closed. So if you want to view something that happened when the user was not active (like an exception or network error) then you can click on that tab in the Tab UI to "lock" to that tab (the tab's button will have a lock icon indicating that you are viewing just that tab).

When you are locked to a tab, the URL updates and you can share the session with your coworkers and they will also only view that tab. To "unlock" and view another tab, simply select another tab to view or click "Follow User".

Using the tab dropdown

If there are more than five tabs then the rest will be available under a dropdown on the right:

Click on the "..." button to view the remaining tabs

Click on the "..." button to view the remaining tabs

If a tab from the dropdown is locked, or if you are following the user and that tab is active, then that tab ID will be displayed in the dropdown button:

In this example, we are locked to Tab 7

In this example, we are locked to Tab 7

Time Bar

The timebar at the bottom of session replay allows you to to pause, play, and navigate through the session. This displays information about user activity, including clicks, scrolls, and mouse movements. White represents no activity, and dark gray indicates greater user activity. Errors, console errors, and failed network requests are represented with a red line. Tab switches are marked with purple lines.

If you entered session replay from a filtered Session List, the searched for event will be highlighted with a green icon.

Session Controls

On the right side of the footer you can find a number of important features:

  • Inspect Mode
    • View Inspect Tool docs here.
  • Live Mode
    • If the user is currently active, you can view their live session by entering Live Mode.
  • Share
    • Share the URL, or share to an Integration such as Jira or GitHub, configured via Settings.
  • Crop
    • When this is enabled, drag the yellow indicator on the Timebar to set your desired crop duration. You can then share this clip using the Share button or by copying the URL directly. Read more about Cropping here.

Playback tab

Session Info

This tab contains a details list showing all the user and session details. This information is also available in the Developer tab.

User Details:

  • User ID
  • Session count
  • Email
  • First and last seen dates
  • Total time on site (across all recorded sessions for this user)
  • User traits from the current session (one section for each trait with label, read about identifying users for Web, iOS, Android, and React Native)

Session details:

  • IP Address
  • Browser or device info (depending on session device type)
  • Browser specific information (e.g. browser name, referrer, user agent, language)
  • Release
  • SDK version
  • Performance information (e.g. time to first byte)

Event Timeline

A list of events that happen in the session replay. Filter events by name and use a multi-select to change which event types are listed.

Clicking on an event timeline entry’s header will expand the entry. This will show more details like the custom event details or the URL of the navigation event. This also allows the user to “View Similar Sessions”, which links to the session list filtering for that event.

Clicking on an event timeline entry will set the current Video Time to that event’s time. It will also expand the entry.

When the Video Time changes, the event timeline’s scroll container will scroll to center around the event nearest to the Video Time (indicated by a bold title).

If coming from a filtered session list, events matching your filters will have a green dot indicator for the event icon.

The event timeline currently only shows events for the current tab the user is on in the replay.

Developer Tools tab

Network

A table of network entries and a timeline UI on the right visually indicating their start and end time in the current Viewport Range.

This includes the Network Timeline - a timeline UI that shows the network entries in a sortable list with horizontal bars indicating the start and end time of the network request, colored by the network status code.

Select a network entry to view more information. This opens a pane on the right displaying the following:

  • Request URL, method, status, and duration
  • Trace URL from integrations (if integrated)
  • Request headers and body (if any)
  • Response headers and body (if any)

Search for a network entry using the search bar at the top of the Network pane. Within the search bar, use syntax such as status=0 or method!=GET to filter out the noise and view only the entries that are interesting to you.

Performance

The performance timeline shows a timeline UI with different charts showing performance information. See more details here.

View DOM

When this is enabled, you can use the browser developer tools to inspect the DOM state of the session.

Logs

Log Entry Types

  • Logs - Standard log events sent by the SDK, either by the platform-specific logging or LogRocket.log. In the browser, these are console.log events
  • Warnings - Logs labelled as warnings. These are often sent by third-party scripts
  • Errors - These include exceptions (caught by LogRocket or manually reported by LogRocket.captureException) as well as error logs (e.g. console.error)
    • When expanded, any relevant stack trace is shown
  • Info - Logs labelled as info
  • Debug - Logs labelled as debug.
  • Redux - Redux action logs. These include the redux state before and after the action, the action payload, and the difference in state before and after. You can also copy the state before and after and the action payload
  • Navigation - Navigation events, which include normal browser navigation (like to a new page in a multi-page application) as well as history navigation (e.g. query param changes, single-page application URL changes)

Heatmap tab

Pause the replay at any point to see data about how all users are interacting with a given page. Heatmap data represents all users who have visited that page, not just the current user's session.

Clickmaps

Selection of the following:

  • Most clicked elements
  • Most Rage clicked elements
  • Most Dead clicked elements

These are shown as overlayed colored rectangles on top of the relevant elements in the video.

Clicking “Add to Filter” on an element in the list navigates to the Session List with a Click filter for that element.

Scrollmaps

Shows a colored gradient overlay on top of the replay view showing the density of users scrolling to that point. We only support showing scrollmap details for the main body scroll container, not nested scroll containers. Scroll in the video pane to see more.

On top of the replay view there is also a labelled line in the center of the Video Pane showing what percent of end users scrolled down to the point where the user is scrolling.

User behavior insights shown on the right for:

  • Users on the page
  • Users who made it past the fold
  • Users made it past 50% of the page
  • Users who made it to the end of the page

Available for Web sessions only.

Hovermaps

Shows a hovermap overlay on top of the replay view. Blue represents fewer users have reached that point, red represents more users seeing that part of the screen. Adjust the opacity of overlay and the “intensity” contrast between colors using the toggles at the bottom of the screen.

Available for Web sessions only.