Try Omnifox free 7 days free. No credit card required.
Guides

Website Chat or WhatsApp Button? How to Set Up Both, Step by Step (WordPress, Wix and HTML)

Decide between a website chat widget and a WhatsApp button, then install either one on WordPress, Wix or plain HTML, set up AI replies and test it.

November 29, 2026
Website Chat or WhatsApp Button? How to Set Up Both, Step by Step (WordPress, Wix and HTML)
In this article

    Your website gets traffic, but hardly anyone fills in the contact form. Most visitors have one quick question ("Do you deliver to Leeds?", "Are you open Saturdays?") and leave if they can't get an answer in seconds. So you decide to add a chat, and immediately hit the first fork: website chat or WhatsApp button?

    This guide helps you pick (or run both), then walks through installing either one on WordPress, Wix or a plain HTML site, and finishes with the setup that makes the chat useful from day one.

    Website chat vs WhatsApp button: what's actually different

    They look similar on the page, a bubble in the corner, but they behave very differently.

    Website chat (widget) WhatsApp button
    Where the conversation happens On your site In the visitor's WhatsApp app
    Visitor needs WhatsApp No Yes
    You know which page they were on Yes No
    AI can reply Yes Yes, if your number is connected to a platform with AI
    Following up later While they're on the site, or by email On WhatsApp, any time
    Typical fit in the US/UK Most B2B and support traffic International, immigrant or younger audiences
    Install effort One snippet One snippet

    Rule of thumb for US and UK sites: WhatsApp isn't the default messaging app for most people, so a website chat should usually be your primary option. Add a WhatsApp button if a meaningful share of your customers already message you there, for example international clients, Spanish- or Portuguese-speaking communities, or travel and hospitality. Many businesses run both: the chat for people browsing now, the button for people who'd rather carry on from their phone.

    Step 1: get the snippet

    Either way, you'll end up with a short piece of code that goes just before your site's closing </body> tag.

    • Website chat: your support platform gives you a <script> tag. In Omnifox it's a single line you copy from the Webchat channel settings.
    • WhatsApp button: generate one for free with the WhatsApp chat button generator. Pick the number, the pre-filled message, the position and the color, then copy a self-contained HTML block that loads no external scripts.
    <!-- Example: what a website chat tag looks like -->
    <script src="https://.../widget/loader.js" data-widget-key="YOUR-KEY" async></script>
    

    Step 2: install it on your platform

    WordPress

    1. Log in to WordPress as an administrator.
    2. If your theme lets you add code to the footer (often under Customize or the theme's settings), paste the snippet there.
    3. If not, use a generic "insert headers and footers" plugin and paste it into the footer section.
    4. Save, clear your cache if you use a caching plugin, and open the site in a private window.

    You don't need a chat-specific plugin; pasting the tag is enough. See WordPress with Omnifox for details.

    Wix

    1. Open your site's dashboard and go to Settings → Advanced → Custom Code.
    2. Click "Add Custom Code", paste the snippet and set it to load on all pages, in the body (end).
    3. Save and publish.

    Wix requires a published site with a connected domain to use custom code. More on the Wix with Omnifox page.

    Plain HTML

    1. Open your shared template file (often footer.html or index.html).
    2. Paste the snippet right before </body>.
    3. Upload the file and reload the page.

    If your site is a single-page app (React, Vue and similar), add the snippet once in the main template, not in every view.

    Step 3: set it up before you announce it

    An unanswered chat is worse than no chat. Before calling it done:

    • Business hours: decide what visitors see after hours and who gets those messages.
    • Pre-chat form: ask only for what you need (name plus email or phone). Every extra field costs conversations.
    • Greeting: a short line that invites a question, for example:

    Hi there, looking for something specific? Ask us here, or if you prefer, we can carry on over WhatsApp.

    • AI replies: load your FAQs, prices and policies so the AI handles the repetitive questions and passes the rest to a person.
    • A real test: message from your phone and from another computer, and check it reaches the right person.

    Running both with Omnifox

    Omnifox's webchat is included on every plan. Paste the tag before </body>, Omnifox detects the domain and the channel switches to active on its own. From there you set up the pre-chat form, departments mapped to your teams, business hours, and proactive greetings of up to 5 bubbles triggered by time on page, scroll, URL, inactivity or device type. Visitors can send files up to 20 MB and voice notes up to 3 minutes, and the widget speaks English, Spanish and Portuguese.

    Webchat conversations land in the same inbox as WhatsApp, SMS, email, Instagram and your other channels, and an AI agent can answer from the first message. If you also add the WhatsApp button with your number connected, both chats end up in one place, handled by the same team.

    Two honest limits: webchat isn't a broadcast channel (campaigns go out over WhatsApp, email, SMS and Telegram), and on single-page apps the greeting triggers are evaluated on page load, not on every route change.

    Frequently asked questions

    Do I need to code to add chat to my website?

    No. You copy and paste one snippet into the right place. On WordPress and Wix it's done from the dashboard without touching files.

    Is a WhatsApp button enough for a US or UK business?

    Usually not on its own. Many visitors don't use WhatsApp, so a website chat catches people the button would miss. A button is a strong add-on when part of your audience already prefers WhatsApp.

    Will a chat widget slow down my site?

    A well-built widget loads asynchronously, after your main content. Omnifox's tag uses the async attribute so it doesn't block page load.

    Who answers when we're closed?

    You can show an after-hours message or let an AI agent answer common questions and leave the case ready for your team the next morning.

    Install today, measure for a week

    Pick an option, paste it in and count the new conversations over seven days. If you want website chat with AI and a shared inbox, start from the Webchat page and use the 7-day free trial.

    Ready to try it in your business?

    Bring WhatsApp, Instagram, Messenger, email and calls into one inbox, and let AI handle the first reply. Set it up today.

    7 days free. No credit card required.

    Comments (0)

    No comments yet. Be the first to share your thoughts.

    Leave a comment

    Your email is never published. Comments are moderated before appearing.

    Markdown supported. HTML is stripped.

    Read more

    Message us on WhatsApp