How to get a phone number to open in sms. | Community
Skip to main content
Level 2
July 24, 2017
Question

How to get a phone number to open in sms.

  • July 24, 2017
  • 2 replies
  • 2265 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 in 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

2 replies

Jim_Thao7
Level 8
July 24, 2017

Instead of "sms" try "tel"

Level 2
July 24, 2017

Thanks Jim. When I use tel it opens as a phonecall. I am trying to get it to open as a text message.

Anthony_Figgin1
Level 2
July 24, 2017

I did a test using this code.

<a href="sms://+18016458495?body=I%27m%20interested%20in%20your%20product.%20Please%20contact%20me.">Send a SMS message</a>

And put it on a test landing page. [LINK]

I use a Google Pixel and it worked fine for me. I do know that this functionality is not supported 100%. I would need to do further testing to see what happens on a non supported device.

as far as email, I could not make this work in Outlook or gmail. I would assume the mail clients do not support it.

Hope this helps,

-AF