Skip to content

November offer: 50% off your November fee on monthly plans, or off a full year on yearly plans.

View Plans

How to Add a WhatsApp Button to Your Website

Adding a WhatsApp button to your website takes a few minutes; the real difference comes from how you greet the visitor who taps it. We walk through preparing the wa.me link, writing a prefilled message for each page, setting up the first reply and what to do when messages multiply.

A visitor is on a product page with one question in mind: "Will this size fit me?" If they cannot find the answer, they close the tab and leave. Adding a WhatsApp button to your website exists to catch exactly this moment. The visitor writes to you with one tap, and you answer the question before the buying decision. Below we explain how to add the button, how to set up the first messages and how to manage incoming chats.

How does a WhatsApp button help sales?

Filling in a form is a hassle, email is slow, and picking up the phone feels heavy to many people. WhatsApp, on the other hand, is an app customers already keep open all day. A person who taps the button is ready to ask a question, which makes them a warm lead.

  • You catch the undecided visitor. Small questions like size, color and delivery time are often the ones that make people abandon the cart.
  • The conversation lasts. The customer can return to the same chat the next day and pick up where they left off.
  • You move the sale forward in the chat. Product images, links and payment links are shared on the same screen.
  • You see the gaps in your site. Frequent questions tell you which information is missing on the product page.

Let's also be honest about one thing: a button alone does not bring sales. If the answer comes hours later, or the first message leaves the customer hanging, the button becomes a door that opens onto disappointment. Half of the job is a fast first reply that points the way.

3 ways to add a WhatsApp button to your website

1. Your own button with a wa.me link

WhatsApp's "click to chat" feature lets even someone who has not saved your number in their contacts start a chat with you. For this, you prepare a link that starts with wa.me. It is enough to point any button, text or a fixed icon in the corner of your site to this address. No coding knowledge is needed.

2. A plugin or theme setting from your site platform

Most ready-made site platforms have WhatsApp button plugins or built-in theme settings. The wa.me link still works behind the scenes; what is left for you is the appearance and position settings. When choosing a plugin, check that it does not slow down your site and that it is updated regularly.

3. A chat window on the site (Web Chat)

The visitor writes to you from a window that opens in the corner of the page, without leaving the site. It is a comfortable route for visitors browsing on desktop or those who do not want to move the chat to their phone. Many businesses use both together: the window on the site, and the WhatsApp button for those who want to continue from their phone.

MethodWho it suitsWatch out for
wa.me linkAny business that wants to start quicklyTest the link on mobile and desktop
Plugin / theme settingThose who built their site on a ready-made platformSite speed and keeping the plugin up to date
Web Chat windowThose with high desktop traffic who want to give support without sending people off the siteYou need an agent or bot to watch the window
  1. Write the number in international format. Start with the country code (90 for Turkey); drop the leading 0, the plus sign, spaces, parentheses and dashes. Example: https://wa.me/905XXXXXXXXX
  2. Add a prefilled text if you like. At the end of the address, write ?text= and the URL-encoded message. The text "Hello, I would like information about this product" looks like this: https://wa.me/905XXXXXXXXX?text=Hello%2C%20I%20would%20like%20information%20about%20this%20product. Spaces, commas and special characters are encoded this way; free URL encoding tools do the job in seconds.
  3. Test it. The link opens WhatsApp on a phone and WhatsApp Web on a computer. Try both and check that the prefilled text arrives intact.
  4. Place the button. Make it visible, readable and large enough to tap comfortably with a finger.

Official button design WhatsApp has ready-made "Chat on WhatsApp" buttons in green and white, in three sizes, that follow its brand rules. They are currently offered in English only, and WhatsApp asks that these buttons be used unmodified.

How should you set up the welcome message?

There are actually two separate messages here. One is the prefilled text you put in the visitor's text box. The other is the first reply you give them. Both matter.

Prefilled text: let it change by page

Putting the same "Hello" text on every page wastes the opportunity. Put the product name on the button on a product page, and "about my order" on the one on the order page. The visitor does not have to think about what to write, and you see who is asking what on the first line.

  • Product page: "Hello, I would like information about [product name]."
  • Quote page: "Hello, I would like to get a price quote for my company."
  • Appointment page: "Hello, I would like to book an appointment."

