How to Make a Click to Call Link or Clickable Phone Number in Confluence Pages

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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 smart phone.

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:


    <a href="tel:+78142332211"> +7 (814) -233-22-11 </a>

Please find a detailed video tutorial below.


Screen Recording 2021-04-02 at 2.19.12 PM.mov


User Macro

  • Create a User macro by going to General Configuration→ User Macros
  • Under Macro Body Template, copy the below code


    ## 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.


Last modified on Jul 17, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.