5 Ways to Add Live Voice Calling to Your Website in Minutes
Guides · 2026-04-05 · 7 min read
Why voice calling on your website matters
Website visitors who can speak to a real person convert at 5 to 10 times the rate of those limited to forms or chat. Yet most websites still rely on contact forms with 24-48 hour response times, chatbots that frustrate more than they help, or published phone numbers that require visitors to leave the site and open a dialer. Adding live voice calling keeps visitors on your site, connects them to your team in seconds, and costs nothing per minute when using browser-to-browser WebRTC technology. Here are five ways to add it, ordered from simplest to most customizable.
Method 1: Widget embed — two lines of HTML
The fastest path from zero to live voice calling. WebCallHub provides a JavaScript widget that adds a floating call button to any page. The implementation requires exactly two lines of code added before the closing body tag of your HTML:
<script src="https://cdn.webcallhub.com/widget.js"></script>
<script>WebCallHub.init({ siteKey: "your-site-key" });</script>
That is it. The widget handles everything: microphone permissions, call setup, audio routing, hold music, and offline fallback. It loads asynchronously, so it will not affect your page speed score. You can customize the button color, position (bottom-right or bottom-left), greeting text, and offline behavior from your WebCallHub dashboard — no code changes needed. This method works on any website: static HTML, WordPress, Shopify, Squarespace, Wix, Webflow, or any platform that lets you add custom HTML.
Method 2: React component integration
For React-based applications that need deeper integration, WebCallHub provides an npm package with a framework component. Install it from npm:
npm install @webcallhub/widget
Then import and use the component in your application:
import { WebCallHubWidget } from '@webcallhub/widget';
function ContactPage() {
return (
<div>
<h1>Contact Us</h1>
<WebCallHubWidget siteKey="your-site-key" />
</div>
);
}
The package ships UMD and ESM builds with TypeScript definitions, so it works with React, Vue, Angular, Next.js, and other framework and build setups — no separate integration needed per framework.
Method 3: WordPress plugin
W3Techs has put WordPress at around 43% of all websites in recent years. WebCallHub offers a dedicated WordPress plugin that requires zero code. Installation takes under two minutes:
1. Log into your WordPress admin panel. 2. Go to Plugins, then Add New, and search for "WebCallHub." 3. Click Install Now, then Activate. 4. Go to Settings, then WebCallHub, and enter your site key from the WebCallHub dashboard. 5. Click Save Changes.
The plugin automatically adds the call widget to every page on your site. From the plugin settings, you can control which pages show the widget (all pages, specific pages, or only pages matching a URL pattern), customize appearance, set business hours (the widget hides outside your operating hours), and enable call analytics in your WordPress dashboard. The plugin is compatible with all major WordPress themes, WooCommerce, and page builders including Elementor, Divi, and Beaver Builder. It adds less than 15 KB to your page weight and loads asynchronously.
Method 4: QR code for offline-to-online
Not every customer journey starts on a website. For businesses that interact with customers in physical locations — retail stores, restaurants, trade shows, service vehicles — a QR code bridges the gap between the physical world and a live voice call.
From your WebCallHub dashboard, navigate to the QR Code section and download your unique QR code. Print it on business cards, product packaging, receipts, invoices, table tents, vehicle wraps, or event banners. When a customer scans the code with their phone camera, their browser opens a simple page with a prominent "Call Now" button. One tap, and they are connected to your team.
The QR code approach is powerful for businesses without websites. A food truck, a market stall vendor, or a mobile service provider can offer professional voice support with nothing more than a printed QR code and a smartphone to answer calls. The call page is hosted by WebCallHub, so there is nothing to build or maintain. You can customize the page with your business name, logo, and a brief message.
Method 5: Custom API integration
For businesses with specific requirements — custom UIs, proprietary CRM integration, or multi-tenant platforms — WebCallHub exposes a REST API and WebSocket interface for full programmatic control.
The session API provisions SIP credentials and ICE server configuration on demand:
POST https://app.webcallhub.com/api/session
Authorization: Bearer your-api-key
Content-Type: application/json
{"visitor_name": "John", "page_url": "https://example.com/pricing"}
The API returns everything needed to establish a WebRTC call: SIP credentials, WebSocket URL, and TURN server details. You then use any SIP-over-WebSocket library (JsSIP, SIP.js, or your own implementation) to initiate the call.
This method is ideal for SaaS platforms that want to embed voice calling as a feature for their own customers, for businesses with custom CRM systems that need call data injected directly into customer records, and for developers building unique call experiences that go beyond a standard widget. The API includes webhooks for call events (started, answered, ended, missed) so your backend stays synchronized with call state.
Choosing the right method
Use the widget embed if you want the fastest setup with no ongoing maintenance. Use the React component if your site is built with React and you need lifecycle hooks or inline placement. Use the WordPress plugin if your site runs on WordPress and you prefer a no-code approach. Use the QR code if you need to connect with customers outside of your website. Use the API if you are building a platform or need full programmatic control.
All five methods connect to the same backend infrastructure. Your agents answer calls from the same dashboard regardless of how the visitor initiated the call. You can use multiple methods simultaneously — for example, the widget on your website and QR codes on your printed materials — and all calls route to the same agent queue.
What your team needs
Regardless of which integration method you choose, your team needs only a modern browser (Chrome, Firefox, Safari, or Edge) and a stable internet connection to answer calls. No software installation. No headset required, though one is recommended for noisy environments. Agents log into the WebCallHub support dashboard, set their status to online, and incoming calls appear with a one-click answer button. Call audio is encrypted end-to-end using DTLS-SRTP, and all calls are routed through WebCallHub's infrastructure so neither party's IP address is exposed to the other. Get started at webcallhub.com — all five integration methods are available on every plan, including the Starter tier (first month free, 300 minutes/month, no credit card required).