On this page
What this issue is
An sms: link is a link that opens the phone's messaging app with a number already filled in. It looks like <a href="sms:+14155550123">Text us</a>. When a visitor taps it on a phone, the Messages app opens with that number in the To field.
The link is wrong when the number inside it is not the one you want customers to text. Common causes: an old number after a provider change, a typo, a landline that cannot receive texts, a number without the country code, a copy-pasted number from a template or demo, or a number that differs between the header, footer and a pop-up.
Why it costs you leads or sales
Texting is a low-effort way to contact you, so people who use it are often ready to ask a question or book. If the message goes to a dead number, a stranger or an unmonitored line, you never see it. The visitor gets no reply and usually does not try again. Nothing looks broken on your side: the link works, the app opens, and no error appears anywhere.
- Visitor taps Text usMessages app opens
- Number in linkOld, mistyped or landline
- Message sentNot delivered to your team
- Your replyNever happens
The visitor does everything right; the message goes nowhere.
Example: illustrative numbers only. A correct number delivers nearly every tap as a message you can answer; a wrong one delivers none.
How to check if your site has it
Find every sms: link
Open your site, press Ctrl+F (Cmd+F on Mac) in View Source (view-source:yoursite.com) and search for
sms:. Also searchsmsto:andsms://. Repeat for key templates: home, contact, product, landing pages, footer and pop-ups.Compare each number with the right one
Check digit by digit against the number your team actually monitors. Make sure the country code is included, for example +1 or +44.
Tap it on a real phone
On an iPhone and an Android phone, tap the link. Confirm the To field shows the correct number and that the full number is correct, not just the last digits.
Send a real test text
Send a message and confirm someone receives it and can reply. A number can be correctly formatted yet unable to receive texts, such as a landline.
Check tools that insert links
Chat widgets, pop-up builders, email footers and link-in-bio pages can hold their own copy of the number. Check those too.
How to fix it
Use the full international format: a plus sign, country code, then the number with no spaces, dashes or brackets. Example: sms:+14155550123.
<a href="sms:+14155550123">Text us</a>
<!-- With a prefilled message. Encode spaces as %20. -->
<a href="sms:+14155550123?&body=Hi%20there%2C%20I%20have%20a%20question">Text us a question</a>Search the content
Check pages and posts in the editor (Code editor view for HTML blocks), Appearance > Editor or Customizer for header and footer, and Appearance > Widgets.
Check theme and plugin settings
Many themes keep the contact number in theme options or a header builder. Plugins for floating buttons have their own number field.
Edit theme content
Go to Online Store > Themes > Customize and check header, footer and announcement bar settings for the link.
Search the code
In Edit code, use the search box for
sms:across sections, snippets and templates.
Check Custom HTML tags
In Tags, look for Custom HTML tags that inject buttons or links, and search their code for
sms:. Update the number and publish a new version.
Edit the link settings
Select the button or link, open Settings, choose Link settings > Phone or Custom URL, and set the URL to
sms:+.... Check Symbols and the Footer, which change many pages at once.Publish
Publish the site so the change goes live.
Check funnels and websites
Open each funnel or website step, select the button, and edit its URL link. Check global sections and headers as well.
Update the button link
Select the button, choose the link icon, and use the Phone option or a custom link. Check the header and footer, which are shared across pages.
Edit the link
Click the button or text, open the link editor, choose URL and enter
sms:+.... Check Header and Footer in the site editor and Code Injection.
Search the repository
Search the codebase and CMS content for
sms:. Move the number into one config value or template variable so it is changed in one place.
Broken
- href="sms:5550123" has no country code
- Old number from a previous provider
- Header and footer hold different numbers
Fixed
- href="sms:+14155550123" in full international format
- Number can receive texts and is monitored
- One source for the number everywhere
How to confirm it's fixed
- Clear the cache or purge your CDN and page cache so old HTML is not served
- View source and confirm every sms: link shows the right number
- Tap the link on an iPhone and an Android phone
- Check the To field shows the full number with country code
- Send a test text and confirm it arrives with the right person
- Reply from your side and confirm the visitor receives it
- Check pop-ups, chat widgets and email footers too
How to prevent it happening again
- Keep the number in one place, such as a theme setting or config value, instead of pasting it in many places
- Add the SMS number to your checklist whenever you change phone provider or number
- Assign an owner who monitors the text inbox and checks it weekly
- Do a quick tap test on a real phone after each redesign or theme update
- Use a texting number that can receive messages, not a landline
- Review all contact links once a quarter
How FunnelGuard handles this
FunnelGuard does not check SMS links yet. It does not read the number inside an sms: link or confirm that it is the right one. A check like this is a possible future addition.
What FunnelGuard does cover nearby: it runs your real customer journeys on a schedule, such as lead forms and checkouts, checks each step and the tracking hits sent to ad and analytics platforms, and confirms test leads reach your inbox and CRM. Those checks help if a form is your main route to contact, but they do not verify a text link.
To watch for it today, use the manual check above after any change to your phone number, site theme or footer. Put a recurring reminder in your calendar, and ask a colleague to tap the link on their phone each month. A free read-only FunnelGuard website audit is available if you want a broader look at your site, though it does not include an SMS link check.
Questions people ask
Why does my sms: link open the wrong number?
The number in the link's href is probably old, mistyped or copied from a template. Another page element, such as a footer or pop-up, may hold a different copy. View the page source, search for sms: and compare each number with the one you monitor.
What is the correct format for an sms: link?
Use sms: followed by a plus sign, the country code and the number with no spaces or dashes, for example sms:+14155550123. Without the country code the link may work only for people in the same country.
How do I add a prefilled message to an sms: link?
Add ?&body= and the URL-encoded text after the number, for example sms:+14155550123?&body=Hi%20there. Behaviour differs a little between iPhone and Android, so test on both.
Why does my text-us button do nothing on desktop?
Most desktop computers have no default app for sms: links, so nothing happens or a prompt appears. This is normal. Consider showing the number as text on desktop or using a form instead.
Can an sms: link point to a landline?
The link will open and fill in the number, but a landline usually cannot receive text messages. Use a mobile or a texting-enabled business number that someone monitors.
How can I test an SMS link on my website?
Open the page on a real iPhone and an Android phone, tap the link, and check the number in the To field. Then send a message and confirm the right person receives it and can reply.
Does FunnelGuard check SMS links?
No. FunnelGuard does not check sms: links yet, and it is a possible future check. It does run your lead form journeys and check that test leads reach your inbox and CRM, so use a manual tap test for text links.
Related issues
- CNV-264tel: link has wrong or old numberFix guide
- CNV-265tel: link missing country codeFix guide
- CNV-272Phone number shown as image, not tappableFix guide
- CNV-258WhatsApp link opens wrong numberFix guide
- CNV-267Click-to-call event not trackedFix guide
- CNV-266Call tracking number swap (DNI) not workingFix guide