How to stop numbers being converted to links on mobile
On Apple iOS devices (iPhones and iPads), Safari will try to automatically detect phone numbers in a webpage and then convert them into hyperlinks. It does this by detecting strings formatted like a phone number and it converts each one into a link that calls the number. This can be very helpful, but it can sometimes be a little over enthusiastic and underline numbers that arenβt phone numbers!
You can disable this behaviour on a specific page of your Squarespace website, or on your entire site, by adding an Apple-specific meta tag.
Disabling phone number detection on an entire site
To disable it on the entire website, add the following to the header panel within Code Injection:
<!--- Stop iOS detecting telephone numbers ---------> <meta name="format-detection" content="telephone=no">
Disabling phone number detection on a single page
If youβd prefer to disable this on specific pages, you can add the same meta tag to the per-page code injection panel for the specific pages that you want to affect. Youβll find this in the Settings panel for the specific page or pages.
Learn more
To learn more about Apple specific meta tag keys, take a look at the Apple Developer documentation.