How to Add a Free WhatsApp Chat Widget to Your WordPress, Shopify, or Other CMS Website

Content

topic2 cover en 38

A WhatsApp chat widget on your website lets visitors start a conversation with one click, without saving your number or leaving the page. Adding a WhatsApp widget to WordPress, Shopify, or other CMS sites is straightforward if you use a platform that provides click-to-chat and template-based first messages so you stay compliant with the WhatsApp Business API.

This guide explains how to add a free WhatsApp chat widget to WordPress, Shopify, and other CMS websites: what you need (API access, templates), how to install the widget (plugin, script, or link), and how to handle the first message and conversations. For solutions that include widget and WhatsApp API, see Spoki solutions and features.

What You Need Before Adding the Widget

To show a WhatsApp chat widget that starts real conversations (not just a click-to-chat link that opens the app with a pre-filled text), you typically need:

  • WhatsApp Business API access: Either directly or via a BSP (Business Solution Provider). The API is required for template-based first messages and conversation handling at scale.
  • Approved template: The first message to a contact must be an approved template. You’ll use one template (e.g. welcome, “Hi, how can we help?”) for widget clicks so the conversation starts compliantly.
  • Widget or plugin: A widget (floating button, click-to-chat link, or plugin) that opens WhatsApp with the correct template or pre-filled text and, if needed, connects replies to your inbox or CRM.

Platforms like Spoki provide API access, template management, and widget/integration options for WordPress and other websites. For use cases and customer support, see the links.

Free vs paid: A “freewidget usually means no extra cost for the widget itself; you may still need WhatsApp Business API access (often through a BSP or platform that charges for API usage or conversations). Some platforms offer a free tier or trial so you can test the widget and templates before scaling. Check whether the widget only adds a click-to-chat link (opens WhatsApp with pre-filled text) or also connects replies to an inbox or CRM; the latter is better for conversation handling and automation.

Adding the WhatsApp Widget to WordPress

On WordPress, you can add a WhatsApp chat widget in two main ways:

Plugin or integration: Many WhatsApp API platforms offer a WordPress plugin or integration that adds a floating button or widget. You connect your API account, choose an approved template (or pre-filled text that fits your template), and the plugin shows the button on your site. Clicks open WhatsApp and send the first message via template when required. Check that the plugin supports template-based first messages if you use the API.

Manual embed: If you don’t use a plugin, you can add a click-to-chat link or a small script that shows a button. The link usually looks like `https://wa.me/PHONENUMBER?text=PREFILLED_TEXT`. The pre-filled text should match what your template expects (e.g. a welcome template with one button that starts the conversation). Replies then go to your WhatsApp inbox or the platform you use.

After installation, test the widget: click from a mobile or desktop browser and confirm the first message is sent correctly and replies reach your inbox. For FAQ and contact, see the links.

Adding the Widget to Shopify and Other CMS

Shopify and other CMS (e.g. Wix, Squarespace, custom sites) follow the same logic:

  • Shopify: Use an app from the Shopify App Store that connects to the WhatsApp Business API and adds a chat button, or add a custom liquid snippet / script in your theme that embeds a click-to-chat link or widget. Ensure the first message uses an approved template if you’re on the API.
  • Other CMS: Most CMS allow a custom HTML block or script in the footer or header. Paste the widget script or link provided by your platform (e.g. Spoki). The widget will show on every page where the code is loaded.

In all cases, use one approved template for widget clicks so conversations start within WhatsApp policy. For pricing and registration, see the links; you can book a demo to see widget and API together.

Handling Conversations After the First Click

