Whatsapp chat widget for Astro
Create whatsapp chat widget for Astro with WidgetDO. Turn website visits into conversations with a customizable WhatsApp button and chat window. Use the platform-specific installation guide below and keep future changes managed from WidgetDO.
Why use WhatsApp chat widget on Astro
Turn website visits into conversations with a customizable WhatsApp button and chat window.
Ways to use WhatsApp chat widget on Astro
Use the widget where it adds context, conversion or a better content experience without rebuilding the page.
Configure it once in WidgetDO and keep future updates centralized.
Configure it once in WidgetDO and keep future updates centralized.
Choose a WhatsApp chat widget template for Astro
The design is the same WidgetDO template. Only the installation method changes for this platform.
How to add WhatsApp chat widget to Astro
Add WidgetDO widgets to Astro using a component or layout with the container and global script and manage future changes from one dashboard.
-
01
Create and publish the widget in WidgetDO.
-
02
Copy the generated script and container.
-
03
Open Astro and add a component or layout with the container and global script in the desired location.
-
04
Save or publish the changes and verify the widget on the live page.
<script src="https://widgets.prowebrd.com/platform.js?v=3.8.14" async></script>
<div data-widget-id="WIDGET_UUID"></div>
Customize in WidgetDO. Keep your page clean.
After installation, manage content, design and behavior from the WidgetDO editor.
See changes while you configure the widget.
Choose the websites where a widget may load.
Track views and supported interactions from your account.
Questions about this integration
How do I add whatsapp chat widget to Astro?+
Create and publish the widget in WidgetDO, copy the reusable embed code and place it in the custom-code area supported by Astro. The guide on this page shows the platform-specific steps.
Is WhatsApp chat widget responsive on Astro?+
Yes. WidgetDO widgets are designed to adapt to desktop, tablet and mobile layouts, while the final result also depends on the width and rules of the container used by the website.
Do I have to replace the embed code after editing the widget?+
Normally no. Edit and publish the widget from WidgetDO and keep the same widget ID and embed code on the website.
Can I restrict where the widget is displayed?+
Yes. WidgetDO supports authorized websites and plan limits so you can control where a published widget is allowed to load.