SOLVED

How to get a phone number to open in sms

Go to solution
talhakhalid
Level 1

Re: How to get a phone number to open in sms

I checked actual email HTML structure using inspect element there is no anchor tag I mean when I add the class mktNoTrack it removes the A tag. Here is attached screenshot:

 

a.png

SanfordWhiteman
Level 10 - Community Moderator

Re: How to get a phone number to open in sms

That’s what I was afraid of, it’s a platform bug specifically with the unrecognized URL scheme.

 

Try it with the whole <a> tag (including <a> through closing </a>) in a Text {{my.token}}, still including the class="mktNoTrack". If that doesn’t work, put it in a Velocity {{my.token}}. Let me know the results.

 

EDIT: there’s no such bug, the user is testing in the wrong environment. Not all devices support the sms: scheme is all.

 

 

SanfordWhiteman
Level 10 - Community Moderator

Re: How to get a phone number to open in sms

@talhakhalid see my edit above. I actually don’t see any problem w/Marketo rendering such links in the email at all.

 

Your F12 Inspector isn’t the way to tell if something exists in the raw message Marketo sent, because the mail client is stripping out HTML tags it doesn’t support. You have to use Show Original Message, Show HTML Source, or similar to show the actual message, in which case you’ll see the <a href="sms:...> is indeed output correctly.

 

However, not all devices and mail clients support the scheme. For example, my Outlook for Android doesn‘t; my webmail, viewed on Chrome Mobile on the same device, does.

talhakhalid
Level 1

Re: How to get a phone number to open in sms

Alright! Got it thank you ;).