Troubleshooting

Phone Click Tracking Not Working on WordPress

3 min read··By the TrackingCoder team
🔧

Common reasons phone-click tracking doesn’t fire

  1. GTM container not published - You imported the container but didn’t click Submit → Publish.
  2. GTM snippet not installed on your site - The GTM code needs to be in your site’s <head> and <body>.
  3. Phone number not wrapped in a tel: link - If the number is plain text (not an <a href="tel:..."> link), clicking it won’t generate a Click URL that GTM can detect.
  4. Phone number displayed as an image - Some sites render the phone number as an image to prevent spam. GTM can’t read the phone number from an image, and the click won’t contain a tel: URL.
  5. Phone number loaded via JavaScript - Dynamic number insertion (used by call tracking services like CallRail) replaces the number after page load. Your trigger may be looking for the original number that no longer exists in the DOM.

Step-by-step debugging checklist

  1. Verify GTM is installed - Visit your site, right-click → View Page Source, search for “GTM-”. If you don’t see it, GTM isn’t installed.
  2. Check GTM Preview mode - In GTM, click Preview. Navigate your site and trigger the event. Look for your tag in the Tags Fired section.
  3. Check the trigger - If the tag shows as “Not Fired”, click on it to see which trigger conditions aren’t met.
  4. Inspect the phone number element - Right-click the phone number → Inspect. Confirm it’s an <a> tag with href="tel:+1234567890". If it’s a <span> or <div>, you need to either change it to a link or use a different tracking approach.
  5. Enable Click URL variable and test - In GTM Preview, click the phone number. The Click URL should show tel:+1234567890. If it’s empty or different, your element isn’t a proper tel: link.

WordPress-specific issues

WordPress click-to-call plugins (like WP Call Button or Simple Click To Call) often inject phone links dynamically via JavaScript. If the link isn’t in the initial HTML, GTM may not detect it with a DOM Ready trigger. Use a Click – All Elements trigger filtered by Click URL contains tel: to catch dynamically inserted phone links.

Some themes also render the phone number in the header using a shortcode that outputs a <span> instead of an <a> tag. Inspect the element to confirm it’s a proper tel: link.

How to verify it’s working

  1. Open GTM Preview/Debug mode
  2. Navigate to your site
  3. Trigger the event (click the phone number)
  4. Check the GTM debug panel - your tag should appear under “Tags Fired”
  5. Check GA4 DebugView (GA4 → Admin → DebugView) to confirm the event arrived

Still didn’t work?

Our team can help. Describe what’s happening and we’ll get back to you within 24 hours.

Still didn't work? Report this issue

Fill in the details below and our team will review it within 3-5 business days. We aren't obliged to refund - but if we genuinely can't make it work, we may credit you back. Either way, your credits remain usable on a different event or site.

No need to type https:// - we'll add it for you.

Min 20 characters (0/20).

Context automatically included: phone click tracking on wordpress

Skip the manual setup

TrackingCoder detects your CMS and plugins automatically, then generates ready-to-use tracking code. No more adapting generic tutorials - get code tailored to your exact setup in under 2 minutes.

Try TrackingCoder Free →

2 free credits on signup. No card required.