When a visitor clicks the widget:

  • The first message is sent via your approved template (e.g. welcome).
  • A 24-hour session starts; you can reply with free-form messages or use automation (e.g. chatbot, FAQ).
  • Replies can be handled in your platform inbox or CRM so agents see context and history.
  • Keeping conversations in one WhatsApp thread and using templates only when required (first message, after session end) keeps you compliant and improves response times. For solutions and artificial intelligence, see the links.

    Placement and design: Place the widget button where visitors can see it without blocking content (e.g. bottom-right corner). Use a clear label (e.g. “Chat with us”) and ensure it works on mobile and desktop. Some widgets allow custom colors or icons to match your brand; keep the button visible but not distracting so conversion from website to WhatsApp stays high. If your site has multiple languages, use language-specific template text or pre-filled message so visitors get a welcome message in their language when they click the widget. Analytics on widget clicks and conversation starts help you see which pages or campaigns drive the most WhatsApp conversations so you can optimize placement and CTA.

    Conclusion

    Adding a free WhatsApp chat widget to WordPress, Shopify, or other CMS websites requires WhatsApp Business API access (or BSP), an approved template for the first message, and a widget or plugin that shows the button and opens WhatsApp correctly. Visitors get a direct conversation channel and you keep compliance and conversation history in one place. Support and sales teams can reply from the same inbox or CRM, so conversations stay organized and compliant. Install via plugin or script, test clicks and first message, and handle replies in your inbox or CRM. Explore Spoki features and solutions, register, or book a demo to add a WhatsApp widget to your website with API and compliance in mind.

    Related Articles

    Frequently Asked Questions

    What is Spoki?

    Spoki is a comprehensive WhatsApp Business API platform that enables businesses to transform WhatsApp into a powerful channel for marketing, sales, and customer support.

    With Spoki, you can:

    Automate communications: Send automated messages, create chatbots, and set up intelligent workflows

    Manage customer support: Multi-operator team management with ticketing system and conversation routing

    Increase sales: Recover abandoned carts, send payment requests, and manage your product catalog directly on WhatsApp

    Marketing campaigns: Send bulk messages to thousands of contacts with personalized templates

    AI-powered features: Leverage artificial intelligence to automate responses and qualify leads 24/7

    Integrate with your tools: Connect with over 4,000 platforms including CRM, e-commerce, and marketing tools

    Spoki is an official Meta Tech Partner, guaranteeing reliability, security, and access to all official WhatsApp Business API features.

    How does the WhatsApp Business API work?

    The WhatsApp Business App and the WhatsApp Business API (used by Spoki) are two completely different solutions designed for different business needs:

    WhatsApp Business App: • Designed for small businesses and sole proprietors • Manual message management • Limited to 5 devices simultaneously • Maximum 256 contacts per broadcast • No automation capabilities • Free but with significant limitations • No CRM or integration support

    WhatsApp Business API (Spoki): • Designed for medium to large businesses • Unlimited operators: Your entire team can manage conversations simultaneously • Unlimited broadcasts: Send messages to thousands of contacts • Advanced automation: Chatbots, automatic responses, intelligent workflows • CRM integration: Connect with your existing tools (HubSpot, Salesforce, etc.) • Analytics & reporting: Detailed statistics on your communications • No ban risk: Official API approved by Meta for bulk messaging • Cloud-based: No need to keep a phone connected • Multi-channel: Integrate WhatsApp with SMS, Voice, and other channels

    How much does a Spoki subscription cost?

    We have different plans suitable for various needs. Visit the Pricing page for updated details.

    Is there a free trial?

    Yes, Spoki usually offers a trial period or a free plan to test the platform.

    Can I integrate Spoki with other tools?

    Spoki integrates with thousands of platforms through native integrations, Zapier, Make (Integromat), and Webhooks.

    Native Integrations:

    E-commerce: Shopify, WooCommerce, PrestaShop, Magento

    CRM: HubSpot, Salesforce, Pipedrive, Zoho, ActiveCampaign

    Marketing: Mailchimp, Google Sheets

    Payment: Stripe, PayPal

    Support: Zendesk

    Via Zapier/Make:

    Connect to 4,000+ platforms including: • Google Workspace (Sheets, Calendar, Drive) • Microsoft Office 365 • Slack, Trello, Asana • WordPress, Webflow • Custom apps via API

    Webhooks & API:

    Full REST API for developers to build custom integrations.

    Try Spoki for Free

    No credit card required

    I accept the General Terms and Conditions and the processing of personal data related to the use of the Services pursuant to the Privacy Policy. *

    I accept specific articles of the Client Agreement, the GDPR Data Processing Agreement, and the General Terms and Conditions. *