View as Markdown

Erised docs

Erised shows every person who uses your product and what they did, without a data team. A browser snippet and a server API send page views and actions; Erised stitches an anonymous visitor to a known person at signup and login, and shows each person with their full timeline, plus key events and funnels. Events are never forwarded to third parties.

How an integration fits together

Where Key What it sends
Every page of your product publishable (pk_live_…) Page views (automatic, including single-page-app route changes) and the actions you track with cdp('track', …)
Your server, at signup and at every login secret (sk_live_…) A verified identify: who this browser belongs to
Your server, when money or an account changes secret Conversions such as order_paid, with a deterministic messageId
Your logout handler, in the browser — cdp('reset'), so the next person on the device starts fresh

The secret key stays on your server. The publishable key is meant to be public.

Start here

  • Quickstart: the four steps above, with code, and how to check that events arrive.
  • Using an AI coding assistant: a prompt to paste into Claude Code, Cursor or Copilot, and the rules an integration must follow.

Reference

  • Browser SDK: the snippet, its options, every call, storage and delivery.
  • HTTP API: endpoints, keys, the event envelope, limits, responses and error codes.
  • Identity: when two histories are joined, the rules that protect your data, and undoing a merge.
  • Consent: the banner, what is collected before and after a choice, and gating your own trackers.
  • Server recipes: Node, Next.js and Express code for identify and conversions.
  • Apps (through your backend): iOS, Android, desktop and game apps, with app, OS and device context.
  • Error reporting: browser and server errors grouped into issues, with the people each one reached.
  • MCP server: connect Claude Code, Cursor or any MCP client with a read key.

For tools: /llms.txt indexes these pages, and every page is also served as Markdown (add .md to its name).