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

Redirect form after submit

Add the onClick values onClick values *replace f0rm with form, I didn’t want the form to render on this website.

How to add a header image in WP

Here is a quick example of how to add a background image to the header of your WordPress website pulling the Feature Image Featured Image Code: You could also use: