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

# Chat widget

> No visitor activity from your website chat

**Alert**: "Chat widget not active on your website"

**Impact**: Customers can't reach you through website chat.

## Quick diagnosis

| Symptom | Likely cause | Fix |
| - | - | - |
| Widget doesn't appear | Script removed or not installed | [Install the script](#install-the-script) |
| Widget missing, no console errors | Script loaded via tag manager, blocked by ad blocker | Move to [direct HTML injection](#install-the-script) |
| Widget appears but no messages | Low traffic period | May be normal. Check your analytics. |
| Console shows errors | Script blocked or CSP issue | [Check for blockers](#check-for-blockers) |

## Install the script

**1. Open Installation**

Go to **Behaviour > Channels > Chat > Installation**.

**2. Copy script**

Copy the widget script.

**3. Add to HTML**

Add it directly to your website's HTML before `</body>`.

**4. Deploy**

Deploy your changes.

> [!WARNING]
>
> Always add the script directly to your HTML source code. Do not use tag managers such as Google Tag Manager, Adobe Launch, Tealium, or Segment to inject the script. Ad blockers and privacy extensions routinely block tag manager requests, which silently prevents the widget from loading for affected visitors.

**Verify installation:**

**1. View source**

View your website's page source (right-click > View Page Source).

**2. Search for script**

Search for "typewise".

**3. Confirm match**

Confirm the script matches what's in your settings.

## Check for blockers

Open your browser's developer tools (F12) and check:

**Elements tab**: Look for the Typewise iframe

**Console tab**: Look for errors mentioning:

* `Content-Security-Policy` → [Configure your CSP](https://docs.typewise.app/guides/channels/chat-widget/content-security-policy.md) to allow Typewise domains
* `blocked` or `refused` → Check firewall or proxy settings
* `404` or `failed to load` → Script URL may be wrong

**Common blockers:**

* Tag managers (Google Tag Manager, Adobe Launch, Tealium, Segment): ad blockers block tag manager requests, preventing any scripts they inject from loading. Move the script to [direct HTML injection](#install-the-script) instead.
* Ad blockers (test in incognito mode)
* Corporate firewalls
* Strict CSP headers

## Test it

**1. Open website**

Open your website in a private/incognito window.

**2. Open chat**

Click the chat icon.

**3. Send message**

Send a test message.

**4. Check inbox**

Check your Typewise inbox.

The alert clears when the next visitor sends a message.

> [!NOTE]
>
> Typewise learns your traffic patterns. Low-traffic sites have longer detection
> windows. Weekend silence on a B2B site is normal. The alert clears when Monday
> traffic resumes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.