What you get
Before you start
- Session replay is for websites only. It needs
dl.jsor@datalyr/webversion 1.8.1 or later. - The SDK must load its container. Sites that set
enableContainer: falserecord nothing. - You must be a workspace owner or admin.
- A workspace set up as a health or wellness business can’t turn it on. See Health and wellness redaction.
Turn on session replay
- Open Replays.
- Turn on session replay and confirm the add-on.
- Open the settings panel on the Replays page to change the sample rate or turn recording off.
If your site sends a Content Security Policy, allow
https://track.datalyr.com in
script-src and https://replay.datalyr.com in connect-src. Without them the
browser blocks the recorder, and nothing is recorded.Pricing
Both add-ons are available on every plan, and neither includes free sessions. Every
session counts. You can buy either one alone, or both.
The sample rate in the settings panel on the Replays page sets the share of sessions that get
recorded, from 1% to 100%. A lower rate records fewer sessions and costs less.
How long data is kept
After 30 days you can’t play a session back, but the agent can still read its summary.
What is and isn’t recorded
Session replay privacy and masking lists every default
and the attributes that change them.
Shopify checkout
Shopify checkout pages are not recorded. Shopify runs checkout in a sandbox that no storefront script can see into. A recording ends when the visitor starts checkout. The summary still says whether the visitor reached checkout and whether the order completed when the Shopify integration is connected, because those events come from the Datalyr Shopify pixel and webhooks. It can’t show what happened inside checkout.In-app browsers
Sessions in the Instagram and Facebook in-app browsers are recorded. Those browsers can close without warning, so the last few seconds of a session can be missing.Ask the agent about sessions
The agent reads replay data in AI chat and over MCP. Two tools do this:
Ask questions like these:
Why did visitors from my Meta retargeting campaign add to cart but not check out last week?Show sessions with rage clicks on the cart page.Which pages throw JavaScript errors right before visitors leave?
Verify
- Visit your website in a normal browser window.
- Click through two or three pages.
- Close the tab.
- Wait about 35 minutes. A session appears once its visitor has been inactive for 30 minutes, which is when the SDK closes the session.
- Open Replays.
- Confirm that your session appears in the list and plays.
When it does not work
Next
- Session replay privacy and masking: mask or reveal parts of your site, and what to tell shoppers.
- AI chat: ask the questions above inside Datalyr.
- Connect Claude or Codex: ask them from your own AI client.