Big shout out to Gaintap.com for helping us with this issue. For anyone who needs… see below. OG Link
The below instructions are to help folks using their Google/Android phone to call the number on your website or landing page!
1. Start with a standard link tag:
<a href=""></a> |
2. Enter your phone number with no dashes in the quotes:
<a href="8182129201"></a> |
3. Now the important part, add tel: to the beginning of the number:
<a href="tel:8182129201"></a> |
4. Then finish it up with some text for the link
<a href="tel:8182129201">Call us at 8182129201</a> |
Here’s what you should see: Call us at (818) 212-9201 Click the link to make sure it works. If the call goes through, you’re done.
Common HTML Phone Number Link Mistakes
- Using dashes, which is by far the most common mistake. The number won’t always work on every device
- Forgetting to place a colon after “tel”
- Forgetting quotes in the HTML
How to Make a Phone Number Clickable in WordPress
More comfortable with the visual tab/WYSIWYG/TinyMCE editor? Here’s how you add phone links in WordPress:
- Edit your page or post in WordPress.
- Make sure you’re on the Visual tab – not the Text tab.
- Highlight the phone number or text you want to make clickable on phones.
- Click the “Hyperlink” button.
- Enter tel: followed by your phone number with no dashes.
- Apply the link.
- Update/publish your page or post.
That’s it. You’re done.
Adding Google Analytics Event Tracking to HTML Phone Number Links
Here’s an easy call tracking solution: combine the above steps with Google Analytics to track click events.
Example Click to Call Link with Google Analytics Event Tracking:
<a href="tel:8182129201" onclick="ga('send', 'event', { eventCategory: 'Contact', eventAction: 'Call', eventLabel: 'Mobile Button'});"><p class="call-button">Click to Call</p></a> |
- Copy and paste that link code.
- Swap out the phone number and text.
- Check Google Analytics under Behavior -> Events -> Overview or Top Events.
Here’s what those clicks look like in Google Analytics:
If you’re on WordPress, you may run into issues with Google Analytics and event tracking. I recommend using Google Tag Manager for all tags on WordPress. You’ll need to have some HTML skills, but it simplifies everything.