Docs · Behavioral signal
The Corexi snippet
Autopilot scores what it sees when it walks your product. The snippet adds what your real users do on the same screens: where they hesitate, where they rage-click, where they leave. It is one script tag, cookieless, with no personal data in it, and its only job is to feed the behavioral part of your score.
You do not need it to get a score. Without it, or without GA4, Clarity, PostHog or another connected source, the behavioral pillar reads “not measured” and the score is made of the four pillars the walk can see. Nothing is estimated.
What it collects
- Page views · the path of the screen, never the query string
- Scroll depth · how far down a screen a person got
- Time on screen · total and active, so a tab left open does not count
- Rage clicks · three or more clicks on the same element in two seconds
- Dead clicks · a click on something that is not clickable
- Quick backs · a screen left within five seconds
- Form abandonment · a form focused and left without sending
- Viewport and input · the window size and whether it is touch or pointer
What it never collects
- no cookies and no identifier that survives the tab: a session id lives in memory and dies with the page
- no names, emails, form values or keystrokes: an event carries an element's tag and id, never what was typed
- no IP address stored, no fingerprint, no cross-site tracking
- no full URLs: the path of a screen only
- raw events are deleted after a day; what remains is one aggregate reading per hour
It is built so that nothing personal is stored and nothing follows a person across sites, which is what lets many products run it without a consent banner; whether yours can is your counsel's call. The script is readable: view it at corexi.ai/c.js.
How it enters the score
Every hour the raw events become one reading: sessions, average scroll depth and time on screen, rage and dead clicks, quick backs, form abandonments. Once the last seven days hold thirty sessions or more, those readings become the behavioral pillar of your product, fused with what the walk saw, with a weight that grows as sessions grow. Under thirty sessions the reading is kept but not scored; it would be noise.
Install it after a run and the last run is scored again with the new signal, without a new walk. From then on every run fuses the freshest reading. The product page names the snippet as a source next to the score; the report says when it was fused in.
Installing it
- 1
The tag
Product → Connections → Corexi snippet. Copy the one-line tag and put it on every signed-in page of the live product, before </body> or in the root layout. It loads async and never blocks the page.
- 2
From your own domain (recommended)
Ad blockers drop a share of visitors for every analytics tool, and a strict Content-Security-Policy refuses third-party scripts. Add one forwarding rule on your domain, /cx/:path* → https://corexi.ai/:path*, and change the tag's src to /cx/c.js. The script sends its events to wherever it was loaded from, so the same rule carries both. The card shows the rule for Next.js, Vercel, Nginx and Cloudflare.
- 3
Check it
Open a page with the tag in place, then press Check connection on the card. It says Receiving, Went quiet, or Nothing received yet, with the last event's time. The card explains the three things that stop a tag: not on the live pages, a CSP, an ad blocker on the testing browser.
<script src="https://corexi.ai/c.js" data-site="YOUR_TOKEN" async></script>
<!-- served from your own domain, with a rewrite from /cx/ to corexi.ai -->
<script src="/cx/c.js" data-site="YOUR_TOKEN" async></script>Snippet or an analytics connection?
Both feed the same pillar. If you already run GA4, Clarity, PostHog, Mixpanel or Amplitude, connect it and skip the snippet. If you run none, or your analytics does not see the signed-in part of the product, the snippet is the fastest way to a measured behavioral pillar: one line, no account elsewhere, nothing to configure.
See it on your product
We add your product with you, run Autopilot, and put the tag in place together. 14-day free trial, no card.