Create a WhatsApp Website Widget

Configure a WhatsApp chat button, brand appearance, welcome text, prefilled message and embed code for your website.

Overview

Search Aliases: WhatsApp chat button, floating widget, website WhatsApp launcher

Step-by-step instructions

  1. Open Tools -> WhatsApp Website Widget.
  2. Choose Create Widget.
  3. Select or enter the business number in international format.
  4. Choose bottom-left or bottom-right placement.
  5. Choose button color and approved logo.
  6. Configure header title and colors.
  7. Write the welcome message.
  8. Configure chat body and background.
  9. Choose whether the widget opens automatically.
  10. Set the CTA button label.
  11. Add a prefilled message.
  12. Save.
  13. Generate the embed code.
  14. Copy the code to the website implementation team.
  15. Add it before the closing body tag or through the approved site method.
  16. Test on desktop and mobile.

PAKISTAN EXAMPLE

Number: +92 300 1234567

Header: Chat with Islamabad Learning Centre

Message: Assalam-o-Alaikum. How can we help you?

Button: Start WhatsApp Chat

Prefilled text: Hi, I need information about your services.

WEBSITE SAFETY

Do not paste production credentials into the website. The widget should contain only the approved public launcher code and destination information. Verify cookie and analytics behavior if the widget uses tracking.

COMMON ISSUES & SOLUTIONS

Widget does not appearCheck script placement, cache and website content-security policy.
Wrong number opensConfirm international number and selected workspace.
Widget blocks contentChange position and mobile spacing.
Prefilled message is brokenCheck URL encoding and unsupported characters.

Last reviewed: