Mobile-friendliness 101: Adding click-to-call links to a website

Creating a site that works well across all devices can be a daunting task. However, there are some simple things that you can do that can have a big impact on a site’s usability. Click-to-call is one such feature: it’s simple, effective, and very easy to implement.

What is click-to-call?

Click-to-call is a simple idea—clicking or tapping on a link on a page will activate a specific action, usually bringing up the phone’s dialler. One of the most common uses is to convert numbers on a webpage into clickable links, so that users don’t have to manually enter a number into the phone dialler to place a call. The benefits for both site owner and site visitor are clear: click-to-call links can ultimately lead to faster conversions for business owners, and site visitors get a more usable experience. Everybody wins!

How does it work?

To create a click-to-call link, simply wrap the number up in an a tag, using the tel protocol in the href attribute:

It’s recommended to include the full international dialling code with the number – this will ensure that the call will be successfully placed regardless of where the site visitor is located.

Although any text can be used for the link text, it can be useful to include the number itself, so that the user can see at a glance what the number is and what to expect, without first having to click it through to the phone dialler. In addition, since the exact action triggered, whether it be to add to contacts or to dial number, depends on a particular device’s implementation, it might make more sense to simply have the number as the link text rather than something like ‘Call us!’.

Try it: Call us on +353123456789


A (goMobi) mobile website implementing click to call (left) and dialler action invoked by tapping link on Android phone (right)

What about devices without phone capabilities?

Devices without dialling capabilities still may support the click-to-call, but obviously a call cannot be placed if the device has no phone. Another action often invoked by click-to-call is an Add to Contacts behaviour. For example, clicking a tel link on an iPad triggers a dialog with Send Message and Add to Contacts options (illustrated below):


iPad click-to-call behaviour triggers a Message/Contacts/Copy dialog

Variations on the click-to-call theme

The tel scheme is the most widely supported click-to-call scheme, so if you only implement one, it should be this one. There are other possibilities too. Some variations on the click-to-call theme are outlined below.

Sending SMS messages with sms: and smsto:

The sms scheme can be used to send an SMS message. When such a link is activated, the SMS application will launch, pre-populated with the phone number from link. It also permits the body of the SMS to be pre-populated using the body parameter, although this feature is not always supported.

The smsto is almost identical, but less widely supported.


Clicking an SMS link opens the SMS app, with phone number and message body pre-populated

iOS meta tags

The Safari browser on iOS devices, will automatically recognise numbers in pages, and turn them into click-to-call links. This feature is enabled by default, but can be disabled using the following meta tag:

The wtai: scheme

This is an older scheme dating back to the days of WAP/WML. It is less well supported than the tel scheme, so chances are you don’t need this unless you are targetting older devices, or you are aiming for maximum compatibility.

Try it: Call us!

Links and references

Leave a Reply

Exclusive tips, how-tos, news and comment

Receive monthly updates on the world of mobile dev.

Other Products

Market leading device intelligence for the web, app and MNO ecosystems
DeviceAtlas - Device Intelligence

Real-time identification of fraudulent and misrepresented traffic
DeviceAssure - Device Verification

A free tool for developers, designers and marketers to test website performance
mobiReady - Evaluate your websites’ mobile readiness

© 2024 DeviceAtlas Limited. All rights reserved.

This is a website of DeviceAtlas Limited, a private company limited by shares, incorporated and registered in the Republic of Ireland with registered number 398040 and registered office at 6th Floor, 2 Grand Canal Square, Dublin 2, Ireland