WhatsApp Chat Button – How to add WhatsApp Chat Widget to website?

Thawnee Soares    11/25/21

Are you ready to level up your website in 2023? Harness the power of the WhatsApp Chat Button and transform your site into an engaging and customer-friendly hub.

In this fun, educational, and interesting guide, we’ll show you how to effortlessly integrate the WhatsApp Chat Button into your website, boosting user interaction and support like never before.

Why Use WhatsApp Chat Button in 2023? 🤔

WhatsApp continues to be a global sensation, with more than 2.5 billion active users as of 2023  By adding a WhatsApp Chat Button to your website, you can tap into this massive audience and provide instant, familiar communication channels for your visitors. This leads to increased customer satisfaction 😊, more conversions 💰, and a better brand reputation 🏆.

In today’s digital age, providing swift and efficient customer support is crucial for businesses of all sizes. By integrating the WhatsApp Chat Button into your website, you can offer your visitors an instant, familiar communication channel, leading to improved user engagement and customer satisfaction.

In this step-by-step guide, we’ll walk you through the process of adding a WhatsApp Chat Widget to your website.

Boost Your Website: Add a WhatsApp Chat Button with This Quick Guide

1️⃣Create a WhatsApp Business Account

The first step to integrating a WhatsApp Chat Button on your site is setting up a WhatsApp Business Account. This account offers a plethora of features designed for businesses, such as verified badges, quick replies, and detailed analytics.

2️⃣Choose Your WhatsApp Chat Button Integration Tool

There are several third-party tools available to help you add a WhatsApp Chat Button to your website, like Wati. Compare their features, pricing, and ease of use to find the best fit for your needs.

3️⃣Customize Your WhatsApp Chat Button
Now that you’ve chosen your integration tool, it’s time to customize your WhatsApp Chat Button. This includes selecting a design, choosing a colour scheme, and crafting the perfect greeting message to welcome visitors when they click on the button.

4️⃣Add the WhatsApp Chat Button to Your Website

Most integration tools provide you with a simple code snippet to copy and paste into your website’s HTML. Follow their instructions, and voila! Your WhatsApp Chat Button is live on your site, ready to entice visitors to chat with you.

5️⃣Train Your Team

To make the most of your WhatsApp Chat Button, train your team on how to use the platform effectively. This includes understanding how to use quick replies, managing multiple conversations, and utilizing chat analytics to improve customer support.

6️⃣Monitor and Optimize Your WhatsApp Chat Button

Regularly review your WhatsApp Chat Button’s performance to identify areas for improvement. This may include adjusting the button’s placement, tweaking your greeting message, or revising your team’s chat response strategies.

Boost Engagement: Integrate WhatsApp Chat on Your Website

More and more business owners have recognized the benefits of interacting with customers on WhatsApp, the most widely used messaging app globally.

Being easily accessible with WhatsApp means you can quickly attend to your customers, supporting them throughout their lifecycle with your brand.

Integrating a WhatsApp chat button on your website can offer various benefits for both your business and your customers:


  1. Enhanced customer support: Integration of WhatsApp on your website allows for quick and convenient communication with customers, addressing their queries and concerns in real-time.
  2. Real-time communication: WhatsApp offers instant messaging capabilities, enabling businesses to provide prompt and efficient customer service.
  3. Increased engagement and user retention: The ease of use and familiarity of WhatsApp can encourage users to stay on your website and interact with your brand, improving engagement and retention rates.
  4. Streamlined sales and marketing: WhatsApp can be used for marketing campaigns, promotions, and sales inquiries, making it a valuable tool for sales and marketing teams.
  5. Access to a wide user base: With over 2 billion active users, integrating WhatsApp on your website allows you to tap into a massive audience.


  1. Privacy concerns: Some users may be hesitant to share their phone number or engage in conversations on WhatsApp due to privacy concerns.
  2. Dependency on a third-party platform: Relying on WhatsApp for customer communication makes your business dependent on the platform and its policies, which can change at any time.
  3. Limited customization options: WhatsApp’s appearance and functionality cannot be easily customized to match your website’s design and branding.
  4. Potential for spam and security issues: The use of WhatsApp for customer communication may expose your business to spam and potential security vulnerabilities.
  5. Resource allocation and management: Ensuring that your team is properly equipped to handle WhatsApp communication can require additional resources and staff training.

