The WhatsApp button is part of the Lead Capture add-on. If you don’t see
Lead capture → WhatsApp button in the Boom app’s left sidebar, ask your
account manager to turn it on for your organization.
Create a button
In the left sidebar, open Lead capture → WhatsApp button and choose New WhatsApp button. Give it a name, the site it will run on and, if you have it at hand, your WhatsApp number with the country code. New buttons start Paused, so you can set one up without it showing to anyone. On the button’s page you set:- WhatsApp number: the chat the button opens. Your Boom numbers are listed under the field; tap one to use it.
- Pre-typed message: the greeting written into the visitor’s chat, in English, Spanish and Portuguese. Visitors get their language, else English. Leave it blank for an empty chat.
- Label: text beside the icon, such as “Escríbenos”, or icon only.
- Colours: the button and the icon. WhatsApp green and white by default; Boom warns you when the icon would be hard to see.
- Position: bottom right or bottom left, and how far from the edges.
- Show on: all devices, phones only, or computers only.
Install it
The button’s Install card has one tag:</body>. If your site has no
place to paste a script, add it in Google Tag Manager as a Custom HTML
tag that fires on All Pages, and publish the container. On a VTEX store, see
VTEX stores below.
Then add your site under Allowed sites (the exact address, such as
https://www.example.com) and set the button Active. The button only loads
on allowed sites: on any other, it stays hidden and says why in the browser’s
console.
To change the number, the greeting or the colours later, edit them in Boom. The
tag never changes, unless you Rotate key, which stops the old tag from
loading until you replace it.
VTEX stores
A VTEX Store Framework store has no place to paste the tag, so Boom installs a small Boom app on your VTEX account instead. Ask your account manager. Once it is installed, open the Boom app’s settings in your VTEX admin’s list of apps, paste the key at the end of the button’s tag (thebwa_live_… part) in
WhatsApp button install key, and save. The same app installs a
pop-up from its Pop-up install key.
Use the app or a Google Tag Manager tag, not both. Allowed sites and
Active work as above, and rotating the key means pasting the new one in the
app’s settings. The button doesn’t show on VTEX’s checkout pages, which VTEX
runs as a separate app.
Taps
The Taps card counts visitors who tapped the button: the last 7 days against the 7 before, split by phones and computers, and a bar for each of the last 30 days. Days follow your organization’s time zone. Taps are anonymous: Boom records only that a tap happened and the kind of device. Who tapped shows up only if they send the message, as a conversation in your inbox. A tap is not a message: some visitors open WhatsApp and close it without writing. Your own site can listen for taps too, for example to send them to your analytics:Single-page sites
The button stays on screen as the visitor moves between pages. To remove it on a page of a single-page app, callwindow.__BOOM_WHATSAPP_DESTROY__(); to show
it again, load the tag again.