How to install the Webchat widget on your site
Add Omnifox live chat to your website by pasting a single code snippet.
Watch this step in the video · Install it on your site
The Webchat widget is the chat bubble that appears on your site so visitors can message you in real time. All those conversations land in your Omnifox inbox, where your team or an AI agent can answer them.
Before you start
- Administrator access in Omnifox.
- Access to edit your website code (or your CMS: WordPress, Shopify, etc.).
Step 1: Create the Webchat channel
- Go to Settings → Channels.
- Click Connect New Channel and choose Webchat.
- Name the widget (for example, Website Chat).
Step 2: Customize the widget
- Pick the main color and the position (left or right).
- Set the welcome message and the team name.
- Define your business hours and an offline message.
- Optionally, enable an AI agent to reply automatically.
Step 3: Copy and install the code
- Copy the install snippet Omnifox shows you.
- Paste it right before the closing
</body>tag on every page of your site.
Common installers:
- WordPress: paste the code into an HTML footer widget, or use a script-insertion plugin.
- Shopify: go to Theme → Edit code and paste it into
theme.liquidbefore</body>. - Custom HTML site: edit the template and add the script before
</body>.
Step 4: Verify the installation
- Open your site in an incognito window.
- Check the chat bubble appears.
- Send a test message and confirm it reaches your Omnifox inbox.
- Reply and verify the visitor receives the answer.
Best practices
- Limit the widget to the pages where you want to offer chat using visibility rules.
- Ask for name and email on start to identify the contact.
- When you publish site changes, confirm the script is still present.
Final tip: if you updated the widget and don't see the changes, force a no-cache reload (Ctrl/Cmd + Shift + R). Some CDNs cache the script for a few minutes.
Related articles
-
WhatsApp (Meta) error codes: what they mean and what to do
A table of the most common Meta error codes when sending on WhatsApp (131026, 131047, 131049, 130497, 141006, 131031, 131056, 132000, 190, 368…) and how to fix each one.
-
How to connect Telegram
Connect a Telegram bot to your Omnifox inbox in minutes using BotFather.
-
Instagram and Facebook comments: reply and moderate from Omnifox
See and answer comments on your Facebook and Instagram posts and ads, publicly or privately, and set up automatic replies.
-
Sending and receiving videos on each channel: formats and size limits
Which videos you can send and receive on WhatsApp, Instagram, Messenger, Telegram, web chat and email, the real size limits, and what to do with a large video.
-
Move from WhatsApp QR to Coexistence or Cloud API
Once you're done testing with the QR code, move your number to the official connection: no caps, with templates and broadcasts, and no volume-based ban risk.