Skip to main content

Website Chat Setup

Embed the Nexvox chat widget on your website to manage visitor conversations from the same inbox as WhatsApp, with the same bot-to-human handoff.

Prerequisites

  • Access to edit your website's HTML, or a tag manager (e.g. Google Tag Manager)
  • A Nexvox account with at least one agent or bot flow configured

1Generate your embed snippet

  1. In Nexvox, go to Settings → Channels → Website Chat
  2. Click Create Widget
  3. Set your widget's display name, greeting message, and brand color
  4. Click Generate Snippet

2Add the snippet to your site

  1. Copy the generated script tag
  2. Paste it just before the closing </body> tag on every page where the widget should appear
<script src="https://app.nexvox.co/widget.js" data-widget-id="YOUR_WIDGET_ID" async></script>
Using a tag manager? Add the same script as a Custom HTML tag in Google Tag Manager, triggered on All Pages, instead of editing your site's source directly.

3Configure bot greeting and handoff rules

  1. In Settings → Channels → Website Chat, open Bot Flow
  2. Set the automated greeting shown when a visitor opens the widget
  3. Define the conditions under which a conversation is handed off to a human agent (e.g. a keyword, or after a set number of bot turns)

4Verify the widget loads

Open your website in a new browser tab. The chat widget should appear in the corner of the page. Send a test message — it should appear in the Nexvox inbox within a few seconds, alongside your WhatsApp conversations.

If the widget doesn't appear:

  • Check the browser console for script-loading errors
  • Confirm the snippet is present in your page's rendered HTML (View Source)
  • If using a tag manager, confirm the tag's trigger has fired by checking GTM Preview mode