> ## Documentation Index
> Fetch the complete documentation index at: https://docs.servicebooked.ca/llms.txt
> Use this file to discover all available pages before exploring further.

# Web chat conversations

> How the chat widget on your website turns into conversations in your inbox.

When a visitor opens the chat widget on your site and types a message, that conversation lands in your **Inbox** the same way SMS and voice calls do. Same AI, same dashboard, same patterns.

## How it differs from SMS

The mechanics are the same — AI replies, you can take over, conversations close — but a few specifics:

### Anonymous-by-default

Web visitors don't have a phone number until they share one. The widget tracks them by a localStorage token so a returning visitor sees the same thread; in your inbox they appear as `visitor:abcd1234…` until they share enough info to identify them as a real contact.

### Page context

The AI sees the URL of the page the visitor is chatting from. So a visitor chatting from your `/services/kitchen-remodel` page gets answers framed around kitchen remodels; a visitor on `/contact` gets a more generic intake. Useful for site visitors who land on specific service pages.

### Faster, more interactive

Web chat happens in real-time — visitors are watching the screen. The AI's typing-indicator shows while it's drafting, replies appear within 1–2 seconds. SMS feels asynchronous; web chat feels live.

### Web call upgrade

If the visitor wants a real conversation, they can tap the phone icon in the widget to start a [browser-based voice call](/chat-widget/web-call-button). The conversation continues in voice from there.

## Promoting an anonymous visitor to a contact

Two ways:

### Manually

Open the conversation in the inbox. Click **Add to contacts** at the top. Fill in whatever info you've gathered from the chat (name, phone, email).

### Automatically

If during the conversation the visitor shares enough info — name + phone, or name + email — the AI Receptionist auto-creates a contact and the visitor record promotes. No action needed from you.

## Reading the page URL

In the conversation view, the page URL shows up at the top: "Started from `/services/kitchen-remodel`". Useful for understanding what the visitor was looking at when they reached out.

## Closing a conversation

A widget conversation that's gone quiet for >24h is automatically marked closed. The visitor can re-open by sending another message; we just don't keep it as "active" in your inbox forever.

## Inbox cleanup

If you have a lot of cold widget chats (people who said "hi" then never replied), the **Cleanup** button on the inbox archives stale chat sessions. Doesn't delete them — they're still searchable by Contact — just removes them from the active inbox view.

## Privacy

The widget doesn't track visitors across pages or set marketing cookies. It uses one anonymous localStorage token per visitor, scoped to your widget's domain. Visitors can clear it at any time by clearing their browser storage.

## Next

<Card title="Voice calls" icon="phone" href="/inbox/voice-calls">
  Phone-call conversations.
</Card>
