Spectodocs

Point

Point is how people on your site report a bug: instead of a form in a corner, they point at what is wrong in the running app. Specto files a fix-ready bug — the element and its component, the requests and errors around it, the replay at that moment, and what they said.

How it works

A gesture turns the cursor into a ring. Whatever is under it is outlined with its name — the component when the framework says, else its test id or selector. A click pins a numbered marker, a drag frames an area, and Enter sends. The page gets none of the clicks Point takes, and nothing Point draws appears in the recording.

KeyWhile Point is open
click / dragMark an element / frame an area
click a marker’s numberChange its flag: broken, wrong, slow, confusing, idea
FRecord a flow: use the page normally, F again ends it — that stretch of the recording is bracketed
MTalk (when voice is on): what you say is pinned to the marker you meant
BackspaceRemove the last marker
EnterSend
?How it works
EscLeave (twice when markers exist)

The first time someone opens Point on a device, an 8-second card shows how it works. After that the ring is all they see.

How people find it

Each of these is a card in Settings → Point, with See it to preview what visitors get. They show only to the people allowed to use Point (below), and each report records which one opened it.

Entry pointDefaultWhat you choose
Launcher — a small “Report a problem” buttononlabel, bottom right / bottom left / a tab on the right edge, colour, which pages (/app/*, /checkout)
Keyboard shortcutdouble-tap CtrlAlt+Shift+P, hold Alt, your own combination (with Ctrl, Alt or ⌘), or none
Confirmation — “Sent as bug #214”onyour own message ({number} is the bug); teaching the shortcut on someone’s first two reports
Nudge — “That didn’t work? Show us”offright after errors, failed requests, rage or dead clicks; once per visit at most, never while someone is typing
Reminder — a card that explains Pointoffon the 3rd visit, every 30 days or each release; where it shows; only for people who never used Point

Screen-reader users press Ctrl to stop speech, so a shortcut alone is not enough for them: keep the launcher, or put Point in your own menu.

Right-click

Shift (or Alt) + right-click on anything opens Point with that element already marked — the browser’s menu is untouched otherwise. Or choose, in Settings → Point, that every right-click offers Report a problem here: links, fields, images and selected text keep the browser’s menu, and Shift + right-click always gives it back.

What your visitors can change

Right-clicking (or long-pressing) the launcher lets a visitor make it smaller (icon only), move it to the other side, or hide it for this visit; they can also drag it out of the way. These choices are remembered in their browser. Point’s own panel can be dragged by its header while they report, and it moves to the other side by itself when someone marks something underneath it; it starts in its usual place each time.

Placing the launcher in code

Settings → Point is the default for every page; your code can override it per site, per page or per route — move it away from your chat widget, relabel it, or leave it off a page:

<script src="https://specto.sh/specto.js" data-key="pk_your_key"
        data-launcher="bottom-left"            <!-- bottom-right · bottom-left · edge · off -->
        data-launcher-offset="24,96"           <!-- px from the corner: x,y -->
        data-launcher-label="Report a bug" defer></script>
Specto.launcher({ position: 'edge' })      // at runtime, e.g. on a route change
Specto.launcher(false)                      // none on this page
Specto.launcher()                           // back to Settings → Point

// npm
startRecording({ key: '…', launcher: { position: 'bottom-left', offset: [24, 96], label: 'Report a bug' } })
import { setLauncher } from '@spectosh/browser'  // same as Specto.launcher

Or with CSS alone — the launcher reads three custom properties from its host element:

#specto-point-entry { --specto-launcher-x: 24px; --specto-launcher-y: 96px; --specto-launcher-z: 900; }

From your own UI

A “Report a problem” item in your help or account menu, a button on your error pages, a link in support replies:

Specto.point()                                   // script tag
import { openPoint } from '@spectosh/browser'    // npm
openPoint()

// React: a "Show us what happened" button under your error boundary's fallback
import { SpectoErrorBoundary } from '@spectosh/browser/react'
<SpectoErrorBoundary fallback={<p>Something went wrong.</p>} reportButton>
  <Checkout />
</SpectoErrorBoundary>
// or your own button: fallback={({ error, reset, report }) => <button onClick={report}>Show us</button>}

// any 500 page, no framework
<button onclick="Specto.point()">Show us what happened</button>

Teaching Specto your product

Your team can use Point too, to teach Specto what the product is. On Your product, a developer clicks Open my site to teach: your site opens (one of the origins on the project’s list) in teach mode, for that person, for 30 minutes. They name a feature and click its controls, say what success is (reaching a page, clicking an element, a custom event) and record a path through it by using the page. Specto saves the feature as confirmed, with the path, and counts it in how much of your product it knows.

The link holds a one-use token that the snippet takes out of the address before anything else on the page can read it; it is exchanged for a secret kept only in that tab. Every teach call needs that secret, your site’s origin and the person’s developer role, checked each time, and is in the audit log. What they do while teaching is recorded on a session of its own that never counts as traffic: no bug, no daily numbers, no sample.

“How do I…?”

Point can also take questions. Turn on “How do I…?” under Settings → Point (off by default): a second, lighter button appears above the launcher, and your help menu can open it with Specto.point({ ask: true }) (npm: openPoint({ ask: true })). People write or say what they want to do, and may click where they are stuck. They see “Sent to the team”, never a bug number.

A question is never a bug: it lands on Improve, on one card per page and element (/orders/123 and /orders/456 are one page), next to the ideas and the “confusing” flags people sent with Point. It carries no requests, console lines or page text, so it never joins an error’s or a request’s bug. A bug on the same element says how many people asked about it.

Who may askSigned-in people (default): the asking session, proven by its own key, must have a user from Specto.identify(…). That call runs in the visitor’s browser, so this keeps casual visitors out; it is not a login check. Or everyone
LimitsAt most 5 questions a day from one person and 20 new question cards a day for a project; later new ones join “Other questions”
Telling the teamThe project’s first question emails its developers; the weekly email lists what people asked; the webhook event is question.asked

Deploy the server before you pin an SDK that asks: an older server would file a question as a broken element.

Guided steps

With “How do I…?” on, a question can be answered with the steps your team confirmed. Turn on Guided steps under Settings → Point (off by default). When someone asks about an element or a page of a feature that has a confirmed path — one you taught with Teach Specto, or one Specto found and you confirmed on Your product — they see its steps on the page, one at a time: the element is outlined with the step’s label, and the step moves on when they do it or press Next. Several matching paths are offered by name. Matching is by the feature the element or page belongs to, then by the words of the question against path and feature names; no model, and nothing generated is ever shown.

Before every stepSpecto checks the element is on the page and visible now — by its test id when it has one, else by the ways Point stored to find it. If it is not, the guide stops with “This changed; we’ve told the team”, the path is marked stale and a question waits for you on Your product. A stale path is offered to nobody until you answer it
Leaving the stepsGoing to a page the steps do not include stops the guide. A guide carries on across page loads in the same tab for 15 minutes
What Specto countsPer path: guides shown, finished, and the step where people stopped (on Your product). Ten people needing the same steps in a month opens a suggestion on Improve. Counts only
No matchPeople see “Sent to the team”, as without guided steps; every question is kept for the team either way
Your wordingThe heading over the steps and their colour (Settings → Point)

A link with ?specto=point opens Point as soon as the page loads — put it in a support macro (“Click here and point at what looks wrong”) and the report comes back to you with the replay.

Install

Point comes with the snippet and the npm package; there is nothing else to add. The snippet itself grows by about 1.2 KB; Point’s code (about 16 KB compressed) loads when someone opens it, or once the page is idle when the launcher, nudge or reminder is on for that visitor.

<script src="https://specto.sh/specto.js" data-key="pk_your_key" data-release="<git sha>" defer></script>

data-release (or release with npm, or <meta name="specto-release">) tags the build: each bug then names the release that introduced it, and with GitHub linked, the commits in it that touch it. data-point="off" leaves Point out of one page.

Who may open it

Settings → Point. Nobody who can’t open it sees anything.

SettingWho
People your app identifies, and link holders (default)Signed-in users of your product — after Specto.identify(…) — and anyone who opened a page with ?specto=point
Link holders onlyTesters, support, a customer you are helping: send them any page of your site with ?specto=point (remembered for that browser tab)
EveryoneAny visitor

The gesture

The default is a double tap on Ctrl (⌘ works too). We picked it by simulating how often each gesture opens by accident while people use a web app — typing, Ctrl/⌘ shortcuts with hesitation, Ctrl+click, Ctrl+wheel zoom, Alt+Tab, AltGr: under one accidental opening per 1,000 sessions for a double tap, against most sessions for holding a modifier.

GestureAccidental openings per 1,000 ten-minute sessions (simulated)
Double-tap Ctrl (default)under 1 at a typical rate of stray Ctrl taps; about 30 if people tap Ctrl idly all the time
Hold Altabout 2,000 — Alt+Tab with a slow Tab, a held Alt while thinking
Hold Ctrlabout 5,000 — any hesitation before a shortcut
Alt+Shift+P0 — but the hardest to remember

With npm: startRecording({ key: 'pk_your_key', release: process.env.GIT_SHA }) — Point is on unless you pass point: false.

What a marker captures

All of it in the browser, under the recording’s masking: inputs never give their value, specto-mask and strict privacy hide text (except what the site shows with specto-unmask or the project's selectors), sensitive attributes are dropped.

Ways to find itdata-testid (and data-test, data-cy…), a stable id, role and name, a CSS path
ComponentReact, Vue and Svelte component names; the file when the build says (dev builds, or data-specto-src)
State and stylesdisabled, checked, expanded, busy; display, visibility, opacity, pointer-events, z-index, overflow, cursor, colors
A snapshotthe element’s markup, masked, for agents to read
Requeststhe ones around the last time the person clicked it (status and timing; bodies only if you allow them)
Consoleerrors and warnings since the page loaded, with stacks
The momenta link that opens the replay there

Talking while pointing

On by default wherever the instance has a transcription service (below); turn it off in Settings → Point. The first time, Point explains it in one card and Start talking brings up the browser’s microphone prompt; after a yes, the microphone starts by itself when Point opens. Typing — or a no to the microphone — switches to the note field.

The words appear as people talk: the browser cuts the audio at pauses and whenever they move to another marker, and each phrase comes back as text about a second later, on the marker that was current — so “this one should be disabled after the first click” lands on the button it was about. They can fix the words before sending. The text goes through the same scrubber as the recording (card numbers, emails); the audio is not stored. A project can let people attach their recording: it is kept 30 days, then deleted.

The browser’s own speech recognition is never used: it sends audio to a party nobody chose. The audio is Opus, mono, at 16 kbit/s — about 2 KB a second, so a 45-second report is roughly 90 KB.

Organizing what they said

Turn on Organize what they said in Settings → Point and, after Send, the instance’s model turns what people said or typed into a title, the steps, what they expected and what happened — the bug takes that title and the card shows the steps. Their own words stay beside it, and the model is told to add nothing they didn’t say. It needs an LLM on the instance (LLM_API_KEY for Claude Haiku, or LLM_BASE_URL for any OpenAI-compatible server); a third-party provider is listed on your legal pages as a sub-processor.

On a dedicated instance

TRANSCRIBE_BASE_URL=http://whisper.ml.svc:8000   # any OpenAI-compatible /v1/audio/transcriptions
TRANSCRIBE_API_KEY=…                             # if it needs one
TRANSCRIBE_MODEL=Systran/faster-whisper-small

speaches (the successor of faster-whisper-server) runs on a CPU: docker run -p 8000:8000 -e WHISPER__COMPUTE_TYPE=int8 ghcr.io/speaches-ai/speaches:0.9.0-rc.3-cpu. LocalAI and OpenAI work too. A third-party service (OpenAI, Anthropic for summaries) is added to your legal pages’ subprocessor list automatically. Set a language in Settings → Point, or Specto uses the visitor’s browser language.

Telling people it’s fixed

Under “Sent as bug #214”, people tick Tell me when it’s fixed (ticked for them unless you say otherwise). Their browser keeps the report’s receipt — a random id, nothing else — for 90 days.

WhenOnce the fix is live — a session on a release other than the one the bug was last seen on (any session after the fix, without data-release) — and nobody has hit it for 24 hours (BUG_VERIFY_HOURS). Or, if you choose, as soon as someone marks it fixed
On your siteOn their next visit, any page shows “Fixed: …” once, with your message. Works for everyone, no email needed
By emailOff until you turn it on: to the address Specto.identify(id, { email }) gives, or one they type under the confirmation. One message, then the address is deleted
By webhookbug.fixed with the reporters (user ids, the addresses they gave), to send it from Intercom, Customer.io or your own app
Still happening?On the note and in the email: it opens Point about that bug, and sending reopens it

On the bug, Telling the people who reported it shows where it stands — fixed, live, held, told — with counts, never addresses. Rewrite the title they read, or hold it with Don’t tell them.

On the replay

A report shows on its session’s replay as a band on the timeline, from the first marker to Send, with a link to its bug. What the person said plays as captions at the moment they said it, next to the marker’s number; their voice plays along only when the recording was kept.

What happens next

The report lands on the Bugs screen as a bug — joined to one Specto already detected when it is the same problem (the same error, the same failing request). From there: hand it to a coding agent, send it to GitHub, Linear, Jira or Skopo, or mark it fixed. A fixed bug closes after 14 days with no session hitting it again; if one does, it reopens.

The legacy feedback widget (data-feedback="true") still works and lands in the Feedback Inbox; Point replaces it.