Title: SoftGlaze Click to Chat
Author: Azhar Ali
Published: <strong>August 5, 2026</strong>
Last modified: August 5, 2026

---

Search plugins

![](https://ps.w.org/softglaze-click-to-chat/assets/banner-772x250.png?rev=3635654)

![](https://ps.w.org/softglaze-click-to-chat/assets/icon-256x256.png?rev=3635654)

# SoftGlaze Click to Chat

 By [Azhar Ali](https://profiles.wordpress.org/softglaze/)

[Download](https://downloads.wordpress.org/plugin/softglaze-click-to-chat.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/softglaze-click-to-chat/#description)
 * [Reviews](https://wordpress.org/plugins/softglaze-click-to-chat/#reviews)
 *  [Installation](https://wordpress.org/plugins/softglaze-click-to-chat/#installation)
 * [Development](https://wordpress.org/plugins/softglaze-click-to-chat/#developers)

 [Support](https://wordpress.org/support/plugin/softglaze-click-to-chat/)

## Description

SoftGlaze Chat adds a WhatsApp chat button to your WordPress site. A visitor taps
it, WhatsApp opens with a message already written, and the conversation carries 
on in WhatsApp as normal.

This plugin is not affiliated with, endorsed by, or sponsored by WhatsApp LLC or
Meta Platforms, Inc. WhatsApp is a trademark of its respective owner.

#### WhatsApp chat button for WordPress

Add the button from one settings screen. Choose one of six positions, three sizes,
your own colours and an entrance animation, then decide whether it appears immediately,
after a few seconds, or once someone has scrolled part of the way down. You can 
show it on desktop only, on phones only, or on both, and hide it while the visitor
is scrolling down so it stays out of the way while they read. There is no page builder
step and no code to paste; to add WhatsApp to WordPress you fill in a phone number
and save.

#### Click to chat links (wa.me) with no API needed

Every button is an ordinary wa.me link. There is no WhatsApp Business API to apply
for, no access token to paste, no third-party gateway in the middle and no monthly
message fee. Click to chat on WhatsApp in WordPress works the moment you enter a
number.

Nothing is sent when a visitor taps the button. WhatsApp opens with your message
pre-filled and the visitor presses send themselves, so no message ever leaves your
site.

#### Multiple WhatsApp agents with schedules

Add as many people as you need. Each one gets a photo, a name, a role, a department,
their own WhatsApp number and, if you want, their own pre-written message. WhatsApp
multi agent support is built in rather than bolted on: give each person their own
working hours, with several time ranges per day and a list of holidays, and the 
plugin works out who is available in your site’s timezone.

When somebody is off shift you choose what visitors see: keep them listed with a“
back tomorrow at 9:00 am” note, or hide them until they return. With more than one
person available, decide who gets the chat — let the visitor pick from the list,
take turns in rotation, choose at random, or send it to whoever was contacted longest
ago.

#### WhatsApp button for WooCommerce products

If WooCommerce is active, extra entry points become available:

 * A WhatsApp order button on WooCommerce product pages, under the add to cart button
   or under the whole product summary. On a product with options, the name, price
   and SKU in the message follow whichever variation the shopper selects.
 * A WhatsApp share button so a shopper can send the product to somebody else.
 * A basket nudge for shoppers with a question before they commit, carrying the 
   basket total.
 * A help button at checkout.
 * A thank-you page button inviting the customer to send you their order number.

All of it is optional and switched off until you turn it on, apart from the product
button.

#### Floating chat widget positions and design

The floating chat widget for WordPress opens a panel listing your team with online
and offline badges, grouped by department, with a search box that appears by itself
once you have more than five people. You can set the panel heading and wording, 
follow the visitor’s dark mode, choose the button shape and shadow, and set how 
wide the panel opens. The panel is keyboard accessible and works with a screen reader.

An optional greeting bubble can appear beside the button after a delay, at a scroll
position, or when the visitor moves to leave. It remembers being dismissed so it
does not become a nuisance.

#### Show the WhatsApp contact button only where you want it

Display rules decide where the button appears: include or exclude particular pages,
whole post types, categories and tags, WooCommerce product categories, URL patterns,
device, logged-in state and user role. You can also create several named campaigns,
each with its own rules, wording, greeting and design, so a WhatsApp support button
on your documentation can look and speak differently from the order button in your
shop.

#### Chat analytics and lead capture

A dashboard shows how often the button is used: totals with a comparison against
the previous period, a chart by day, the split between desktop and mobile, which
page sends the most people to WhatsApp, a leaderboard of your team, and a breakdown
of which WooCommerce placement is working. Pick today, the last 7 days, the last
30, or any custom range, and export any of it to CSV. These counts are kept in your
own database and are never sent anywhere.

If you use Google Analytics 4 and want clicks to reach it, there is a setting that
pushes an `sgwa_click` event to the data layer. It is off unless you turn it on,
because that is the one thing the plugin can do that hands a visitor’s action to
someone else. The plugin never loads Google’s script itself.

When nobody is on shift, the panel can offer a short form instead — name, phone 
number, message and a consent checkbox whose wording you write. Submissions are 
stored in your own database, listed on the Contacts screen, and emailed to you with
a link that opens WhatsApp ready to reply, so an enquiry that arrives at midnight
is still there in the morning.

#### WhatsApp QR code generator

The Tools screen builds a click to chat link from any number and message, or from
an agent you have already added, and turns it into a QR code you can download as
a PNG at the size you need. Print it for a shop window, a menu, a receipt or a business
card, and a phone camera opens the chat. The QR code is drawn in your browser; nothing
is uploaded anywhere to produce it.

#### Buttons inside your posts and pages

As well as the floating button, you can place a button in your content three ways:
the `[sgwa_chat]` shortcode, the “WhatsApp Chat Button” block in the editor, and
an Elementor widget if you use Elementor. Each one takes an agent, its own wording
and a solid or outline treatment:

    ```
    [sgwa_chat agent="2" text="Ask about this course" style="primary" align="left"]
    ```

#### Compliance and privacy

The plugin uses nothing but public wa.me links, which is what WhatsApp publishes
them for. It does not use any unofficial WhatsApp API or automation library, because
those get the number they are used with banned.

There are no SoftGlaze servers. The plugin makes no external HTTP requests of any
kind: no telemetry, no analytics call-home, no licence check, no update check, no
remote fonts and no CDN. Everything it records lives in your own database.

It adds a section to your site’s suggested privacy policy text explaining what is
stored, and captured contacts are included in WordPress’s own personal data export
and erase tools. The lead form has a consent checkbox you write yourself. A “remove
all data when the plugin is deleted” setting on the System Check screen, off by 
default, clears the options, tables and scheduled job on uninstall.

#### Third-party code

The QR code generator bundles [qrcode-generator](https://github.com/kazuhikoarase/qrcode-generator)
2.0.4 by Kazuhiko Arase, used under the MIT licence. It is vendored unmodified at`
lib/qrcode-generator/` with its licence text beside it, it runs entirely in the 
browser, and it makes no network requests.

#### For developers

Everything the front end decides can be filtered:

 * `sgwa_should_display` — whether a campaign renders on this request. Passed the
   decision, the campaign and the device bucket.
 * `sgwa_agents` — the agents available to the current request.
 * `sgwa_campaigns` — the active campaigns, in priority order.
 * `sgwa_message_template` — the message template before its variables are resolved.
 * `sgwa_message_vars` — the variables a template can use, so you can add your own.
 * `sgwa_click_logged` — fires after a click is written to the log, with the stored
   row.
 * `sgwa_lead_captured` — fires after a lead is stored, with the contact id and 
   the lead.

Message templates understand `{page_title}`, `{page_url}`, `{site_name}`, `{product_name}`,`{
product_price}`, `{product_sku}`, `{cart_total}` and `{order_id}`.

The plugin also ships a small add-on contract — `sgwa_register_modules` plus filters
on the admin tabs, dashboard cards and REST routes — so a separate add-on can extend
it without patching it. Nothing in this plugin registers a module; the contract 
is there for add-ons to use.

#### The free version

The free version is complete — everything on this page works forever, free. SoftGlaze
Chat Pro is a separate product that adds a WhatsApp team inbox, operators, automations
and AI on top.

There is no licence check, no expiry, no locked button and no upgrade prompt in 
your admin.

#### What’s next

Two other SoftGlaze plugins are in the directory, built to the same rules — everything
on your own server, no external calls:

 * [SoftGlaze PDF Invoices for WooCommerce](https://wordpress.org/plugins/softglaze-pdf-invoices/)—
   PDF invoices, packing slips, proformas and credit notes, generated locally.
 * [SoftGlaze Maintenance Mode & Coming Soon](https://wordpress.org/plugins/softglaze-maintenance-mode-coming-soon/)—
   coming soon and maintenance pages with lead capture.

## Screenshots

[⌊The dashboard: click totals with period comparison, a chart by day, device split,
top source and an agent leaderboard.⌉⌊The dashboard: click totals with period comparison,
a chart by day, device split, top source and an agent leaderboard.⌉[

The dashboard: click totals with period comparison, a chart by day, device split,
top source and an agent leaderboard.

[⌊The Agents screen, with the agent editor open on working hours.⌉⌊The Agents screen,
with the agent editor open on working hours.⌉[

The Agents screen, with the agent editor open on working hours.

[⌊The Design screen, with the live preview of the button and panel beside the settings.⌉⌊
The Design screen, with the live preview of the button and panel beside the settings
.⌉[

The Design screen, with the live preview of the button and panel beside the settings.

[⌊The chat panel on the front end, listing agents by department with online badges.⌉⌊
The chat panel on the front end, listing agents by department with online badges
.⌉[

The chat panel on the front end, listing agents by department with online badges.

[⌊The Campaigns screen, showing display rules for one campaign.⌉⌊The Campaigns screen,
showing display rules for one campaign.⌉[

The Campaigns screen, showing display rules for one campaign.

[⌊The WooCommerce screen, where the product order button, its wording and the message
variables are set.⌉⌊The WooCommerce screen, where the product order button, its 
wording and the message variables are set.⌉[

The WooCommerce screen, where the product order button, its wording and the message
variables are set.

[⌊The Tools screen with a click to chat link and its QR code.⌉⌊The Tools screen 
with a click to chat link and its QR code.⌉[

The Tools screen with a click to chat link and its QR code.

[⌊System Check, with every check passing.⌉⌊System Check, with every check passing
.⌉[

System Check, with every check passing.

## Blocks

This plugin provides 1 block.

 *   WhatsApp Chat Button A WhatsApp button in your content, with its own agent 
   and its own message.

## Installation

 1. In your WordPress admin go to Plugins, Add New, and search for “SoftGlaze Click
    to Chat”. Click Install Now, then Activate. To install manually instead, upload
    the `softglaze-click-to-chat` folder to `/wp-content/plugins/` and activate it 
    from the Plugins screen.
 2. Open **SoftGlaze Chat** in the admin menu. You will land on the Dashboard, which
    is empty until clicks start arriving.
 3. Go to **Agents** and click **Add agent**. Enter a name and the full international
    WhatsApp number, country code first, with no plus sign, spaces or dashes. A UK 
    number would be `447700900123`.
 4. Optionally add a photo, a role, a department and a message to pre-fill. Set working
    hours if you want the button to reflect when somebody is actually there.
 5. Save. The button is now live on your site.

That is the whole setup. Everything below is optional.

 * **Design** changes the position, size, colours, animation and panel wording, 
   with a live preview beside the settings.
 * **Campaigns** controls where the button appears and lets you run more than one
   configuration.
 * **WooCommerce** adds the product, basket, checkout and thank-you buttons. The
   tab appears only when WooCommerce is active.
 * **Lead form** turns on the message form for when nobody is on shift.
 * **Tools** builds click to chat links and QR codes, and shows the shortcode for
   buttons inside your content.
 * **System Check** confirms the plugin is set up correctly and holds the data removal
   setting.

## FAQ

### Do I need the WhatsApp Business API?

No. This plugin uses public wa.me click to chat links, which need nothing beyond
a working WhatsApp number. There is no API application, no access token and no per-
message cost.

### Do I need WooCommerce?

No. WooCommerce features appear only if WooCommerce is active. Without it the plugin
is a WhatsApp chat widget for WordPress and nothing about the shop features is loaded.

### Can I use more than one WhatsApp number?

Yes, as many as you like. Add one agent per number. Visitors either pick from the
list or are routed automatically depending on the setting you choose.

### What number format should I use?

The full international number with the country code first and nothing else: no plus
sign, no spaces, no brackets, no dashes. `447700900123`, not `+44 7700 900123`.

### Where is my data stored?

In your own WordPress database, in your site’s own tables. Nothing is sent to us
or to any third party, and the plugin makes no external HTTP requests at all.

### Does the button work with a caching plugin?

Yes. Who is on shift and who a visitor is routed to are worked out on your server
before the page is sent, and anything that depends on screen size is decided in 
the browser rather than baked into cached HTML. The message form requests a fresh
security token when it is submitted, so it keeps working on a page that has been
sitting in a cache.

### Why is my button not showing?

Three things to check. First, the Campaigns screen, in case a display rule is excluding
the page you are looking at. Second, the agent’s working hours: if everybody is 
off shift and you chose “hide them until they are back”, the button hides too, which
is deliberate so nobody taps into silence. Third, your page cache, which may still
be serving a copy of the page from before you saved.

### Does it work on phones?

Yes. On a phone the link opens the WhatsApp app; on a computer it opens WhatsApp
Web or the desktop app.

### Can I put a button inside a post or page?

Yes. Use the `[sgwa_chat]` shortcode, the “WhatsApp Chat Button” block, or the Elementor
widget. The Tools screen shows you the shortcode with your own agents filled in.

### Will it slow my site down?

It loads one small stylesheet and one deferred script, together under 10KB compressed,
and only on pages where the button actually renders. There is no jQuery dependency
and no external request to wait on. If a visitor has JavaScript switched off they
still get a working link.

### Is it translation ready?

Yes. Every string is translatable and the plugin ships a POT file. Right-to-left
languages get their own stylesheet.

### Can I remove everything when I uninstall?

Yes. There is a “remove all data when the plugin is deleted” setting on the System
Check screen, off by default. Turn it on before deleting the plugin and the options,
tables and scheduled task are all removed. Leave it off and your agents, settings
and captured leads survive a reinstall.

### Is there a paid version?

A separate add-on plugin, SoftGlaze Chat Pro, is planned. It will add a WhatsApp
team inbox using the official Meta Cloud API with your own credentials. Everything
described on this page stays in the free plugin.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“SoftGlaze Click to Chat” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Azhar Ali ](https://profiles.wordpress.org/softglaze/)

[Translate “SoftGlaze Click to Chat” into your language.](https://translate.wordpress.org/projects/wp-plugins/softglaze-click-to-chat)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/softglaze-click-to-chat/),
check out the [SVN repository](https://plugins.svn.wordpress.org/softglaze-click-to-chat/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/softglaze-click-to-chat/)
by [RSS](https://plugins.trac.wordpress.org/log/softglaze-click-to-chat/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First public release.
 * Added unlimited WhatsApp agents with photos, roles, departments, per-agent numbers
   and per-agent message templates.
 * Added per-day working hours with multiple time ranges, holiday dates and site-
   timezone availability, plus a choice between hiding an off-shift agent and showing
   when they return.
 * Added a floating chat button with six positions, three sizes, custom colours,
   a custom icon, five entrance animations, a pulse effect, show-after-delay and
   show-after-scroll triggers, hide-on-scroll-down, separate desktop and mobile 
   visibility, and a choice of button shape, shadow depth and panel width.
 * Added a chat panel with department grouping, automatic search above five agents,
   online and offline badges, dark mode support and full keyboard access.
 * Added four routing modes: visitor chooses, round robin, random, and whoever was
   contacted longest ago.
 * Added a greeting bubble with delay, scroll and exit-intent triggers, frequency
   limits and dismissal memory.
 * Added a display rules engine covering pages, post types, taxonomies, WooCommerce
   product categories, URL patterns, device, login state and user role, and named
   campaigns each with their own rules and wording.
 * Added WhatsApp button placements for WooCommerce product pages, including variation-
   aware product name, price and SKU, plus a share link, basket nudge, checkout 
   help button and thank-you page order number button.
 * Added a lead capture form for when no agent is on shift, with a consent checkbox,
   spam protection and email notification.
 * Added a Contacts screen and a dashboard with click totals, period comparisons,
   charts by day and device, an agent leaderboard, top source, WooCommerce placement
   breakdown and CSV export.
 * Added an optional Google Analytics 4 data layer event for each click, off by 
   default.
 * Added the `[sgwa_chat]` shortcode, a WhatsApp Chat Button block and an Elementor
   widget for buttons inside your content.
 * Added a Tools screen with a click to chat link generator and a QR code generator
   that runs in the browser.
 * Added a System Check screen reporting environment, tables, assets, REST routes,
   cron and configuration, with Site Health integration.
 * Added personal data export and erase support and suggested privacy policy text.
 * Added a right-to-left stylesheet and a translation template.

## Meta

 *  Version **1.0.0**
 *  Last updated **6 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [click to chat](https://wordpress.org/plugins/tags/click-to-chat/)[Floating Chat](https://wordpress.org/plugins/tags/floating-chat/)
   [whatsapp button](https://wordpress.org/plugins/tags/whatsapp-button/)[whatsapp chat](https://wordpress.org/plugins/tags/whatsapp-chat/)
   [whatsapp woocommerce](https://wordpress.org/plugins/tags/whatsapp-woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/softglaze-click-to-chat/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/softglaze-click-to-chat/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/softglaze-click-to-chat/reviews/)

## Contributors

 *   [ Azhar Ali ](https://profiles.wordpress.org/softglaze/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/softglaze-click-to-chat/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://softglaze.com/)