Website Chat Button
Get code for a WhatsApp chat button that appears on your website during business hours.-formatted WhatsApp URLs with target phone numbers and preset greetings.
Your button
Pick the country, then type the number the way you'd dial it locally.
Typed in for the visitor when the chat opens.
Opening hours are checked in this zone, wherever your visitor is.
Preview & code
Checking your hours…
Paste it just before </body> on every page, or in your site builder's custom code box.
How to Use
01
Enter your phone details
Input your WhatsApp number and include an optional greeting message to automatically populate when a user clicks to chat.
02
Configure Availability
Select your local time zone and define your team’s operating hours for each day of the week.
03
Embed the Snippet
Copy the generated script and paste it directly into your website’s code right before the </body> closing tag.
How Operating Hour Status Works
The chat widget calculates availability based on your specified business time zone rather than the visitor’s device clock. For instance, a customer browsing from New York will view the actual live availability of a business based in Tokyo. The script automatically updates its status every 60 seconds while a visitor remains on the page.
Overnight Schedules Supported: Shifts extending past midnight (e.g., Friday 6:00 PM to 2:00 AM) remain active seamlessly into Saturday morning.
After-Hours Settings: Choose to display a customized off-hours notification—such as “We are currently offline, but feel free to leave a message”—or hide the chat button entirely when your team is away.
Code Insertion Instructions
- WordPress: Insert via a header/footer script plugin or directly inside your active theme’s
footer.phpfile preceding</body>. - Shopify: Navigate to Online Store → Themes → Edit Code, locate
theme.liquid, and place the snippet before</body>. - Wix, Squarespace & Webflow: Add the script using your platform’s global custom code settings under the footer or end-of-body insertion area.
- Custom HTML Sites: Paste the script directly above the
</body>tag across your target pages.
Frequently Asked Questions
Is this website chat button completely free?
Yes. The script runs entirely on your own site without external dependencies, meaning your widget remains fully operational indefinitely.
Will embedding this widget impact page load speeds?
No. The lightweight inline script executes cleanly without external file requests, ensuring zero impact on your site performance.
Do I need a WhatsApp Business account?
No. The widget generates a standard wa.me chat link that functions with standard personal accounts, WhatsApp Business, and WhatsApp Business API numbers.
Can users still reach out when we are closed?
Yes, provided you choose to keep the widget visible after hours. The closed state simply updates your label text; you can configure auto-responders within your WhatsApp settings to manage offline inquiries.
How do I update my business hours in the future?
Generate a fresh code snippet with your updated schedule and replace the existing script on your website.
Does the widget automatically adjust for Daylight Saving Time?
Yes. Time calculation relies on standard IANA time zone identifiers (e.g., Europe/London), allowing web browsers to handle seasonal daylight saving adjustments automatically.
Related Tools
Link Generator
Generate pre-formatted WhatsApp URLs with target phone numbers and preset greetings.
wa.me/15551234567?text=Hi
QR code
Turn messaging links into high-res QR graphics available for instant download.
QR code · PNG / SVG
Website chat button
Get code for a WhatsApp chat button that appears on your website during business hours.
Chat button · Mon to Fri, 9:00 to 18:00
Form builder
Create a form for visitors to complete and send directly to your WhatsApp as a single message.
Name: Jason · Date: Friday → WhatsApp
Ready to Elevate
Your Business ?
Connect with our team to build custom AI platforms, seamless loyalty apps, and high-converting websites built to scale.
Work with us
[email protected]
About Us
Company
Our Story
Resources
Explore
Digital Marketing
Sales & Demand Creation
Success Measurement

Empowering Your Business with AI-Driven Website Development and Loyalty Marketing Platforms
Hong Kong Office
Unit 720, 7/F, Tower A, New Mandarin Plaza, 14 Science Museum Road, Tsim Sha Tsui, Kowloon, Hong Kong
Malaysia Office
1-13-12, Plaza Buki Jalil, No 1, Persiaran Jalil 1, Bandar Bukit Jalil, 57000 Kuala Lumpur
Copyright © 2006-2026 Adams Company Limited.

