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

Adding the_excerpt in WP

How to add auto excerpts to a WP Theme: For this example, I’m using the WP Bootstrap Starter theme (remember to create a Child theme, or you will lose any edits after you update). You need to locate content.php file, it should be under the template-parts folder: Find the code: Approx. line 33. Replace with:… Read More

Dynamic Page Listings in #WP

Here is how-to dynamically list all children pages associated under a parent page in WordPress. This allows you to change and update pages without updating a sidebar widget/page, and removes the need to create numerous distinct sidebars/sections. To enable this code, add it to your WordPress themes functions.php file, then add the shortcode to the… Read More