What Is Click-to-Call?
Click-to-call is a simple HTML feature that lets mobile and desktop users tap or click a phone number to initiate a call directly from their browser. It's one of the easiest ways to increase phone calls from your website — studies show that click-to-call buttons can increase conversion rates by up to 200% on mobile devices.
Basic Click-to-Call HTML
The foundation is the tel: protocol in an anchor tag:
<a href="tel:+18005551234">(800) 555-1234</a>
That's it. When a user clicks this link on a mobile device, it initiates a phone call. On desktop, it typically opens a dialog asking which app to use (Skype, FaceTime, etc.).
Best Practices for the Basic Tag
- Always use the international format with country code in the href:
tel:+18005551234(no spaces, dashes, or parentheses in the href) - Display the number in a human-friendly format in the link text: (800) 555-1234
- Include the country code for international visitors: +1 for US/Canada
Go Beyond Click-to-Call
Track which clicks become real conversations with full call attribution.
Styled Click-to-Call Button
A plain text link works, but a styled button converts better. Here's a mobile-optimized click-to-call button:
<a href="tel:+18005551234" style="display:inline-flex;align-items:center;gap:8px;background:#2269f9;color:white;padding:14px 28px;border-radius:12px;font-weight:600;text-decoration:none;font-size:18px;">📞 Call Now: (800) 555-1234</a>
Key styling tips for click-to-call buttons:
- Make it large enough to tap — Minimum 44x44 pixels touch target (Apple's HIG recommendation)
- Use a contrasting color — The button should stand out from surrounding content
- Include the phone icon — Visual cues increase click rates
- Show the actual number — People like to see the number they're about to call
Click-to-Call with Google Analytics Event Tracking
Track click-to-call interactions in Google Analytics 4:
<a href="tel:+18005551234" onclick="gtag('event', 'click_to_call', {event_category: 'engagement', event_label: 'header_phone'});">(800) 555-1234</a>
This fires a GA4 event every time someone clicks the number, giving you visibility into click-to-call engagement by page, device, and traffic source.
Combining Click-to-Call with Call Tracking
Click-to-call and call tracking work perfectly together. When you use CallScaler's Dynamic Number Insertion on your website, the tracking number automatically replaces the phone number in your click-to-call links. The DNI script updates both the visible text and the tel: href, so the click-to-call functionality works seamlessly with your tracking number.
This means every click-to-call from your website is tracked with full attribution — you know which page, traffic source, and keyword drove each call.
Mobile-Only Click-to-Call
Sometimes you want the click-to-call button to only appear on mobile devices. You can use CSS media queries:
<a href="tel:+18005551234" class="mobile-call-btn">Tap to Call</a>
With CSS:
.mobile-call-btn { display: none; } @media (max-width: 768px) { .mobile-call-btn { display: inline-flex; } }
On desktop, display the number as plain text. On mobile, show the tap-to-call button. This provides the best user experience on each device.
Sticky Mobile Call Button
A popular pattern for service businesses is a sticky call button that stays visible as users scroll on mobile:
Use fixed positioning at the bottom of the viewport with a high z-index. The button stays visible no matter how far down the page the user scrolls, providing a constant call-to-action. Style it with your brand color, adequate padding for easy tapping, and a phone icon for instant recognition.
This pattern is especially effective for home service businesses, dentists, lawyers, and other businesses where phone calls are the primary conversion action.
Schema Markup for Phone Numbers
Help search engines understand your phone number with structured data:
Add LocalBusiness or Organization schema markup that includes your telephone number. This can trigger rich results in search, showing your phone number directly in the search results with a click-to-call action on mobile devices.
Important: Always use your real business number (not a tracking number) in schema markup to maintain NAP consistency for local SEO.
Testing Your Implementation
- Test on real mobile devices — Don't just use browser dev tools; actually tap the button on a phone
- Verify the number in the href — A typo in the tel: link means calls go to the wrong number
- Check DNI compatibility — If using call tracking, confirm the DNI script properly updates the href as well as the visible text
- Validate Analytics events — Check your GA4 real-time report while testing to confirm events fire
Click-to-call is one of the simplest, highest-impact changes you can make to your website. Combined with CallScaler's call tracking, you get both the conversion boost and the attribution data to prove it's working.