How to Add a WhatsApp Button on Google Sites
Google Sites does not let you add code to the whole site. It shows embedded code inside its own box on the page, so a “floating” button cannot float over the site there — it stays inside that box. Below are the two ways that work: embed the generated button, or use a normal Google Sites button with your WhatsApp link.
Loading the generator…
Step by step: add the button to Google Sites
- Make the button: enter your WhatsApp number with the country code and the pre-filled message, add a short greeting bubble if you like (it shows inside the embed box too), press Generate code and copy the snippet.
- Embed it: open your site in Google Sites, go to the page, and in the right panel choose Insert → Embed. Open the Embed code tab, paste the snippet, click Next and then Insert.
- Drag the embed box to where you want it (for example the end of the page) and resize it so the button fits. The button sits in the corner of that box.
- Or a plain link button: choose Insert → Button, type a name such as “Chat on WhatsApp” and paste your chat link as the link, for example
https://wa.me/14155550123?text=Hello. The generator’s preview opens the same kind of link. - Click Publish, open the live site and tap the button to check that WhatsApp opens with your number.
See who clicks it
The free button does not count clicks. WhatsApp Chat Button with Click Tracking ($9/month) shows how many visitors open a chat — per page, per device and per day — on your Google Sites site, with the same button, and its code has no credit link.
Questions
Why doesn't the button float over my Google Site?
Google Sites runs embedded code in a separate frame inside the page, so it cannot place anything over the rest of the site. The button works, but inside its box.
Which way should I choose?
For one clear “chat with us” call, the Insert → Button link is the simplest. Use the embed if you want the round WhatsApp icon and the greeting bubble from the generator.
Other platforms
WhatsApp button for WordPress · WhatsApp button for Shopify · WhatsApp button for Wix · WhatsApp button for Squarespace · WhatsApp button for Webflow · WhatsApp button HTML code · WhatsApp button for Elementor · WhatsApp button for GoDaddy · WhatsApp button for Framer · WhatsApp button for Joomla · WhatsApp button for Carrd · WhatsApp button for WooCommerce · WhatsApp button for landing pages
Free WhatsApp Chat Button Generator · WhatsApp Chat Button with Click Tracking · How to Measure Your WhatsApp Button's Click Rate
Enterprise Solution Center
Choose the perfect solution for your business
AffiliatePro SaaS
Enterprise solution
WooCommerce Amazon
Enterprise solution
AffiliatePro Mobile
Enterprise solution