Click-to-chat link
A wa.me URL with a pre-filled message opens WhatsApp instantly — no widget or code required.
Start with a free click-to-chat link, upgrade to a branded widget, and route every conversation to your team inbox with full context.
At a glance
What you get
A wa.me URL with a pre-filled message opens WhatsApp instantly — no widget or code required.
Embeddable JavaScript widget with custom colour, icon, position, welcome message, and pre-chat fields.
Optionally collect name, email, or topic before the chat opens, so agents start with context.
Conversations route to queues and agents by skill, language, or load — not to one person's phone.
A WordPress shortcode and plugin, plus Shopify and WooCommerce support, make embedding trivial.
See which pages and campaigns drive chats, and reconcile them against replies and revenue.
How it works
Use https://wa.me/<number>?text=<message> for the fastest possible click-to-chat button.
Or paste Greenbubble's script or WordPress shortcode anywhere on your site.
Match colour, icon, position, and welcome copy to your site's design.
Point the widget at Greenbubble so chats land in the shared inbox with context.
Deep dive
Three approaches — pick the one that matches your team's complexity.
https://wa.me/<your-number-with-country-code>?text=<urlencoded-message>Example: https://wa.me/15551234567?text=Hi%20I%20need%20help%20with%20my%20order
Click anywhere on your website (button, image, text) and the visitor's WhatsApp opens with your pre-filled message. Free, no setup.
The number must include the country code and no plus sign, spaces, or dashes. So a US number becomes 15551234567, not +1 555 123 4567. Encoding the message correctly matters too: spaces become %20, and any special character needs URL encoding. Greenbubble's link builder does this for you and gives you a copy-ready URL.
A small chat bubble in the corner of your site that opens WhatsApp when tapped. Greenbubble's widget:
Embed with one line of JavaScript:
<script src="https://cdn.greenbubble.io/widget.js" data-workspace="YOUR_ID"></script>Without a form, a WhatsApp click gives you a phone number and a message. With a form, you also capture name, email, and reason for contact before the chat starts, so the conversation arrives pre-qualified and your CRM record is more than a bare number. For sales teams, this is the difference between a queue of anonymous chats and a queue of leads.
| Option | What it controls | Typical choice |
|---|---|---|
| Colour | Bubble and header colour | Brand primary colour |
| Position | Corner of the screen | Bottom-right |
| Welcome message | First line the visitor sees | "Hi — how can we help today?" |
| Pre-chat form | Fields collected before chat | Name, email, topic |
| Availability | When the widget invites a chat | Business hours, or always |
| Offline message | Shown outside hours | "Leave a message, we reply by 9am" |
If your team has more than one person handling WhatsApp, the widget should not open a 1:1 WhatsApp chat — it should open a Greenbubble conversation that your team can route, assign, and respond to from the shared inbox.
This is what the Greenbubble widget does by default. The conversation is captured with full metadata (URL the visitor was on, referrer, time on site, custom data attributes) and assigned to an agent.
A click-to-chat link opens a private chat between the visitor and whichever phone number is behind the link. That conversation is invisible to everyone else, cannot be assigned, and leaves no trace if the person who owns the phone is away. A routed widget starts a tracked conversation your whole team can see, split, and report on.
| Approach | Setup effort | Multi-agent | Tracking | Best for |
|---|---|---|---|---|
| Click-to-chat link | Minutes | ❌ | Minimal | Solo businesses, quick start |
| Branded widget | Minutes | Via inbox | Good | Small teams, lead capture |
| Team-routed widget | Minutes | ✅ | Full | Support and sales teams |
for sitewide, or any page for targeted.Greenbubble provides a WordPress plugin (separate from the WooCommerce sync plugin) that adds a settings page and shortcode. Paste [greenbubble_widget] into any page or post.
theme.liquid before .in your layout template.
Once the widget is live, watch four numbers: widget opens, conversations started, first-response time, and conversion. Widget opens that never become conversations usually mean the welcome message is unclear or the form asks too much. High starts but slow first responses point to staffing, not design.
The bubble is hidden behind another element on mobile. The welcome message is vague ("Chat with us"). The pre-chat form asks for five fields before a conversation can start. No one is assigned to the widget queue during business hours. None of these require a redesign; each is a small configuration fix.
A pre-chat form collects personal data, so say what you collect and why. Link your privacy notice near the form, only ask for what you will actually use, and make sure opt-in to marketing is a separate, clear choice from starting a support chat. A widget that quietly bundles marketing consent into a support conversation is a compliance risk and a poor experience.
If you are unsure, start with the team-routed widget. It takes minutes to install, captures metadata, and routes to an inbox you control. If you later find you only ever need a simple link, you can fall back with no loss. Starting with a bare click-to-chat link and migrating later means reworking embeds and retraining customers on where to click.
Make sure the widget can be reached by keyboard, has a visible focus state, and does not trap focus in a way that blocks the rest of the page. Give the launcher button a clear accessible label such as "Open WhatsApp chat". Small details like these keep the widget from becoming an accessibility barrier on an otherwise compliant site.
Yes. The simplest form is a click-to-chat link (https://wa.me/
Use the format https://wa.me/
The basic WhatsApp click-to-chat link is free. Greenbubble's branded widget with conversation routing is included in the SaaS plan.
Greenbubble provides a WordPress plugin (separate from the WooCommerce sync plugin) that adds a settings page and shortcode. Paste [greenbubble_widget] into any page or post.
Yes. Greenbubble's widget editor lets you change the colour, icon, position, welcome message, and pre-chat form fields to match your brand.
The widget loads asynchronously and is a small script, so it does not block page rendering. If you are especially performance-sensitive, load it after your main content or only on pages where you want it.
Yes. Place the embed code on specific pages instead of sitewide, or use the widget's targeting rules to show it by URL, device, or time of day.
Yes, and mobile is where most WhatsApp traffic originates. The widget adapts to small screens, and on a phone it opens the WhatsApp app directly with the conversation already started.
Start free trial → · See widget gallery → · Book a walkthrough →
FAQ
Yes. The simplest route is a click-to-chat link; for a branded experience, Greenbubble provides an embeddable widget that routes to your team inbox.
Use https://wa.me/<number-with-country-code>?text=<url-encoded-message>, for example https://wa.me/15551234567?text=Hi%20I%20need%20help.
The basic click-to-chat link is free. Greenbubble's branded widget with routing is included in the SaaS plan.
Use the Greenbubble WordPress plugin, which adds a settings page and a [greenbubble_widget] shortcode for any page or post.
Yes. The widget editor controls colour, icon, position, welcome message, and pre-chat form fields.
Keep reading
Meet visitors where they are
A free click-to-chat link or a branded widget that routes straight into your team inbox.