How to Make a Click to Call Link or Clickable Phone Number in Confluence Pages
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
This KB will help you to know how to make phone numbers clickable by creating a "click to call" link. Once you click on the link, a call can be initiated from a Confluence page if you have the needed third party software installed and/or are accessing the page from a smartphone.
Solution
There are 2 ways to do this.
HTML Macro.
User Macro.
HTML Macro Method
Create a page and Insert a HTML macro using Macro Browser.
If you don't see the HTML macro in Confluence, Enable all modules for "Confluence HTML Macros" plugin located under "System Add-ons" in your "Manage Add-ons" menu.
Add the below text in the HTML macro:
1
<a href="tel:+78142332211"> +7 (814) -233-22-11 </a>
User Macro
Create a User macro by going to General Configuration→ User Macros.
Under Macro Body Template, copy the below code.
1 2 3 4
## Macro title: Phone Number ## @param phoneNumber:title=Phone Number <a href="tel:$paramphoneNumber">$paramphoneNumber</a>
Save the User macro.
Create a page and use the macro and provide the phone number while editing the macro.
Save the page and click on the phone number.
Was this helpful?