Call Tracking using GTM

I’ve noticed onClick tracking can be troublesome and sometimes doesn’t work as expected on WordPress websites, so its never 100% accurate.

To get around these errors, I use Google Tag Manager to track call events.

How to Track phone calls using Google Tag Manager:

1. If you haven’t already, install GTM on your website.


2. Add a Trigger:

Wait for tags 2000
Check Validation
Page URL Match RegEx .*
Click URL contains tel

choose built-in variable
choose built-in variable
click url
click url

2a. Adding Click URL variable:
Choose built-in variable

Select Click URL


3. Add a Tag

Click on Phone Number
{{Page URL}}
Value: Empty (unless you want to add a #)
{{Google Analytics}} or whatever you named that setting


4. Add your pre-made trigger


5. Using Chrome (safari doesn’t work for me), click on Preview, and in a new tab open the website this tracking is for. After you click on the phone number, you should see that call tracking will display under “tags fired”

6. Publish your new tags + triggers in GTM.


7. Confirm this in Google Analytics. Remember to set the date range for today.

Isaac Adams-Hands

Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.

Follow @ twitter

Related posts

Remove unwanted script from WP Header

I’ve noticed that WordPress adds tons of unwanted script to the header. I totally get why, but for highly focused themes, I like to remove as much as I can. This decreases page load times, eliminates render-blocking resources, and optimizes the First Link Priority Rule. The Script Using the script below, add it to your… Read More

Fixing the blog page title in WP

If your blog page is pulling the title of the last/latest post, here is a quick and dirty fix Add this to your title tags: Examples: