REVU Developers#

REVU is behavioral analytics capture done as one job, done best. The SDKs are small, fast, and zero-dependency by design: they capture interactions, identity, and context, then hand off to the server, which does the intelligence. These docs cover every SDK and the ingest contract they share.

Pick your platform#

  • Web SDK - @revu-ai/core. Vanilla JavaScript, zero runtime dependencies, single-digit KB. One line to autocapture pageviews and clicks. Stable.
  • Android SDK - Kotlin capture core. In development.
  • iOS SDK - Swift capture core. In development.
  • Ingest API - the behavior ingest contract every SDK targets.

Start in 60 seconds (web)#

<script async src="https://cdn.revu.ai/behavior"></script>
<script>
  window.revu = window.revu || new Proxy({ q: [] }, {
    get: (t, m) => (m in t ? t[m] : (...a) => t.q.push([m, ...a])),
  });
  revu.init({ apiKey: "revu_pk_..." });
</script>

That is the whole integration. Autocapture starts, identity is assigned, and events batch to ingest. From here, read Concepts for the mental model or the API reference for the full surface.

Built for machines too#

These docs are designed to be read by LLMs and AI agents as much as by people:

  • /llms.txt - a curated map of every page, the llmstxt.org convention.
  • /llms-full.txt - the entire documentation set in one file for full-context ingestion.
  • Raw Markdown - append .md to any page URL (for example /web/install.md) to fetch the source without HTML.

Principles#

  • Capture only. The SDK never computes metrics; that is the server's job.
  • Never crash the host page. Public entry points are wrapped; internal errors are swallowed.
  • Redact at source. The SDK captures interactions, never input values.
  • Lightweight by design. Zero runtime dependencies, always.