Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Help with adding a click to call link into an email template

Posted on by 85

Has anyone tried adding a phone number link into an email template?

I am coding the email through html, not using the designer

When I send the email, the link adds "http://" to the telephone link. This behaviour does not occur with a "emailto:" style link.

<a href="tel:+611300555666" style="color: rgb(42, 181, 196);">1300-555-666</a>
  • Graham McAdam Profile Picture
    Graham McAdam 165 on at
    RE: Help with adding a click to call link into an email template

    Cool. Thanks Clofly. 

    Graham

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Help with adding a click to call link into an email template

    Hi Graham,

    I suggest you could post what you've found to Ideas forum.

    Because it would be more related to product feature improvement.

    Regards,

    Clofly

  • Graham McAdam Profile Picture
    Graham McAdam 165 on at
    RE: Help with adding a click to call link into an email template

    Hi Clofly,

    I have only tried in the content block as with this communication we don't have option of editing the email as it's built up with content blocks. The is because the content is dynamic in relation to booking data.

    Do you thinking raising a ticket could provide some insight?

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Help with adding a click to call link into an email template

    Hi Graham,

    Did it not work for both marketing email and content block in your environment?

    In my environment which has enabled 2020 wave 1 early access, the method still didn't work even if I add phone number with editor dialog in content block and add the block in marketing email, but it worked when I attach phone number to text directly in marketing email.

    pastedimage1584013695509v1.png

    Regards,

    Clofly

  • Graham McAdam Profile Picture
    Graham McAdam 165 on at
    RE: Help with adding a click to call link into an email template

    Hello Clofly,

    Thank you for reply. Unfortunately, I am having no luck with that method. 

    Kind regards,

    Graham

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Help with adding a click to call link into an email template

    Hi Graham,

    I have tested, somehow "tel://xxx" will be removed forcefully in both content block and marketing email if I add it manually.

    But if you add href by editor tool, it still works.

    pastedimage1583939479493v1.png

    Regards,

    Clofly

  • Graham McAdam Profile Picture
    Graham McAdam 165 on at
    RE: Help with adding a click to call link into an email template

    Hello Clofly,

    Does this method still work?

    My colleague (who has very good code ability) and myself inserted the syntax into a content block, which builds up an email. When we view the content block we see it correctly.

    href="tel://1234"

    When we view the html in the email we have inserted the content block into, we see:

    href="#"

    It replaces with #. That part of the email is also locked for editing.

    Do you have any thoughts on the issue?

    Kind regards,

    Graham

  • Suggested answer
    Joseph Ryan Profile Picture
    Joseph Ryan 85 on at
    RE: Help with adding a click to call link into an email template

    Legend, thanks to the quick reqly

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Help with adding a click to call link into an email template

    Hi Joseph,

    Please read this previous thread:

    https://community.dynamics.com/365/marketing/f/dynamics-365-for-marketing-forum/364133/issue-with-phone-number-a-href-tel-12345-12345-a-it-is-changing-to-a-href-http-tel-12345-12345-a

    All tested in Gmail:

    This syntax works for both desktop and mobile:(recommended)

    <a data-msdyn-tracking="false" href="tel://12345">Call us 1</a> 

    Only works on desktop:

    <a data-msdyn-tracking="false" href="callto://12345">Call us 2</a> 

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans