Skip to main content
Page Guide lets the agent see a text summary of the page your widget is on, and point at it while it speaks. When a visitor asks “where do I change my plan?”, the agent answers from what is actually on screen: the page scrolls to the right button and a soft ring marks it as the agent says “click Upgrade to Pro”. If you allow it, the agent can also open a link on your site. Use it for product tours, support on complex pages, and any flow where “it’s the third button on the left” isn’t good enough.
Page Guide is in early access. Behavior and limits may change, and Callers may ask for feedback on how your agent uses it.
A pricing page with the Upgrade to Pro button marked by a soft Page Guide ring and the Callers call window open on the right

While the agent says “click Upgrade to Pro”, a thin ring and a soft glow mark the button, and the rest of the page is shaded very lightly. The call window stays open beside it.

Try it with your agent

Opens the playground with Page Guide on. Start a test call and ask about the sample site.

Watch the demo without a call

A simulated reply plays highlight and scroll actions against a sample billing page. No credentials, no audio.

What the agent can do

The agent never clicks or submits anything, and types only into form fields, only when you allow fill. The visitor always ticks boxes and sends forms themselves. Actions are timed to the agent’s words and stop when the visitor starts speaking. The agent can only point at elements it was shown in a summary, and can only open links that appear in one. It never highlights an element the visitor can’t see: an element that is hidden, or covered by something floating over the page, is reported instead of drawn. You don’t change the agent’s script for this. Turning Page Guide on in the SDK gives the agent the ability for that call, and it learns the page format from the summary itself.

How it works

What the summary contains

The summary is built from the DOM in the visitor’s browser, never from a screenshot. It is a plain-text list in the style of an accessibility tree: one line per element that matters, each with a short stable ref the agent can point at.
What is captured:

Sites built from <div>s

Many apps mark up little of their page with semantic tags. Page Guide reads them too:
  • Values and labels in <div>s and <span>s. An element holding only inline content is read as one text line, for example text "1.71 GB" under text "Internet disponible". Text already read in a paragraph, heading or table row is never repeated.
  • Clickable containers. A menu entry or a tile with a pointer cursor, an onclick attribute or tabindex="0", and no real control inside, is listed as a button named by its text. The agent can point at it; it is never clicked, and navigate still opens only real links.
  • Unlabeled icons and logos. When a control or image has no name at all, the summary guesses one from the markup and says so: from the icon it draws, such as button "bell" (icon) for <use href="#icon-bell">, an icon font class or data-mat-icon-name; or from an image’s file name, such as img "youtube premium" (named from file). Only the last part of the image’s path is used, and hash-like words are dropped. Class names a CSS build generates, such as Icon-module__icon___45jg8 or css-1q2w3e, are never used: they say nothing about the icon and change with every release. Guessed names are never shown on the spotlight label.
  • Unnamed controls note what they toggle from their ARIA attributes (collapsed or expanded, opens a menu, controls navigation), icon only when they draw nothing but an icon, and, when in view, where they are on screen (top left, bottom right). A hamburger menu with no label reads button (in view, collapsed, controls navigation, icon only, top left).
  • Closed menus. Controls inside a menu or drawer that is closed (hidden, slid off screen or folded away) are still listed by name, marked hidden, after everything on screen and at most 50 of them. Text, fields and private areas inside a closed menu are never listed.
Images with alt="" are treated as decorative and left out. Each line also notes whether the element is in view, which means actually drawn on screen: an element inside the window but faded out to invisible, without any size, or folded into a collapsed container (such as a hidden offline banner) is not in view. Lines also note, for fields, whether they are filled or empty, checked or not checked, required, and disabled. Same-site links show the path they open; links to other sites are marked external without their address. Iframes are listed as (contents not shared). Fields also say what they expect, so the agent can ask for the right thing: the kind of value (email, phone, number, date, time, url), a hint from the placeholder, help and invalid text linked with aria-describedby or aria-errormessage, and a select’s options (up to 10). All of it is the page’s own text, redacted like everything else. Private fields get none of these notes, and help text inside a private area is left out. What is not captured:
  • Anything hidden, inert, aria-hidden="true", display: none or visibility: hidden, except the names of controls in closed menus (see above).
  • The insides of interactive elements (a button is one line, whatever it contains).
  • Closed shadow roots (open ones are walked), the contents of iframes, canvas and video, and images with neither a name nor a readable file name.
  • The widget itself and the spotlight overlay.
  • Everything excluded by the privacy rules below.

Limits and ordering

When a page has more elements or more text than fit, the summary keeps what the visitor can see first, then what they can act on (interactive before structure before text), and restores page order afterwards. The URL is sent as origin and path only; query strings and hashes are left out because they can carry personal data.

When summaries are sent

  • A summary is sent when the call connects, and again after the page changes (content updates, scrolling, resizing, in-app navigation, hash changes) and has been quiet for about 1.2 seconds. A page that never settles, such as one with a ticker, is still reported 5 seconds after its first unsent change.
  • After the visitor clicks, the page is reported as soon as it has been quiet for about 0.4 seconds (at most 1.5 seconds after the click), so a menu they just opened reaches the agent before they ask about it. These sends are at least 1 second apart.
  • Other sends are at least 3 seconds apart, and an unchanged summary isn’t resent. Scrolling alone changes which elements are “in view”, so only a scroll that changes what the visitor sees produces a new summary.
  • A failed send is retried up to 3 times. Failures are reported to onError.
  • Sends cost the agent nothing: the summary reaches the agent only on turns where the visitor asks about the page, and only the latest one. Ordinary conversation isn’t slowed down or made longer.
The SDK posts summaries to POST https://api.callers.ai/campaigns/{agentId}/web-call/page-context with the same token or domain check as the rest of the call. The endpoint accepts at most 16,000 characters, twice the widget’s cap, so a summary is never rejected for size. You don’t call it yourself.

How the agent points

The agent writes short tags inside its reply, before the words they belong to: To upgrade, [highlight:e19] click Upgrade to Pro. Callers strips the tags before text-to-speech and before the transcript, so visitors never hear or read them, and publishes each sentence to the widget as its audio starts, with the actions and their position in the sentence. The widget then runs each action when its words are heard:
  • A sentence starts playing about 250 ms after it arrives, or when the previous sentence ends, whichever is later.
  • Within a sentence, the action fires at the character timings of the agent’s voice when the provider returns them (within about one word), or at 15 characters per second otherwise (within about half a second).
  • A new reply drops the previous reply’s pending actions. When the visitor interrupts the agent, the rest of the reply’s actions are canceled.
Refs are stable for the whole call: an element keeps its e12 through later summaries, so a tag the agent wrote against a slightly older summary still points at the same element.

The spotlight

The highlight is drawn in its own shadow root on <body>, so your page’s styles can’t restyle it and it can’t restyle your page. It never takes pointer events: the visitor can click the highlighted element straight away. It follows the element through scrolling, resizing and layout changes, and disappears if the element is removed from the page. Its accent color and font come from the widget’s theme (the primary color and font) unless you set color, and it sits one layer under the widget so the call window is never shaded. By default it is gentle: a thin ring with a soft glow, one short glow when it arrives, and a very light shade over the rest of the page that fades out around the element instead of cutting a hard hole. A small light label shows the element’s name, but only when the element doesn’t already show that name itself, so a button that reads “Upgrade to Pro” isn’t labeled twice. Elements that fill most of the screen get the ring without the shade. Small elements get a slightly larger box so they are easy to spot, but once the element stops moving the ring stops short of anything drawn right next to it, such as the label stacked above a price. Scrolling is smooth unless the visitor prefers reduced motion; then the page jumps to the element and the arrival glow is off. Visitors who ask for more contrast get a stronger ring and shade, and in forced-colors mode (such as Windows High Contrast) the ring is drawn as a system-colored outline.

Highlight styles

Fine-tune any style with dim, color and label (see the configuration reference). dim sets how dark the shade is for soft and spotlight; the other styles have no shade.

Making sure the visitor can see it

Before drawing, the SDK checks that the element is really visible at that spot on the screen:
  • Fixed or sticky bars, such as a site header, a cookie banner or a chat bubble: the page is scrolled so the element lands in the clear part of the screen, not underneath them.
  • Hidden elements, such as a carousel slide that isn’t showing or the contents of a closed accordion, aren’t drawn. The action reports hidden, and any highlight already on screen stays up.
  • Items in a closed menu. The guide never opens a menu itself, since that would mean clicking. When the agent points at the menu button and then at an item inside the closed menu in the same reply, the spotlight stays on the menu button and waits: once the visitor opens the menu, it moves to the item by itself, within about a quarter of a second. The wait lasts up to 30 seconds and ends early when the agent replies again, another action runs, or page sharing stops. onPageAction is then called a second time for that item, with done.
  • Covered elements, under something floating over the page wherever it scrolls (an open popup, for example), are scrolled to but not drawn. The action reports covered. A floating layer that draws nothing at that spot doesn’t count: a transparent wrapper with no text, image, background or backdrop filter there, or one faded out to invisible, such as a closed drawer or an idle loading bar.
  • If content loading above the element pushes it off screen after the scroll, the SDK scrolls once more. If a popup opens over the element while it is highlighted, the highlight is removed.
navigate is off by default. When you allow it, the agent can open a link from the summary, never a free-form URL, and only when the link stays on the same origin over http or https. Only real links (<a href> and image-map <area> elements) can be opened. Buttons, links with a download attribute, javascript: links, bare # anchors and other sites are refused with the outcome not-allowed, so opening something never submits a form or starts a download. When navigate isn’t allowed but highlight is, a request to open a link highlights the link instead, so the visitor still sees where to go. On a multi-page site, the browser loads the new page, which ends the call: the SDK is reloaded with the page. On a single-page app, pass onNavigate and route in place so the call survives (see the React example). Keep navigate off on multi-page sites unless a dropped call is acceptable.

Filling forms

With fill allowed, the agent can complete a form from the conversation: the visitor says their details, the agent types each one into its field and says it back so the visitor can correct it. It writes a tag such as [fill:e12=Juan Pérez], which never reaches the transcript or the voice.
  • What it fills: text fields (including email, phone, number, date and time inputs), text areas and selects. A select option is matched by its label or value, ignoring case and accents, so “Cordoba” picks Córdoba. Dates go in as YYYY-MM-DD. The field’s maxlength is respected.
  • Works with your framework: values are set the way a browser sets them, followed by input and change events, so React, Vue and Angular forms see them.
  • What it refuses: private fields such as passwords, card details and one-time codes, disabled and read-only fields, checkboxes and radios (consent, such as accepting terms, stays the visitor’s), buttons, and a value the field type rejects, such as “tomorrow” in a date field. A refused fill reports not-allowed and leaves the field as it was.
  • Never sends: the agent never clicks, presses keys or submits. When the form is ready, it points at your submit button and asks the visitor to press it.
  • Only what the visitor said: the agent is told never to invent or guess a value.
Custom controls that aren’t real form fields, such as a dropdown built from <div>s, a date picker without an input or a rich-text editor, can’t be filled. The agent can still point at them and talk the visitor through them.

The visitor notice

While Page Guide is on, the call window shows a one-line notice before and during the call: The agent can see this page by default, with a tooltip explaining that what the visitor types in forms is never shared. During the call the line has a Stop button. Stopping cancels pending actions, removes any highlight, stops sending summaries and tells the agent it can no longer see the page; the line then reads Page sharing is off with a Share button to turn it back on. The notice, its tooltip and the Stop and Share buttons follow your agent’s language, like the rest of the call window. Change the text with notice, and keep it honest and short. showNotice: false hides the line. That also removes the visitor’s way to stop sharing the page during the call, so turn it off only if your site tells visitors the assistant can see the page in another way.
Call window header showing the text The agent can see this page with a Stop link

The notice under the call controls tells the visitor the agent can see the page. Stop turns page sharing off for the rest of the call.

Turn it on

pageGuide: true (or data-page-guide="true" alone) uses the defaults: highlight and scroll, 150 elements, the standard notice and privacy rules. The script tag can set actions, hideSelectors and the highlight options (highlight, dim, color, label); the other options need the programmatic form.

Configuration reference

boolean | PageGuideConfig
default:"false"
true turns Page Guide on with the defaults. An object sets the options below. Script tag: data-page-guide="true".

PageGuideConfig

PageActionType[]
default:"['highlight', 'scroll']"
What the agent may do: any of highlight, scroll, navigate and fill. clear is always allowed. Script tag: data-page-guide-actions, comma-separated; unknown names are dropped.
string[]
CSS selectors for areas never shared with the agent, including everything inside them. [data-callers-private] is always hidden. An invalid selector is ignored rather than breaking the capture. Script tag: data-page-guide-hide, comma-separated.
HighlightStyle
default:"'soft'"
How the element the agent points at is shown: soft, glow, outline, spotlight or none. See Highlight styles. Script tag: data-page-guide-highlight; unknown values fall back to soft.
number
How dark the shade over the rest of the page is, from 0 (none) to 0.5. Values outside the range are clamped. Applies to soft (default 0.1) and spotlight (default 0.28); the other styles have no shade. Script tag: data-page-guide-dim.
string
The ring and glow color, any CSS color. Defaults to the widget theme’s primary color. Script tag: data-page-guide-color.
boolean
default:"true"
false never shows the name label next to the element. Even when true, the label appears only when the element doesn’t already show its name. Script tag: data-page-guide-label="false".
number
default:"150"
How many elements a summary lists, 1–300. Values outside the range are clamped. Larger pages keep what is in view and interactive first.
string
The line shown in the call window telling visitors the agent can see the page.
boolean
default:"true"
false hides the notice, and with it the visitor’s Stop button. See The visitor notice.
(path: string) => void
For single-page apps. Receives the path (with query string and hash) of the link the agent wants to open; route to it in place. Without it, the browser loads the new page, which ends the call.
(action: PageAction, outcome: PageActionOutcome) => void
Called for every action the agent takes, with its outcome. Use it for analytics or to react in your own UI. A highlight on an item in a closed menu first reports hidden, then done if the visitor opens the menu while it waits (see Making sure the visitor can see it).

Types

Runtime API

webCall.getPageContext()

Returns the exact summary the agent would receive right now, as text, or null when Page Guide is off. Call it on any page to audit what is shared, write tests for your hideSelectors, or debug why the agent can’t find a button.

Transcript messages

Transcript messages from onTranscriptChanged and onTranscriptMessage carry the agent’s sentences with their actions, after the tags were stripped from the text:
The summaries themselves are not streamed back in the transcript.

Privacy and security

Every rule below is enforced in the visitor’s browser, before anything leaves it. The summary is plain text you can read with getPageContext().

What never leaves the browser

  • Form values. Fields are described by their label and state (filled, empty, checked), never by what is in them. The capture never reads a field’s value into the summary.
  • Sensitive fields are additionally marked private field: password and hidden inputs, fields with autocomplete of cc-*, one-time-code, new-password or current-password, and fields whose name, id, aria-label or placeholder mentions a password, card, CVV/CVC, SSN, IBAN, account or routing number, secret, token or PIN.
  • Emails, numbers and IDs in page text, headings, titles, element names and field notes are replaced before anything is cut short, so a truncated email can’t slip through:
    • emails become (email hidden)
    • phone, account and ID numbers of 7 digits or more, such as a DNI (12.345.678) or a local phone number (4555-1234), become (number hidden)
    • UUIDs and long tokens containing several digits, such as a session or order ID, become (id hidden)
    Prices after a currency sign, decimals, dates, year ranges and readable slugs such as black-friday-2026 stay as they are.
  • Paths. The page’s path and the paths of same-site links get the same redaction, so /account/1155667788 is sent as /account/(number hidden).
  • Private areas. Anything inside [data-callers-private] or your hideSelectors is never walked. If an element’s own name would be read from text that contains a private area, that element is left out too, while its other children are still listed.
  • Hidden content, the widget, the spotlight overlay, query strings and hashes in the URL, and the addresses of external links.
Mark private areas in your HTML:

What the agent can’t do

  • It can only point at elements that appeared in a summary this widget sent, so it can’t reach into hidden areas even by guessing a ref.
  • It can’t click, submit, tick a box, press a key, or open a URL it made up. navigate reaches only a same-site link from the summary, and only when you allow navigation. fill types only into fields from the summary, never private ones, and only when you allow it.
  • Page text reaches the agent as untrusted content. Instructions written on the page can’t give the agent new abilities: the worst an injected instruction can do is highlight an element, open a same-site link or fill a field, if you allowed those.

Server side

Summaries are accepted only for calls that opted in (the SDK marks the call when Page Guide is on), so a page can’t push context into a call that didn’t ask for it. The agent reads the latest summary on turns about the page; summaries are not streamed back to the browser in the transcript.
Page text is sent to Callers and processed by the language model behind your agent, like the rest of the conversation. Mark anything personal with data-callers-private, even sections with no form fields, and review getPageContext() on pages that show account data.

Single-page apps

In a SPA, in-app navigation changes the DOM without a page load. The SDK watches DOM changes, popstate and hashchange, so a new route produces a new summary without any extra code. Two things need your attention:
  1. onNavigate. If you allow navigate, route in place so the call survives. Without it, location.assign loads the page and the call ends.
  2. Stable WebCall. Create the WebCall once, outside the component tree that re-renders on route changes, so the call and the page refs survive navigation.

React with react-router

Mount CallersWidget once at the app root, inside the router so useNavigate works. For Next.js, Vue Router or Angular, pass the equivalent of router.push(path) to onNavigate.

Tips for pages that guide well

  • Give buttons and links clear, visible text or aria-labels. The agent can only point at what it can name, and the spotlight label shows that name to the visitor.
  • Use real <button> and <a href> elements, or role="button" / role="link". A clickable <div> is found only when it shows a pointer cursor, has an onclick attribute or a tab stop, and only real links can be opened with navigate.
  • Give icon-only buttons an aria-label and images an alt. Names guessed from icons and file names are in the code’s language, not the page’s.
  • Label landmarks (<nav aria-label="Account">, <section aria-label="Pro plan">). Landmarks are named by their label only, so an unlabeled section contributes nothing.
  • Keep the key controls of a page within the first 150 elements, or raise maxElements (up to 300) on dense pages.
  • Hide account details, admin panels and anything personal with data-callers-private, even when they contain no form fields.
  • Check getPageContext() on every template once. If a button is missing, it’s hidden, inside an iframe or a closed shadow root, or has no name.

Try it in the playground

1

Play the demo without a call

Open sdk-playground.callers.dev/page-guide. The left panel shows What the agent sees: the live summary of the sample billing page, including private field markers on the card fields, redacted contact details, and nothing from the data-callers-private section.
2

Play a reply

Click Play reply (silent). The sample reply’s tags run through the real tag parser and scheduler: a caption shows the words being “spoken” while Upgrade to Pro and then Download invoices are highlighted on the real timing. Page actions logs each action and its outcome. Edit the reply text to try your own tags, or Reset sample.
3

Interrupt and stop sharing

Visitor interrupts drops the rest of the reply’s actions. Stop in the call window’s notice stops sharing: highlights clear and the Page actions log records it.
4

Try it on a real call

Open sdk-playground.callers.dev/?pageGuide=true, enter your Agent ID and secret, and start a test call. Ask the agent about the sample site on the right (“where do I upgrade?”). Page guide is also a switch in the playground’s Behavior step, and pageGuide=true is kept in Share demo links.
The Page Guide demo page with the page summary and simulated reply on the left and a highlighted button on the sample page

The Page Guide demo: what the agent sees (left), the simulated reply with its action tags, and the highlight running on the sample page.

In the dashboard

Page Guide has no settings in the dashboard yet: it is turned on per embed, in the script tag or the SDK config, by whoever installs the widget. The embed snippet under Channels > Widget contains only data-agent and your variables; add data-page-guide="true" and the other attributes yourself. Dashboard test calls don’t use Page Guide; use the playground to test it against your agent.

Troubleshooting

FAQ

No. Page Guide is pointing only: highlight, scroll and, if allowed, open a same-site link. The visitor does the clicking and typing.
No. A field is reported as filled or empty, never with its contents, and emails and long numbers in page text are redacted. Use getPageContext() to see the exact text.
Sends are free and happen in the background. The summary is added to the agent’s context only on turns where the visitor asks about the page, so other turns are unchanged.
Yes. On avatar calls the voice’s character timings are available, so page actions land within about a word of the agent’s speech. See Avatars.
Page Guide starts when the call connects, in voice and text conversations alike, so the agent can see the page either way. Highlights are timed to the agent’s spoken sentences, which makes voice calls where it shines.
Yes. Choose a highlight style (soft, glow, outline, spotlight or none), and adjust the shade with dim, the color with color, and the name label with label. The font comes from the widget theme. Try the styles with the playground’s Highlight option, available when Page guide is on.
No. Only the page the widget is on, and only while the visitor shares it.
No. The ability is attached to the call when Page Guide is on. Your script can still tell the agent what to help with, for example “guide visitors to the right plan”.

Avatars

A talking face that points at the page while it speaks.

Configuration

All options and script-tag attributes.

Playground

Try Page Guide and the demo page.

Installing the widget

The no-code setup in the dashboard.

Events and transcript

Follow the call and its sentences from your code.