Session replay
Session replay records what visitors see and do on your site, so you can watch a visit back instead of guessing from charts. Databuddy also reads every recording for you: it groups visits by what people were doing, scores how worth watching each one is, and flags clicks the page never answered, so you can go straight to the visits that explain a problem.
Session replay is included on every plan: 5,000 recordings a month. Paid plans pay from $0.005 per extra recording, falling to $0.0015 at volume.
Start recording
Session replay is on for every website, so recording starts as soon as you add the recorder next to your existing Databuddy script:
<script
src="https://cdn.databuddy.cc/replay.js"
data-client-id="YOUR_WEBSITE_ID"
defer
></script>The settings page shows this line with your website ID already filled in. If you install Databuddy with the React, Next.js, or Vue SDK, add the replay prop instead and the SDK loads the recorder for you:
// React and Next.js
<DatabuddyProvider clientId="YOUR_WEBSITE_ID" replay /><!-- Vue -->
<Databuddy client-id="YOUR_WEBSITE_ID" :replay="true" />Pass replay={{ maskText: false }} to record page text. Typed input stays masked either way. Recordings appear under Replays in the website's sidebar a few seconds after a visitor starts interacting with the page.
The recorder only starts once a visitor moves the pointer, scrolls, taps, or types, so crawlers and tabs nobody looks at never produce a recording. It pauses after five minutes without activity and resumes when the visitor comes back.
Privacy and masking
Recordings are masked in the visitor's browser before anything is sent, so private data never reaches Databuddy.
If your pages contain no personal data, you can record all page text with data-mask-text="false" on the recorder script. Typed input stays masked either way.
Recordings are kept for 30 days and then deleted. To stop recording a website, open its Settings, choose Tracking, and switch off Session replay.
Watch recordings
The Replays page lists recent recordings with the visitor, the page they started on, their country, browser, and device, and how long they stayed. Each row leads with the most useful thing to know, such as a button that did nothing when clicked.
You can narrow the list to recordings that are worth watching, visitors who struggled, identified users, or long visits. Search for an identified user by email, name, or user ID, then combine that with the recording date, current user traits, and the existing behavior filters:
For example, combine a role = editor trait with a report_exported event to find recordings of editors exporting reports. Traits match the user's current profile, events match what happened in that session, and dates match when the recording started.
Filters stay in the page URL, so you can bookmark a view or share it with another workspace member. If a search reaches its candidate limit, the page says that results may be incomplete; narrow the user or date filters before treating an empty result as exhaustive.
The player shows everything the visitor did as an activity list you can click to jump to any moment. Your own custom events appear in that list at the moment they fired. Clicks the page never answered are marked in the list and on the timeline, named over the recording as they happen, and collected under Problems. Details shows how the visit went and the user's traits.
You can also reach a recording from other places in Databuddy. A visitor's profile marks the sessions that were recorded, and the events stream shows a play button next to any event whose session was recorded.
Insights and the AI agent
Databuddy watches recordings for clicks that pages never answer, such as a button that does nothing or a card that looks clickable but isn't. When the same element fails for several visitors, Insights opens an investigation, and the investigation links straight to the recordings that show it.
The AI agent can search your recordings by identified-user email, profile ID, current user traits, recording dates, page, text in the visit, custom event, or what visitors were doing. It can ask every matching recording a question, such as whether the visitor compared pricing plans before leaving. It shows the recordings it finds in the chat, where you can play them without leaving the conversation. Agents connected through MCP can search recordings as well.
Use recordings in your own dashboard
The same recording reads accept an API key with read:data and access to the website. Keep the key on your server. List recordings with POST https://api.databuddy.cc/replays/list:
{
"websiteId": "YOUR_WEBSITE_ID",
"traits": [{ "key": "role", "value": "editor" }],
"limit": 50
}You can also supply person for partial email/name/user-ID search, email for exact email matching, profileId, startedAfter, and startedBefore. Date bounds are ISO timestamps with a timezone, such as 2026-10-28T00:00:00Z. The response includes recording metadata, hasMore when more matching candidates remain than the requested limit, and truncated when the bounded candidate search may have omitted recordings. Narrow the filters when either flag is true.
When someone opens a recording, call POST /replays/events with its websiteId and sessionId. It returns the session and short-lived URLs for its recording chunks, a page at a time. Fetch these URLs when needed; they expire after five minutes. POST /replays/recorded checks a list of session IDs for processed recordings, and POST /replays/issues lists recurring unanswered clicks.
API-key requests use the normal API rate limits. Cache list results when appropriate and load a recording when someone watches it, instead of repeatedly fetching every recording. Watching in Databuddy uses your signed-in session and does not consume your API key's request allowance. Reading an existing recording does not collect another recording.
See the session replay API reference for all filters, authentication examples, playback responses, and result limits.
Options
Set these as attributes on the replay.js script tag.
Each recording can be up to 20 MB, and each website can record up to 10 GB per day. Very large pages with more than 20,000 elements are not recorded, to keep the recorder from slowing them down.
How is this guide?