Skip to content
Adrythm

How-to

Fix call tracking numbers that don't swap on your website

Updated November 21, 2026

20 minutes

Test in a new private window with your page address and ?gclid=test typed in full. If it does not swap, check in this order: one tracking script runs, the ad source's rule matches the visit, each page number is linked to a tracking number, each is text rather than an image, and the cookie banner allows it.

Before you start

  • Access to your call tracking account and to wherever its script is installed: the site itself or its Tag Manager container.
  • The number exactly as your website prints it, in every place it appears, including the tap-to-call link.
  • A phone to make one test call once the number swaps.

Test it the way an ad visitor arrives

Start with the test itself, because a test from a used browser can make a working swap look broken. Call tracking scripts usually remember the first source a browser arrived from (CallTrackingMetrics does), so a browser that once loaded the site normally can keep showing the normal number.

  1. Close every private or incognito window, then open one new one. Use a fresh one for every test.
  2. Type your page address with ?gclid=test on the end, in full. Do not let the address bar fill it in, or it may load the address without the test tag.
  3. Wait for the page to finish loading. A script that loads late can take a second or two to swap the number.
  4. Check every place the number appears. On a phone, or a phone-width view, tap the number too: the number it dials has to be the tracking number, not only the number you see.

?gclid=test imitates a Google Ads visit, which is what a Google Ads source usually looks for. CallTrackingMetrics' Microsoft Ads (Bing Paid) source looks for ?msclkid=test or UTM tags instead. A source built on UTM tags needs its own test address. A source built on a referring site is tested by clicking through to your site from that site.

If it does not swap, check these in order

Work down these checks in order and stop at the first one that fails. The steps name CallTrackingMetrics' screens as one example; other tools have the same parts under their own names.

  1. The script runs, once. Open the browser console and run your tool's check. In CallTrackingMetrics, type __ctm.config.aid: an error or nothing means the script is not running, and a number other than your account ID means another account's script. If Tag Manager installs it as a Custom HTML tag, the page source will not show it, so check the published container instead.
  2. No second call tracking script is on the page. CallTrackingMetrics says other call tracking scripts interfere with its own, and the same applies to a second copy of one tool. Remove the extra one.
  3. The source rule matches the visit. Open the source meant for ad visitors and confirm it is set to swap on the website (the onsite toggle in CallTrackingMetrics), that its landing page rule looks for what the ad visit carries, and that no source higher in the order catches the same visit first.
  4. Each number on the page is linked to a tracking number. The script only replaces numbers it is told to look for, so a page with two different numbers needs a link for each. A tracking number with no page number linked to it is installed and does nothing. Link them, then reopen the setting to confirm the link saved.
  5. The number matches its format. A vanity number, or one formatted unusually, needs an exact match entry as well as the normal one. CallTrackingMetrics says an exact match entry fixes many common swap failures.
  6. The number is text. The script does not swap a number inside an image or graphic on its own. The simplest fix is to change it to text on the page. Keeping the image needs a developer and the tool's image callback.
  7. A caching or speed plugin is not altering the script. Exclude the tracking script from the cache, or the page from caching.
  8. The cookie banner lets it run. If the banner files the tracking script's cookies as marketing, visitors who decline see no swap at all. Test once with cookies accepted. Which category the cookies belong in is a privacy decision, not a setting to flip for coverage.

Check it worked

In a new private window with ?gclid=test, every copy of the number on the page should show the tracking number, and tapping it should dial the tracking number. In CallTrackingMetrics, typing __ctm_tracked_numbers in the console returns true with the number shown.

Then call the swapped number from your phone. The call should appear in your call tracking log under the ad source, not as a direct visit.

In another new private window (close the first one), a plain visit with no test tag should still show your own number if the tool only targets ad visitors.

What a live test on six sites showed, 2026-11-21

On 2026-11-21 Adrythm loaded six live business websites it runs in a fresh phone-sized browser, five ways each: a plain visit, ?gclid=test, ?msclkid=test, UTM tags for a Google ad (utm_source=google and utm_medium=cpc) with no click ID, and a visit referred from google.com. Five sites run the CallTrackingMetrics script; the sixth runs none and was the control. Each load waited 7 seconds with no scroll or tap, then 7 more after a scroll. Only which number showed was compared, never the numbers themselves. No business is named.

