Wonderchat Documentation
  • 👋Welcome to Wonderchat
  • Overview
    • ⚖️Pricing
    • ✨Our Features
    • 🔍Content Overview
  • Setup Guides
    • 📪Setting up your Chatbot
      • Creating Your First Chatbot
      • How to set-up a Spontaneous Greeting Message
      • Setting up Multi-lingual Chatbots
      • How to Pick Between Source Citations Options For Your Chatbot
      • Add Suggested Questions to your Chatbot
      • Selecting Between AI models for your chatbots
      • How to Crawl and Update Private Sites
      • How to Customize Your Notification Settings for Your Chatbot
    • 🤖Training your Chatbot
      • How to add or delete webpages or websites from your chatbot
      • How to manually update your Chatbot website link for Re-Crawling
      • How to use PDF and website links simultaneously as data sources for your chatbot
      • How to upload Videos and Audio files into Wonderchat
      • How to add or delete PDFs from your chatbot
      • Writing Support Documentation for AI Chatbots
    • 🖥️Adding your Chatbot to your website
      • How to Embed a Chat Widget
      • How to Embed a Chat Screen
      • Embedding for Wix
      • Embedding for Shopify
      • Embedding for WordPress
      • Embedding for Drupal
      • Embedding for Webflow
    • ✍️Correcting your Chatbot
      • How to Set Up Chatbot Corrections
      • How to Resolve Pending Corrections
      • Export and Import Corrections
    • 💅Styling your Chatbot
      • How to Adjust Chat Widget Size
      • Customizing Your Chatbot's Style and Color
      • Using Custom CSS to style your chatbot
    • 👨‍💼Human Handover for your Chatbots
      • AI Chatbot Handover to Human Support via Email
      • How to Set Up Live Chat within Wonderchat
    • 📇Collecting Leads with your Chatbot
      • How to set-up leads generation sequences
      • How to collect user names, emails and phone numbers from users
      • Turning on email notifications for every new lead collected
      • [For Enterprise Users] How to Route Chats by Topic to Sales Representatives
    • 🤝Sharing your Chatbot
      • How to Share Your Chatbot Publicly
      • How to Add Team Members to Wonderchat
    • 🔋Using Chatbot Tools
      • Set-up Custom Chatbot Tools
    • ⚙️Adding Chatbot Workflows
      • Set-up Chatbot Workflows
  • Integration Guides
    • Active Campaign
    • Calendly
    • Freshdesk
    • HubSpot
      • Adding Wonderchat Tags to Hubspot
    • Shopify
    • Slack
      • Slack (via Zapier)
    • Twilio
    • WhatsApp
    • Zapier App
    • Zendesk
    • Google Drive
    • Microsoft Sharepoint
    • Facebook Messenger
    • Discord
  • FAQ
    • How To Exclude VAT/GST Charge at Checkout
    • How To Exclude VAT/GST Charge after Checkout (via Tax Refund)
    • How to Apply a Promo Code at Checkout
    • Upgrading Wonderchat Subscription
Powered by GitBook
On this page
  • Step 1: Click on Widget Embedding Option
  • Step 2: Customize the Widget Configuration
  • (Optional) Exclude chatbot from rendering on certain pages of your site
  • Step 3: Preview and Test the Widget
  • Step 4: Embed the Chatbot on Your Website
  • Step 5: Monitor and Respond to Chats
  • Summary

Was this helpful?

  1. Setup Guides
  2. Adding your Chatbot to your website

How to Embed a Chat Widget

A Guide on How to Embed a Chat Widget on your Website.

PreviousAdding your Chatbot to your websiteNextHow to Embed a Chat Screen

Last updated 3 months ago

Was this helpful?

Embedding a Chat Widget for a General Site

In today's digital age, chat widgets are an essential tool for businesses you to connect with your customers. Embedding a chat widget on your general site can help you provide instant support to your customers, increase engagement, and ultimately boost your sales. An automated Chatbot like Wonderchat can make your website and your value proposition even more appealing.

Here are steps you can take to instantly embed your Wonderchat widget into your site.


Step 1: Click on Widget Embedding Option

  1. Login to Wonderchat:

    • From your Dashboard, find the chatbot you want to embed.

  2. Open the Options Menu:

    • Click the three-dot menu (⋮) under the Actions column

  3. Select "Embed to Website":

    • Click on the Embed to Website option from the dropdown (as shown in the image). This will take you to the embed settings pop-up page.


Step 2: Customize the Widget Configuration

  1. Widget Size and Button Size:

    • Adjust the Widget Size and Widget Button Size from the dropdown menus to fit your website's design (options like Normal are available).

  2. Positioning:

    • You can configure the widget's position by setting the Offset Bottom and Offset Right values for both desktop and mobile views.

  3. Widget Display:

    • Select how the widget is displayed:

      • Entire Site: Show the widget across all pages.

      • Hide for Specific URLs: Exclude the widget on specific URLs.

      • Only Show on Specific URLs: Display the widget only on selected URLs.

  4. Additional Settings:

    • Toggle the options for allowing the widget to be movable or enabling Advanced CSS Customization if needed.


(Optional) Exclude chatbot from rendering on certain pages of your site

  • Enable the “hide widget for specific URLs” button

  • Enter the links where you wish to exclude the chatbot from rendering

  • If you wish to exclude an entire subdirectory (i.e. wonderchat.io/blogs), remember to add an /* asterisk after links.

    • E.g. "https://wonderchat.io/blogs/*"

    • This will command the chatbot to exclude all urls with the /blog links


Step 3: Preview and Test the Widget

  1. Preview the Widget:

    • Once you've configured your settings, click the Preview Widget button.

    • This will open a preview window, where you can see how the chatbot will look and function on your website.

  1. Test the Chatbot:

  • In the preview window, your chatbot will appear as a widget on the bottom right of the page.

  • You can interact with the chatbot to ensure it works as expected before embedding it on your actual site.


Step 4: Embed the Chatbot on Your Website

  1. Copy Script Code to Clipboard

    • After configuring and previewing the chatbot, return to the main embed section and click Copy to Clipboard to copy the script code.

  2. Insert the Script into Your Website:

    • Now, it's time to add the embed code to your general site. You can do this by opening your site's HTML code and pasting the embed code just before the closing <body> tag.

  3. Deploy and Save:

    • Once the code is added, save your changes and deploy your website to make the chatbot live. Make sure to test the chat widget to ensure it's working correctly.


Step 5: Monitor and Respond to Chats

Once the chat widget is up and running on your general site, you can then and respond to chats promptly. This will help you provide excellent customer support and build lasting relationships with your customers.


Summary

  1. Copy the embed script from Wonderchat’s dashboard.

  2. Adjust the widget configuration settings.

  3. Preview the chatbot to ensure everything looks correct.

  4. Embed the script into your website and deploy the changes.

In conclusion, embedding a Wonderchat chat widget for your general site can help you provide instant support to your customers, increase engagement, and boost your sales. By following the steps outlined in this guide, you'll be able to embed a chat widget on your general site quickly and easily.


If you have any more questions, feel free to reach out to us at support@wonderchat.io

🖥️
Click on "Embed to website"
Customize your Widget Configuration by toggling on the settings here
Click on "Preview Widget"
Wonderchat Preview Page
Click on "Copy to clipboard"