Install layer
InstallTwo script tags: Analytics v5 writes typed route and recovery events, while the CavAi Brain enables reasoning workflows.
CavBot starts with two scripts in your stack: Analytics v5 for typed runtime signal, and the CavAi Brain for reasoning and assist workflows. Together they power one operating model: signals, intelligence, and execution, without requiring user-level identity data.
This page shows the full loop: what you install, what each layer does, what is collected, and how execution surfaces run from real signal.
CavBot is a clear operating pipeline: Analytics v5 captures structured signal, and the CavAi Brain turns that signal into usable intelligence.
Two script tags: Analytics v5 writes typed route and recovery events, while the CavAi Brain enables reasoning workflows.
Append-only rows: eventName, route, timestamp, and a compact properties map.
Aggregation turns raw signal into route health, diagnostic trends, structure insights, and escalation-ready context.
Dashboard views, CavAi workflows, the site badge, and arcade recovery all read from the same schema.
CavBot starts with two scripts. No build step, no SDK ceremony. Place both in your layout, template, or HTML shell so they load across the routes you want under guard.
Required attributes: data-project-key and data-site. Add the CavAi Brain script after Analytics v5. Optional: data-badge="true" to mount the badge.
<script src="https://cdn.cavbot.io/sdk/v5/cavai-analytics-v5.js" data-project-key="YOUR_PROJECT_KEY" data-site="YOUR_SITE_ID" data-badge="true" defer ></script> <script src="https://cdn.cavbot.io/sdk/brain/v1/cavai.min.js" defer ></script>
CavBot stays visible where it should and quiet where it should. Teams review priorities in Command Center, visitors see clear guard signals, and recovery moments stay measurable.
A calm view of operational signal — diagnostic drift, recovery behavior, structure health, and runtime quality — pulled from the event stream. Built to answer: “Where do journeys break?” and “What changed?”
A fixed, minimal guard presence that signals a session is under protection. It has its own interaction stream so it stays useful without becoming distracting.
A designed 404 surface that converts dead routes into measurable recovery signal — visibility into abandonment, referrers, and where the journey breaks.
CavBot keeps the schema small on purpose. Most of the value comes from derived tables and typed insights — not from large payloads. The pipeline below mirrors how Command Center stays consistent across projects.
Append-only event stream keyed by anonymousId, sessionKey, route, and time.
Rollups for daily route counts, referrer breakdowns, SEO snapshots, and performance samples.
Typed findings: 404 spikes, SEO regressions, and slow critical pages — designed for action.
Dashboard views read the same tables; CavAi workflows can reason over insights.
{
"timestamp": "2025-01-01T12:34:56Z",
"anonymousId": "a6d0…",
"sessionKey": "s3…",
"eventName": "cavbot_route_view",
"route": "/pricing",
"properties": { "pageType": "marketing" }
}
CavBot is built for operational signal. IDs are anonymous and project-scoped. Payloads are intentionally small. Retention can be configured per project to match your data posture.
The Help Center includes setup notes, troubleshooting, and a clear escalation path — built to match the same CavBot system language.