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

Create a WP staging website in 6 steps w/o a Plugin

This tutorial assumes you have some prior knowledge of PHPmyAdmin, adding Domains, and copying files. How-to Create a WP Staging Website: 1. First thing you need to do is to create a subdomain ( This allows your staging website to run in a separate folder, not affecting your main website files. 2.Now that you have… Read More

Defining what content shows up based on page type

Quick code to define what content shows up based on page type. I had to have different containers show up depending on page. The Code