What the widget does on your pages
This page lists everything the Monoverse widget does once it runs on your site, whether you add the
script tag, one of the React, Vue or Next.js packages (they add the same
scripts), or a data-tenant-token embed. Read it before you install, and point your privacy policy
at it.
Scripts
| Script | Loaded from | When |
|---|---|---|
widget-voice.js or widget-chat.js | https://api.monoverse.tech/widget/ | your tag or package adds it |
widget-harvest.js | https://api.monoverse.tech/widget/ | right after the widget starts, on every install with a publishable key |
pcm-worklet-processor.js | https://api.monoverse.tech/ | voice bundle only, when the microphone turns on |
| ThumbmarkJS 1.9.1 | https://cdn.jsdelivr.net, pinned by a sha384 integrity hash | only with data-trust-fingerprint="1" |
data-api-base, data-cdn, data-worklet-url and data-thumbmark-url point these at other hosts.
The widget loads nothing else: no fonts, images, analytics or advertising scripts.
What it adds to your page
- One
<div id="monoverse-widget-host" data-monoverse="host">at the end of<body>. The widget draws everything inside its closed shadow root, so none of its styles reach your page. preconnectanddns-prefetchlinks in<head>forhttps://api.monoverse.tech.- The
widget-harvest.jsscript at the end of<body>, and the ThumbmarkJS script in<head>when you turn it on. - The global
window.Monoverse, and until 2027-04-30 its old namewindow.VoiceBotfor the same object. When your page sets neitherwindow.MonoverseBridgenorwindow.VoiceBotSyncBridge, the widget createswindow.VoiceBotSyncBridge. - A wrapper around
history.pushStateandhistory.replaceStatethat calls your originals and notes the navigation. The widget removes it when it is destroyed. - A
clicklistener ondocument, and observers of<title>and of links added to the page. - During a site walk only, one hidden
<iframe>at a time, removed once its links are read.
What it reads from your page
So that the assistant knows where the visitor is and what they see, the widget reads:
<html lang>, or the browser's language when the page sets none;- the address path, the
<title>and the first<h1>, each cut to 120 characters, and the classes on<body>, which tell a product page, a category, the cart and the checkout apart; - the ids of up to 48 products shown on the page, the cart count and total from your cart badge, and
the filter and sort parameters in the address (
filter_*,pa_*,orderby,min_price,max_price); - up to 50 links to your own site with their text, cut to 80 characters, skipping any link whose query carries personal data or a secret;
- the text, cut to 80 characters, and the target path of each link or button the visitor clicks;
- the referrer, the landing address and its
utm_*tags; - whatever your
window.MonoverseBridgeorwindow.VoiceBotSyncBridgeexposes, when you provide one.
Network calls
To Monoverse, at https://api.monoverse.tech:
| Call | When | Carries |
|---|---|---|
POST /api/v1/widget/public-token | on load, with a publishable key | the pk_ key, the page language and the stored visitor pass; the server refuses a key used from an origin you did not register for it |
GET /api/v1/widget/availability | on load, with a data-tenant-token | the token |
WebSocket /api/v1/widget/ws | when the visitor opens the assistant; on load with data-eager; on launcher hover with data-prewarm; on the next page of an open conversation | the conversation, the visitor identifier and its pass, voice audio both ways, the page details above, the last 8 pages visited, clicks, cart changes and the outcome of each page action |
POST /api/v1/widget/conversations/<id>/rating | when the visitor rates the conversation | the rating and the visitor identifier |
POST /api/v1/widget/conversations/<id>/continuations | when a conversation that carried the visitor identifier ends | the key, the visitor identifier and its pass |
POST to the address the assistant's form names | when the visitor submits a form shown inside the widget | what the visitor typed into that form |
POST /api/v1/ingest/page-hint | see Page hints | the key and the page address |
POST /api/v1/ingest/site-walk/page and /close | only during a site walk, see Page hints | the key, the walk id and each page address |
None of these HTTP calls carries a cookie.
To your own site, on WooCommerce only: the add_to_cart endpoint (?wc-ajax=add_to_cart, or the Store
API's /wp-json/wc/store/v1/cart/add-item) when the assistant adds a product for the visitor, and,
with the Monoverse WordPress plugin, cart-snapshot under the REST base the plugin publishes after the
cart changes, /wp-json/voicebot-sync/v1/cart-snapshot with a plugin before 1.0.
Page hints
widget-harvest.js tells Monoverse which of your pages a visitor opened, so the assistant can learn
them:
- On each page load, once the browser is idle and while the widget is closed, it sends
POST https://api.monoverse.tech/api/v1/ingest/page-hintwith two fields: your public key and the page address without its query string or fragment. It sends no markup and no page text. - The server accepts only an
httpsaddress on the domain the key is bound to, or itswww.host, once you have verified that domain, and reads each address at most once a day. - The server then downloads the page itself, honouring your
robots.txt(a group forMonoverseBotorVoicebotCrawlerapplies first, then*) and refusing a redirect off your domain, renders a page that needs JavaScript on its own renderer, and adds what it reads to the assistant's knowledge base as a page, never as a product.
When the page address carries vb_walk, the id of a site walk opened from your Monoverse account,
the script instead walks up to 60 pages of your own site, starting with the open one and loading each
next one in a hidden frame, sends each page address to /api/v1/ingest/site-walk/page, and ends with
/api/v1/ingest/site-walk/close.
Storage
Everything stays on your own domain; the widget sets no cookie anywhere else.
| Where | Key | Holds | Written |
|---|---|---|---|
| cookie | vb_visitor | the visitor identifier | at the visitor's first engagement |
| cookie | vb_conversation | the open conversation's id | when a conversation starts |
localStorage | vb_session_id, vb_conversation_id, vb_voice_state, vb_ui_open, vb_lang, vb_last_url, vb_resume_at | the open conversation, so it survives a page load | during a conversation |
localStorage | vb_entry_ctx | the referrer, landing address and utm_* tags | once, when the first conversation connects |
localStorage | vb_consent, vb_visitor_id, vb_visitor_pass | the consent decision, the identifier mirror and its pass | see Consent contract |
localStorage | vb_leader_lease | which tab holds the conversation | only in a browser without Web Locks |
localStorage | monoverse_debug | the debug log switch; the widget also reads voicebot_debug | only with data-debug |
sessionStorage | vb_visitor_session, vb_visitor_pass | the visitor identifier and its pass for this tab | at the visitor's first engagement |
sessionStorage | vb_trail | the last 8 pages (path, title, language) and up to 5 clicks not yet sent | on every page load |
Both cookies are first-party, Path=/; SameSite=Lax, and Secure on https. vb_visitor follows the
Consent contract: a session cookie, or 365 days with consent. vb_conversation
is a session cookie until window.Monoverse.setConsent(true) records consent, then it is kept 365 days.
Open tabs of your site coordinate through the voicebot:widget:bus broadcast channel and the
voicebot:session:leader Web Lock.
Microphone
- Only the voice bundle uses the microphone, and only after the visitor presses its voice button. The browser asks the visitor for permission the first time.
- While the conversation is live, the widget streams the microphone audio to Monoverse over the WebSocket.
- When the visitor opens another page of your site within 60 seconds during a voice conversation, a desktop browser turns the microphone back on by itself on the new page; on iOS the visitor taps once to continue.
- Switching to chat or ending the conversation stops the microphone.
Actions on your page
During a conversation the assistant can act on the page for the visitor: open a page of your site or
go back, scroll to and highlight an element, show a short notice, filter, sort or search, fill a field,
pick an option or tick a box, add to or change the cart, choose a product variant, switch the site
language, open a popup, and submit a form your site declares in MonoverseBridge.formMap.
- Each action answers a request of the conversation; the browser refuses any other.
- The browser refuses a
navigateaction to another origin, and caps writes at 10 a minute. - It never fills a password or card field, and never submits a form through a payment button.
- A form submission and a language switch wait until the visitor confirms in the widget.
- Where you register your own handler for an action, the widget calls yours instead of its built-in one; see Tool handlers & deep links.
What it never does
- It never sends the markup of your pages.
- It never sends what visitors type into your own forms.
- It never sets a cookie on a domain other than yours.
- It never loads a script beyond the four listed above.