WebRTC Calling Widget: Add Real-Time Voice to Any Website
Technical · 2026-04-10 · 5 min read
What is a WebRTC calling widget?
A WebRTC calling widget is a button you embed on your website that lets visitors call you directly from their browser — no phone number, no app download, no plugin. The call happens via WebRTC (Web Real-Time Communication), the same technology that powers Google Meet, Zoom, and Discord. When a visitor clicks the widget, they're connected to your support agent's browser in seconds.
How WebRTC calling works in the browser
WebRTC is a set of browser APIs that enable real-time audio, video, and data communication between browsers. When a visitor clicks your call button:
1. The visitor's browser requests microphone access
2. A peer-to-peer connection is established between visitor and agent
3. Audio streams directly between browsers — no traditional phone network involved
4. The call is encrypted end-to-end using DTLS-SRTP
This means calls connect in under 2 seconds, work through most firewalls, and are completely private.
Why WebRTC beats traditional phone numbers for websites
Traditional website-to-phone calling has friction at every step: the visitor has to find the number, open their phone's dialer, wait on hold, and navigate an IVR. WebRTC eliminates every one of these steps. The visitor is already in their browser — they click once and they're talking to you.
For conversion rates, this matters enormously. A visitor on your pricing page is at peak intent. Every extra step to reach a human loses you 30-50% of them. WebRTC calling removes those steps entirely.
Setting up a WebRTC calling widget with WebCallHub
WebCallHub provides a hosted WebRTC widget — you don't need to write any WebRTC code yourself. Setup takes under 5 minutes:
1. Sign up at webcallhub.com (free plan available — no credit card)
2. Add your website domain in the dashboard to get your site key
3. Paste one script tag into your website HTML:
<script src="https://webcallhub.com/embed/widget.js" data-tenant="YOUR_SITE_KEY" async></script>
4. Open the agent dashboard and click Go Online
The call button appears immediately on your site. Visitors click it, your agents answer — that's it.
Widget customization options
The WebCallHub widget supports:
• Position: bottom-right (default) or bottom-left
• Color: any hex color to match your brand
• Greeting text: custom message shown before the call
• Offline behavior: hide the button or show a contact form when no agents are available
• White-labeling: remove all WebCallHub branding (Business plan)
Advanced users can also use the REST API to configure the widget programmatically.
Browser support and mobile compatibility
WebRTC is supported by all major modern browsers: Chrome, Firefox, Safari (iOS 11+), Edge, and Opera. WebCallHub works on both desktop and mobile. Mobile visitors use their phone's built-in microphone and speaker — the same as a regular phone call, just through the browser tab.
Pricing
WebCallHub's Free plan includes 1 agent and 200 minutes/month at no cost — no credit card required. Paid plans start at $19/month (Starter, 300 min/month) with a 15-day free trial. Growth (€49/month) and Business (€149/month) plans include more agents, minutes, and features like analytics and live transcription.