?gclid=test swapped on all five. Every site with the script showed a number other than the page's own within 7 seconds, before any scroll. On the control site the number never changed, whatever the address carried.

The tap-to-call link followed every time. On all 30 loads of the five sites, every tel: link dialed the same number the page showed. Nothing was wrong here, but only tapping shows it: the text on the page does not say where the link dials.

?msclkid=test got its own number on all five, different from the Google Ads number. A Microsoft Ads visit tested with ?gclid=test would have shown the wrong source on every one.

UTM tags without a click ID split three ways. One site gave that visit the same number as ?gclid=test, three gave it a separate number, and one showed the plain visit's number. On that last site, an ad whose clicks lose the gclid on a redirect would have its calls filed as direct visits.

A visit from google.com did not always mean organic. Three sites kept the page's own number, one showed a separate number, and one showed the same number as ?gclid=test. On that one, calls from organic search and from ads arrive on one number, so the call log cannot tell them apart by number alone.

Two sites swap every visitor. Even a plain visit with no tag showed a number other than the page's own. The other three kept their own number for plain visits. So "the number changed" on a plain visit is not a fault on every site.

The first source stuck on four of five. After a ?gclid=test visit, a second plain visit in the same browser kept the ad number on four sites. The fifth showed a third number, the one its UTM visit had received. That is one more reason every test starts in a new private window.

The script's timing came from how it was installed. Four sites loaded it within a second of the page starting. One loads it through Tag Manager, and that site holds Tag Manager back: the script arrived 5 to 6 seconds in on visits with no click ID, and in under 2 seconds when the address carried one. A test that looks after 2 seconds there would call a working swap broken.

Read your test result: a path

Run the five visits above, each in a new private window, and note which number each one shows.

?gclid=test shows the page's own number after 10 seconds. The swap is not running for ad visitors. Work down the checks in the second part above.

?gclid=test swaps, but the UTM visit shows the plain visit's number. Ads whose click ID is lost on the way in will be filed as direct. Add a landing page rule for your UTM tags to the ad source, or keep the click ID through every redirect.

?gclid=test and the google.com visit show the same number. The ad source is also catching organic search. Narrow its rule to the click ID or the paid UTM tags if you want ad and organic calls apart.

Every visit swaps, the plain one too. Check whether a source for direct visits is meant to be on. If it is, nothing is broken.

The number swaps only after several seconds. Look at how the script is installed. A tracking script held back with Tag Manager swaps late, and a caller who taps in the first seconds dials the page's own number.

How do I turn off call tracking on my website?

To stop the swap for one kind of visitor, turn off swapping on the website for that tracking source (the onsite toggle in CallTrackingMetrics). The number keeps working when dialed from wherever else it is printed. To stop it for everyone, remove the tracking script from the site or its Tag Manager container. Every page then shows the number written into it, so make sure that number is the one you want callers to reach.

Testing Google's own website call snippet

Google's snippet swaps in a Google forwarding number only for visitors who came from an ad, so ?gclid=test is not Google's test. Google says to search, click your own ad (the click is charged), and check the number changed. It can take up to an hour after setup, and you should delete the gwcc cookie before testing again.

Google's default snippet tracks one number per page. Tracking a second number means installing and editing the snippet yourself, and updating the number behind a tap-to-call link needs the snippet's callback function. Google recommends that option only for someone comfortable with JavaScript, so it is often a developer's job.

Why it swaps for ad visitors but not for you

The script ties a browser to the first source it arrived from, for 30 days by default in CallTrackingMetrics. If you once opened your site from a bookmark, that browser keeps the bookmark's number. That is the script doing its job, and the reason every test starts in a fresh private window.

Lead and call tracking is one of the things we sell, and it goes in before any ad budget is spent. Jobs like this one are part of that work.

Still have a question this page did not answer?

Ask it on a call. Thirty minutes, a straight answer, and no follow-up sequence if you decide not to work with us.