How to Add a WhatsApp Chat Button to Your Website

Now that you’re familiar with the pros and cons, it’s time to dive into the exciting process of adding a WhatsApp chat button to your website.

The steps I’ll show you will help you add a button that prompts visitors to start a chat with your business via WhatsApp.

Create a WhatsApp API Link

WhatsApp API links allow you to start a chat with someone without having their number saved in your phone’s address book. With this feature, you can create a link that lets you chat with anyone.

Once they click the link, a chat with your business will automatically open on both a phone and WhatsApp web. After creating the link, you can add it to your website as a button or a link.

Here’s how to create the chat link:

1️⃣ Simply add your phone number to this link:

The phone number should be in international format, omitting any zeros, brackets, or dashes.

❌ Wrong format: +1 30142431267

✅ Correct format: 130142431267

2️⃣ To add a custom message that appears when a client clicks on the link, use the “&text=” parameter after adding your phone number:

To add a space in the custom message, use ‘%20’. The default message in this example is “This is a test.”

Create a Button with WhatsApp Widgets

This method of adding a WhatsApp button to your website offers many advantages and is easy for anyone to implement. With WATI’s live chat widget, you can customize a button that reflects your brand’s look and feel.

Here’s how to use the widget:

1️⃣Go to Create WhatsApp Chat Button

2️⃣Customize your button, add:

  • Button color (use your brand color)
  • Button name (ideally, a call to action like “Message Us!”)
  • Shape and position settings

3️⃣Customize your chat widget button, adding:

  • Your brand name
  • A brand subtitle
  • Your phone number
  • A welcome message

4️⃣Complete your chat widget settings:

  • Add a default message that users can send (prompts them to ask a question about a particular page)
  • Add your brand image URL (copy your logo’s URL and add it to this field; if you don’t have an image CDN, create one here)
  • Choose the background color and add a CTA text

5️⃣When you’ve filled in the form with relevant details, click “Generate Widget Code.” A drop-down with a code snippet will appear, then click “copy to clipboard.”

Final step

Now that you’ve copied the code snippet, the next step is to add it to the body tag on your website. If you’re not familiar with coding, ask your web service provider for support to help you paste the code.

If you’re tech-savvy, navigate to the backend of your website, find the index page, locate the body tag, and paste the snippet just below the closing body tag. Save the changes, refresh the page, and voilà! Your WhatsApp chat button is now live. 🥳

Get ready to enjoy seamless communication with your customers and watch your website engagement soar! 🚀🌟

How to Add a WhatsApp Chat Button to Your Shopify Store?

If you own a Shopify store and want to add a WhatsApp button for easy client communication, you’re in luck! The process is simple and will make your store even more user-friendly.

1️⃣Create and copy the WhatsApp widget code, then sign in to your Shopify profile.

2️⃣Click “Online Store,” then “Themes,” and finally “Actions.” A drop-down menu will appear; click “Edit Code” to open your Shopify store theme editor.

3️⃣Locate the “theme.liquid” file in the drop-down menu and paste the WhatsApp widget code after the body tag. Save the changes, and voilà!

Head to your home page to see the shiny new WhatsApp button in the bottom right corner of the page.

How to Manage Contacts with WhatsApp Business API: Level Up Your Game!

The WhatsApp Business app offers handy features to help small businesses manage contacts and services. It’s perfect for growing businesses with a smaller customer base. But what about when your business starts to boom? 🌱➡️🌳

As your customer base expands, consider upgrading to WhatsApp Business API, a more powerful version with loads of benefits for businesses on the rise.

WATI is here to help you make the most of WhatsApp Business API’s fantastic features. Designed with business owners in mind, WATI has everything you need, whether it’s shared inboxes, broadcast messaging, contact segmentation, or abandoned cart reminders. 🛒

With WATI, you can provide top-notch support on WhatsApp, easily segment and tag contacts, and assign multiple agents to the same WhatsApp phone number. It’s the ultimate upgrade for your growing business! 🌟