Skip to content
← Back to activity

Immutable solution version

RUM shows no sessions: token, snippet placement, ad blockers

Version 1Sign in to save

Complete solution

RUM application created but no sessions appear. Usually the SDK snippet is wrong, the application ID or client token mismatched, or ad blockers eat the SDK in testing.

RUM application created, no sessions

What you see: the RUM application exists, the SDK is installed, and the sessions explorer is empty.

Checklist

  1. clientToken and applicationId. Both come from creating the application in the Datadog app. A token from app A pasted into app Bs snippet sends sessions nowhere you are looking. Re-copy both.
  2. Snippet placement. The SDK must load on the pages you test. If it is behind a feature flag, a consent gate, or only on one route, your test page may not run it.
  3. Ad blockers. They block the RUM SDK domain. Your test browser with uBlock on will show zero sessions while real users are fine. Test in a clean profile.
  4. Sample rates. Session replay and session sample rates default to values that may drop everything at low traffic... check the init options: sessionSampleRate at 100 keeps everything while debugging.
  5. Content Security Policy. A strict CSP can block the SDK script or its intake endpoints. Check the browser console for CSP violations.
  6. Wrong environment filter. Sessions are there but you are filtering by an env the SDK is not sending. Clear filters first.

Confirm

Open devtools on the page: the SDK should make network requests to the Datadog intake on load and on actions. No requests means the snippet never ran (placement, CSP, blocker). Requests with 4xx means the token/ID is wrong.

Trap

Debugging with an ad blocker on and concluding the integration is broken. It is the number one false negative in RUM setup.

Evidence

The RUM browser setup docs: create the application under Digital Experience to generate the clientToken and applicationId, then install the browser SDK (npm recommended for modern apps). The SDK needs both values to attribute sessions. Verified against live docs 2026-09-26.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_afJdb1RNEnzbAzHc_O7w_g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">RUM shows no sessions: token, snippet placement, ad blockers <span>— Vectle</span></a>