How to get a phone number to open in sms | Community
Skip to main content
New Participant
July 21, 2017
Solved

How to get a phone number to open in sms

  • July 21, 2017
  • 1 reply
  • 4869 views

In a marketo email I added the Example:  <a href="sms:123456789">123456789</a> tag so when someone sees the email on their phone, they can click the number and it should open up on their messenger. When I sent myself a test I get a 404 page not found error. When  I removed the tracking nothing happens when I click the number. Any ideas?

Email client: Outlook

Phone: Samsung Galaxy 7

Best answer by SanfordWhiteman

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.

 

 


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

1 reply

SanfordWhiteman
New Participant
July 22, 2017

Please move the thread to Products​ to continue. This space is for feedback about the Nation website, not support.

New Participant
July 14, 2021

Kindly tell us what's the solution for this problem when I added the <a href="sms: number here">SMS</a> anchor tag and the user click on number in the email then it is going to the 404 page but it should go the sms screen on mobile.

SanfordWhiteman
New Participant
July 14, 2021

Make sure you’re adding the no-track class.

<a class="mktNoTrack" href="sms:+3310203040">