Keep the text short. A prefilled message only lands in the box; the visitor can delete it and write their own question, and they still press send themselves.

First reply: fast, short, and pointing the way

The customer wrote. The ball is now in your court. A good first reply does three things: it greets, says who they are talking to, and shows the next step.

"Hello, welcome to [Store name]. We are here for your questions about products, sizes or orders. Which product are you interested in?"

The mistake we often see is this: a long introduction, followed by a five-item menu. The customer came to ask their question, not to read a brochure. Do not leave a message that arrives outside working hours unanswered either; even a short note saying when you will get back keeps the customer. For ready-made texts, take a look at greeting and away message examples.

Where should the button go on the site?

  • Product page: The place where the question arises. A small "Ask on WhatsApp" link near the "Add to cart" button works well.
  • Cart and checkout step: Last-minute questions about shipping, payment options and returns come up here.
  • Contact page: It should definitely be there next to the phone and email.
  • A fixed icon on mobile: A small icon in the bottom right corner, always visible as you scroll.

There are things to avoid too. The button sitting on top of the checkout or "Add to cart" button, pop-ups that cover the screen as soon as the page opens, and three separate WhatsApp icons on the same page. These do not help, they annoy.

Who answers when messages pile up?

As the button works, the number of messages grows and keeping up with one phone gets harder. For a business that gets few messages, the WhatsApp Business app is enough. If several agents need to write from the same number, you need bot replies to questions that come at night, or you need chats linked to your store system, moving to the WhatsApp Business API makes more sense.

In Chatopya, once your number is connected to the API, messages coming from the wa.me button land in the Conversations screen. Multiple agents use the same number, and chats are assigned and handed over. The AI answers frequently asked questions 24/7 from your business's own information; what it cannot resolve it leaves to an agent along with the chat history. You can also build flows such as appointments and order forms without code using the drag-and-drop designer.

If you want a chat window on the site as well, Chatopya Web Chat is set up without code with the WordPress plugin and the Shopify theme extension, and on other sites a short code snippet is enough. It can show a proactive welcome message before the visitor has typed anything, and recognize a logged-in member. These conversations land in the same Conversations screen as WhatsApp chats.

Gather chats from your site on one screen. Let's show you the WhatsApp and Web Chat setup on your own site.

Book a free demo

If you use the API, factor in the cost A 24-hour customer service window opens with a customer who writes from the site button. Since October 1, 2026, Meta charges for replies given in this window (service messages) after the first 1,000 messages per month per number. The free entry point window applies to customers who come from ads that lead to WhatsApp; the site button is not covered by it. Details are in our guide to Meta's charges.

Is the button working, and how can you tell?

You put the button up. But does it really touch sales? A few simple habits are enough to see.

  • In your site analytics tool, mark the button click as a separate event; you will see which page gets more clicks.
  • Use a different prefilled text on each page. The first message that arrives already tells you which page the customer came from.
  • Track your first response time. In Chatopya's analytics dashboard, response time, resolution rate and satisfaction are shown together.
  • Once a week, look at how many chats ended in an order, and add the most-asked questions to your product pages.

One last warning: a customer who writes from the button is writing to get an answer to their question. That does not mean permission for you to send them a campaign message. Get separate, explicit permission for marketing messages and keep that permission on record.

Frequently asked questions

Is adding a WhatsApp button to a website paid?

The wa.me link is free. When you chat with the WhatsApp Business app there is no message fee; if you use the API, Meta's message charges apply.

Does the WhatsApp button work on a computer?

Yes. The link opens the WhatsApp app on a phone and WhatsApp Web on a computer.

Can I use special characters in the prefilled message?

You can, but the text needs to be written URL-encoded. Convert it with a free URL encoding tool and be sure to test it.

Can I send a campaign message to a customer who wrote from the button?

You should not, unless the customer has given explicit permission to receive marketing messages. Writing to get an answer to a question does not turn into permission for campaigns.

Can I connect the button to the number in the WhatsApp Business app?

Yes, a wa.me link works with any number that has an active WhatsApp account. If you move the number to the API later, the same link keeps working.

Share this article WhatsApp LinkedIn X Facebook
Related Chatopya solution Explore bulk messaging

Turn chats from your site into sales

Gather WhatsApp and Web Chat conversations on one screen and cover them 24/7 with AI. Setup and training are free.

View Plans