Popups can contain links that trigger phone calls, SMS, skype, or whatsapp messages on devices.
Trigger a call
<a href="tel:+13636798626">Call 363-679-8626</a>
If the map is viewed in a desktop browser, clicking on the number will bring up any associated telephony application installed on the desktop, such as Skype, or zoom.us meetings.
Adding extensions
You can add a pause in the number so that an extension can be automatically dialled. In this example, the "p" will wait for a second dial tone before sending the extension number.
<a href="tel:+13636798626p32">Call 363-679-8626 ext. 32</a>
Send an SMS
To open an SMS composer with a prefilled phone number:
<a href="sms:+123456789">Send an SMS enquiry</a>
To open an SMS composer with a pre-composed text message and attribute variables:
<a href="sms:+123456789?body=Please%20contact%20me%20regarding%20territory%20{area}">Send an SMS enquiry</a>
Trigger a Skype call or chat
To trigger a skype call to a phone number, use either callto:{phone number} or skype:{username}
<a href="skype:+1234567890?call">Call on Skype</a>
To trigger a call to a skype username
<a href="skype:username?call">Call on Skype</a>
To trigger a chat
<a href="skype:username?chat">Chat on Skype</a>
Trigger a Whatsapp message
Use https://wa.me/<number>
where the <number>
is a full phone number in international format. Learn more.
Trigger a Facebook message
Use https://m.me/<PAGE_NAME>
, where PAGE_NAME
is the handle of the Facebook page the bot is linked to. Learn more.
Adding the link to your popup
- Open the custom popup editor, and click the code view
- Paste in the appropriate link code in your preferred location in the popup
- Switch back to normal view
- Save the popup
Text in a pre-composed SMS must be URL encoded
You can use an online URL encoder to convert your text to URL encoded text.
Ensure that any attribute variables you include in the message are not URL encoded, and must display the curly braces { }
❌ %7Bname_f%7D
✔️ {name_f}
Learn more about URL encoding →
Best practices
In some countries, it is common to have phonewords or vanity numbers &mdash phone numbers with alphabetic characters corresponding to numbers on the telephone keypad, such as "1800 RENTALS". Use of these phonewords is not supported as the hypertext reference (href) of tel:
links, so instead use the numeric version of the number as the href link, and the phoneword as the display text:
<a href="tel:1800225563">1800 RENTALS</a>
Remember that all web is everywhere - it's possible people viewing your web maps might be in another country; the digits listed after tel:
should include the international dialling prefix, making the number usable from any location: tel:+611800225563