Click to Call on Android

Highlighted
Anonymous
Not applicable

Click to Call on Android

Hello,

I am attempting to include a click to call button within my email. It is working on iPhone, but on Android it is pulling in a very strange string to the call field (screenshot attached). Is there a specific code work-around for this function in Marketo? I am using the following code:

<a href="tel:8448767680" class="mktEditable" id="call-button">

            <img src="images/clicktocallbutton.png" style="width: 250px!important;" valign="bottom" width="250" alt="Give Us a Call" border="0"></a>

Thank you!

Tags (2)
2 REPLIES 2
Highlighted
Level 10 - Community Moderator

Re: Click to Call on Android

Always add class="mktNoTok" to tel: links.

Highlighted
Anonymous
Not applicable

Re: Click to Call on Android

this doesn't solve the problem for us, it is still opening the mkt before the phone number and creating a very long number on androids.

<td>

Please give me a <a href="tel:{{lead.Lead Owner Phone Number:default=edit me}}" target="_self" class="disable-link mktNoTok" id="phone" style="color: #000000;">quick call</a>

</td>

with:

a.disable-link {

  pointer-events:none;

  cursor:default;

}

@media only screen and (max-device-width: 480px) {

   a.disable-link {

      pointer-events:auto !important;

      cursor:auto !important;

   }

}