Trengo introduces Dessa: the AI agent built for eCommerce brands that resolves and sells. Try it for free →

How to add WhatsApp chat on website: button, widget & QR options

Table of contents

Try Trengo for Free

Trengo unites WhatsApp, email, web, social media, and calls in one inbox, saving your team hours of repetitive work and ensures no conversation is ever lost

Try for free

See Trengo in action

  • Extensive integrations
  • Easy configuration
  • Scalable pricing structure
Learn more
● Free WhatsApp tool
Free WhatsApp chat widget for your website

Create a WhatsApp chat button in a few seconds. Preview it live, copy the code and paste it before the closing </body> tag of your website.

Add your full number with country code, e.g. +31 6 12345678.

Live preview – click the button

yourwebsite.com
Your widget code

   

Getting more WhatsApp chats? Handle them with your whole team in one inbox.

Try WhatsApp in Trengo

Prototype. The generated code is self-contained (no external scripts or cookies) and opens a chat via WhatsApp’s official click-to-chat link.

What is WhatsApp chat on a website?

Summary

You can add WhatsApp chat to your website in three ways: with a click-to-chat link or button, a QR code, or a multichannel chat widget. The quickest start is a click-to-chat link, which you can create in seconds with our free WhatsApp link generator, which also gives you a QR code for the same link. A link or QR code works well on your contact page, while a website widget lets visitors choose WhatsApp or another favourite channel on every page. With Trengo, all conversations from the widget arrive in one inbox, so your team can answer them together.

TL;DR

  • WhatsApp chat on a website lets visitors start a WhatsApp conversation with your business in one click or scan.
  • A click-to-chat link uses the wa.me format, so customers never have to save your phone number first.
  • A QR code helps visitors on a laptop continue the chat on their phone.
  • A multichannel website widget offers WhatsApp next to live chat and other channels on every page.
  • With Trengo, WhatsApp chats from your website land in one inbox, where your team can assign and answer them.

WhatsApp chat on a website is a link, button, QR code or widget that opens a WhatsApp conversation with your business straight from your web page. Instead of copying your phone number, visitors tap or scan and the chat opens in the WhatsApp app or in WhatsApp Web.

WhatsApp is becoming an increasingly popular customer contact channel for businesses, because more and more customers want to keep in touch with companies through their favourite channel. For most Dutch people, for example, that channel is WhatsApp: as many as nine out of ten Dutch people are active on it. So it makes sense to reach customers where they already are and add WhatsApp chat to your website. Below, we walk you through all three options.

How to add a WhatsApp click-to-chat link or button to your website

With the click-to-chat feature, customers start a chat instantly by clicking a link. They don't need to store your phone number first, because the chat opens as soon as they click. This works in both the WhatsApp smartphone app and WhatsApp Web, which is why click-to-chat is also the easiest way to let people send WhatsApp messages without saving contacts.

How to create a WhatsApp click-to-chat link

A click-to-chat link always follows the same format: wa.me/ followed by your full phone number in international format. Leave out the plus sign, any leading zeros, brackets and dashes. A Dutch mobile number, for example, becomes wa.me/31612345678. You can also add a pre-filled message, so the chat opens with a ready-made text such as a question about an order or a booking.

Writing the link by hand is easy to get wrong, so the WhatsApp link generator mentioned above is the simpler route. Enter your country code, your number and an optional message, and the generator creates a working click-to-chat link for you.

How to add a WhatsApp chat button to your website

Once you have the link, connect it to a button, an icon or a line of text such as "WhatsApp us!" on your website. You can also link a fully written out phone number. Most website builders let you set any URL as a button link, so you simply paste your click-to-chat link and publish. Easy! Want automatic answers as well? You can also add a chatbot on your website next to the WhatsApp button.

A click-to-chat link is especially useful on your contact page. But do you want to use WhatsApp across the entire customer journey? Then placing the link everywhere can look a bit messy. That is where the other two options come in.

WhatsApp Business

Your whole team on one WhatsApp number

Use the official WhatsApp Business API in one inbox, with automation and AI built in.

How to add a WhatsApp QR code to your website

Want to chat with customers, but do they need to add you as a contact first? Then reaching you turns out to be a little too cumbersome and slow, especially when you want to use WhatsApp to connect with customers quickly. Without a link or QR code, customers have to:

  1. First look up your phone number online
  2. Then save the number as a contact on their phone, which leads to a giant contact list
  3. And finally open WhatsApp and look you up there before the chat can begin

This doesn't take hours, but it isn't the smoothest customer experience either. That is why more and more companies use a QR code to direct contacts to WhatsApp. Consumers scan QR codes with the camera or the WhatsApp app on their phone, while businesses place the QR code on their website. Visitors browsing on a laptop can then scan the code and continue the conversation on their phone. This makes it easy for customers to get in touch with you.

A WhatsApp QR code also starts with a click-to-chat link. Our WhatsApp link generator creates both at once, so you get a QR code for your link straight away without needing a separate QR code tool. Add the QR code image to your website, for example on your contact page or next to your customer service details.

Want to see how a customer experiences it? Scan the QR code below to start a WhatsApp chat with Trengo:

Een QR code om WhatsApp als chat op je website beschikbaar te maken

How to add WhatsApp chat to your website with a widget

The click-to-chat link and the QR code are both good ways to let customers reach you quickly via WhatsApp. But the best way to offer WhatsApp as a chat on your website is a multichannel chat widget, like the one in Trengo's omnichannel inbox. Customers choose WhatsApp in the website widget and instantly start a conversation through their favourite channel.

Isn't WhatsApp their favourite channel? Then they can just as easily choose live chat, Twitter, Facebook Messenger, WeChat, Telegram or SMS in the widget.

Trengo multichannel widget
An example of a website widget with WhatsApp as one of the available channels.

This way, customers can always reach your company quickly through their favourite channel, whether that is WhatsApp or not. All messages from all your channels arrive in one inbox, so your team keeps a clear overview and doesn't have to keep clicking from channel to channel.

How to set up a WhatsApp chat widget for your website

Setting up a WhatsApp website widget takes three steps. First, create a website widget and customise it to match your brand. Next, add WhatsApp and the other channels your customers use to the widget. Finally, add the widget to your website by placing its code snippet on your pages. Our guide to the omnichannel chat widget explains every step in more detail.

WhatsApp Business

Your whole team on one WhatsApp number

Use the official WhatsApp Business API in one inbox, with automation and AI built in.

Click-to-chat link, QR code or widget: which should you choose?

Each way to add WhatsApp chat to your website fits a different situation:

  • A click-to-chat link or WhatsApp button is the quickest option and works well on a contact page.
  • A QR code is useful when many visitors browse on a laptop and want to continue the chat on their phone.
  • A multichannel widget is the best fit when you want WhatsApp on every page, next to your other channels.

Many businesses combine them, for example a click-to-chat button on the contact page and a widget across the rest of the website. If several people in your team answer customer messages, a widget connected to one inbox keeps every conversation in the same place.

How to manage WhatsApp chats from your website as a team

Trengo is a WhatsApp Business solution provider. It doesn't just add WhatsApp to your other channels, it also brings everything together. With the WhatsApp Business API in Trengo, all WhatsApp chats from your website arrive in one inbox next to your email, live chat and social media messages.

Before you know it, you will be using WhatsApp Business with multiple users and working efficiently with your support team on WhatsApp conversations. You can tag colleagues in a conversation and assign messages to specific colleagues or teams, so no customer question is left unanswered.

Frequently Asked Questions

How can I add WhatsApp chat to my website?

You can add WhatsApp chat to your website in three ways: a click-to-chat link or button, a WhatsApp QR code, or a multichannel chat widget. The link and the QR code open a chat with your number directly, while a widget lets visitors choose WhatsApp or another channel and sends every conversation to one inbox for your team.

Is there a WhatsApp chat plugin for websites?

Yes. Many website builders and customer service platforms offer a WhatsApp chat plugin or widget that adds WhatsApp to your site. A multichannel widget, such as the one in Trengo, shows WhatsApp next to live chat and other channels, while a simple click-to-chat link works without any plugin at all.

How do I add a WhatsApp chat button to my website?

Create a click-to-chat link with your full phone number in international format, then link a button or WhatsApp icon on your website to that URL. Most website builders let you set any URL as a button link, so no coding is needed. You can also add a pre-filled message so the chat opens with a ready-made question.

How do I get my click-to-chat URL for WhatsApp?

Your click-to-chat URL is wa.me followed by a slash and your full phone number in international format, without the plus sign, leading zeros, brackets or dashes. A Dutch mobile number, for example, becomes wa.me/31612345678. A WhatsApp link generator builds the URL for you and can also create a QR code for it.

Is it free to add WhatsApp chat to a website?

Yes. Creating a WhatsApp click-to-chat link or QR code and adding it to your website is free. Costs only come in when you use a paid chat widget or customer service platform, or when you send messages through the WhatsApp Business API.

How do I add a chat feature to a website?

To add a chat feature to a website, you set up a chat widget and place its code snippet on your pages. A multichannel widget lets visitors choose live chat, WhatsApp or another messaging channel, and every conversation reaches your team in one place.

Can several team members answer WhatsApp chats from a website?

Yes. When you connect WhatsApp to a platform such as Trengo through the WhatsApp Business API, several team members can answer chats from your website on the same number. Conversations arrive in one inbox, where you can assign them to colleagues or teams and tag colleagues for help.

One WhatsApp number, many replies by hand?

Share it with your whole team in Trengo.

Let's meet

Grow your business with loyalty. Bring all of your customer contact into one, single platform to unlock delight at every step of the way.