Add the WhatsApp button to your website
One line of code puts a WhatsApp button on your site. A visitor who presses it opens a chat with your number, and the agent answers.
- Time
- About 5 minutes
- Cost
- Free.
- You need
- Your connected business WhatsApp number.
- Access to edit your website, or the person who maintains it.
Step 1
Open Connections and find the button card
In the side menu open Connections. At the bottom is “WhatsApp button for your website”. Check the Business WhatsApp number, write the Message prefilled when the chat opens, and choose the Button language.
DetoximexWhatsApp button for your website
Business WhatsApp number+1 555 010 0000Message prefilled when the chat opensHello, I have a questionCopyDrawn from the Detoximex screen, with the labels the app shows. Step 2
Press Copy, then Try the link
Copy takes the ready line. Try the link opens the same WhatsApp chat a visitor would get, so you can see the prefilled message before touching your site.
Step 3
Paste the line before </body> on your site
Paste it once, just before the closing </body> tag, on every page that should show the button. Site builders usually have a place for this named something like “custom code” or “footer code”; if you do not manage the site, send the line to the person who does.
Step 4
Open your site and press the button
Reload a page of your site, press the button and send the message. The agent's reply should arrive in WhatsApp, and the conversation appears in your Inbox.
When it is done you will see
- The button shows on your site and opens a chat with your business number.
- The first message from the site gets the agent's reply.
Common mistakes and how to fix them
Still stuck? Write to support@detoximex.com with a screenshot of what you see.
