← Growth Center

How to Set Up Dynamic Call Tracking Numbers (Guide)

Stop guessing where your best phone leads come from. Learn exactly how to set up dynamic call tracking numbers to measure offline conversions and true ROI.

By Forge Growth Research9 min read

To learn how to set up dynamic call tracking numbers, you must first purchase a pool of tracking numbers from a software provider, configure your routing rules to forward calls to your main business line, and install a small JavaScript snippet into your website's header. Once installed, this code automatically detects how a visitor found your website and swaps your standard phone number with a unique tracking number tied to their specific session. This allows you to track exactly which ad, organic search query, or referral link made the phone ring, turning invisible offline conversions into hard data you can use to grow your business.

Key Takeaways

  • Dynamic call tracking replaces your website phone number with a unique tracking number based on the visitor's traffic source.
  • Setup requires adding a small JavaScript snippet to your website header to swap the numbers automatically.
  • Local businesses must keep their real phone number hard-coded in the HTML to protect NAP consistency.
  • Connecting call tracking software to Google Ads passes offline conversions directly into your ad bidding algorithms.
  • Tracking calls at the session level reveals the exact keyword and campaign that generated the inbound phone lead.

Most local service businesses operate in the dark. You spend thousands of dollars on Google Ads, SEO, and social media. The phone rings, you book a job, but you have no idea which marketing dollar actually produced that customer. You ask, "How did you hear about us?" and the customer replies, "The internet." That is not actionable data. By implementing dynamic number insertion (DNI), you eliminate the guesswork.

Why Learn How to Set Up Dynamic Call Tracking Numbers?

If you run a local service business—like a plumbing company, a roofing team, or a commercial cleaning service—the majority of your most valuable leads do not fill out contact forms. They pick up the phone and call you because they need help right now.

If you cannot track those phone calls back to the source, your marketing data is fundamentally broken. You might be pouring money into a Google Ads campaign that generates lots of clicks but zero phone calls, while an overlooked organic SEO page is quietly driving all of your highest-ticket jobs.

When you master how to set up dynamic call tracking numbers, you gain complete visibility into your customer journey. You can see the exact search term a user typed into Google, which ad they clicked, which pages they looked at on your website, and exactly how long they stayed on the phone with your dispatch team. You can even record the calls to monitor your team's sales performance.

Source-Level vs. Session-Level Tracking

Before you build your system, you need to understand the two different ways dynamic numbers are deployed. You will choose between source-level tracking and session-level tracking.

FeatureSource-Level TrackingSession-Level Tracking
How it worksAssigns one static number per traffic channel (e.g., one for all SEO, one for all Facebook).Assigns a unique number from a "pool" to every individual user browsing your site at that moment.
Data GranularityLow. Tells you the channel (Google Organic), but not the specific page or keyword.High. Tells you the exact keyword, ad group, landing page, and user journey.
Number of Lines Needed1 number per traffic source (usually 3 to 5 total).A pool of numbers based on your peak hourly website traffic (usually 4 to 12 total).
Best Used ForHigh-level overviews, offline marketing (billboards, mailers).Granular digital marketing, Google Ads optimization, strict ROI tracking.

For 99% of businesses investing in digital marketing, session-level tracking is the right choice. It provides the deep, keyword-level data required to feed conversion information back into Google's ad algorithms.

Step 1: Choose Your Call Tracking Software

The first step is selecting a platform. You cannot build this system yourself; you need a software provider that manages the telecommunications routing and provides the dynamic swapping script.

The industry leaders are CallRail and CallTrackingMetrics. Both platforms are excellent, reliable, and integrate natively with Google Ads and Google Analytics. They typically cost between $40 and $150 per month, depending on how many tracking numbers you own and how many minutes of call time you use.

Once you create an account, you will navigate to the number creation dashboard to purchase your local or toll-free numbers. We strongly recommend buying numbers with your local area code. Local numbers build trust with your community. A homeowner in Dallas is much more likely to call a 214 area code than an 800 number.

Step 2: Configure Your Number Pools and Swap Rules

Understanding pool size is a critical part of how to set up dynamic call tracking numbers effectively. If you are using session-level tracking, you need a "pool" of numbers.

When a visitor lands on your site, the software assigns them a specific number from the pool. As long as they are on the site, that number belongs to them. When they leave, the software holds that number for a short buffer period, and then releases it back into the pool for the next visitor.

If your pool is too small, the software will run out of numbers during a traffic spike. If that happens, two visitors will see the exact same phone number. If one of them calls, the system won't know which visitor it was, and your tracking data breaks.

The Math Behind Number Pools

Industry standard practice, according to CallRail's documentation on pool calculations, is to take your peak hourly website traffic and divide it by four.

For example, if your website receives 40 visitors during its busiest hour of the week, you need 10 numbers in your pool (40 / 4 = 10). Always round up. If your business is seasonal, base this math on your busiest month of the year. It is always better to pay a few extra dollars a month for a larger pool than to lose high-ticket conversion data.

Configuring the Routing

Once you have your pool, you must tell the software where to send the calls. You will input your real business phone line as the "Destination Number."

You should also enable a "Call Whisper" at this stage. A whisper is a short, automated audio message that plays only to your staff before the call connects. For example, your dispatcher picks up the phone and hears, "Call from Google Ads." The customer does not hear this. This immediately alerts your team to handle the call as a hot inbound lead.

Step 3: Install the JavaScript Code via Google Tag Manager

The magic of dynamic tracking happens through JavaScript. Your software provider will give you a small block of code (often called a DNI script). This code must be loaded on every single page of your website.

The safest and most scalable way to install this code is through Google Tag Manager (GTM).

  1. Log into your GTM container.
  2. Create a new Tag and select "Custom HTML."
  3. Paste the DNI script provided by your call tracking software.
  4. Set the Trigger to "All Pages."
  5. Save and Publish your GTM workspace.

When the page loads, the script scans your website's HTML for your designated destination number. When it finds your real business number, it instantly replaces the text on the screen with the assigned tracking number for that user. This happens in milliseconds, invisible to the naked eye.

Step 4: Testing Your Dynamic Number Insertion

The final technical step in how to set up dynamic call tracking numbers is verifying the swap rules are functioning perfectly. Never assume the code works just because you published it. You must simulate a user visit.

DNI Testing Checklist

Follow these exact steps to verify your installation:

  • Clear your cache: Open a completely fresh "Incognito" or "Private" browsing window.
  • Simulate a traffic source: Do not just type your URL into the browser. Go to Google and search for your brand, or use a simulated ad link by appending ?utm_source=google&utm_medium=cpc to the end of your website URL.
  • Check the swap: Look at the phone number in your website header, footer, and contact page. It should now display a tracking number, not your real business number.
  • Make a test call: Dial the tracking number on your cell phone. Ensure it rings your main business line.
  • Verify the data: Log into your call tracking software dashboard. You should see your test call logged, accurately showing the simulated source (e.g., Google CPC) and the exact landing page you visited.

If the number does not swap, ensure your real phone number is typed into your website's HTML exactly as you entered it into the call tracking software's swap rules. If your software is looking for "555-123-4567" but your website says "(555) 123.4567", the code might not recognize it.

Call Tracking and Local SEO: Protecting Your NAP Consistency

Business owners often worry about local SEO when figuring out how to set up dynamic call tracking numbers. This is a valid concern. Local search rankings rely heavily on NAP (Name, Address, Phone number) consistency across the internet.

Search engines like Google, and modern AI search assistants like ChatGPT, Perplexity, and Apple Intelligence, constantly scan the web to verify your business information. If they find conflicting phone numbers, they lose trust in your business identity, which can plummet your local map pack rankings.

This is exactly why you must use dynamic JavaScript swapping instead of hard-coding tracking numbers into your website.

When a search engine crawler or an AI assistant reads your website, it reads the raw HTML code. Because your DNI script relies on client-side JavaScript to swap the number visually for human users, the bots still see your real, permanent local phone number hard-coded in the background.

According to industry leaders in local SEO like Moz, maintaining your true phone number in the raw HTML is the standard for protecting your NAP consistency.

You should also never use call tracking numbers on your Google Business Profile as the primary number. Your primary number on Google should always be your real business line. You can put tracking numbers in the "Secondary Number" slot if you want to track Google Maps calls, but keeping the primary line accurate is essential. If you are struggling with profile optimization, review our guide on How to Choose Primary Category Google Business Profile (2025).

Additionally, as AI tools become primary search engines, they aggregate data from directories like Yelp, BBB, and local chambers of commerce. Ensure your real business line is the only number ever submitted to these directories. For more on preparing for AI search, read How to Optimize Local Business for Apple Intelligence in 2025.

Step 5: Map Phone Calls Back to Google Ads and Analytics

Tracking the calls inside a dashboard is nice, but the real financial leverage comes from feeding that data back into your advertising platforms.

Google Ads relies on machine learning to optimize your bids. If you are paying for clicks, but Google doesn't know which clicks turned into phone calls, its algorithm cannot optimize for your best customers. It is flying blind.

By linking your call tracking software directly to Google Ads and Google Analytics 4 (GA4), every time a dynamic number is called by a paid visitor, your software sends an "Offline Conversion" event back to Google. Google officially supports this and outlines the requirements in their Google Ads offline conversion documentation.

This tells the Google Ads algorithm exactly which keyword, ad group, and campaign generated the lead. Suddenly, the algorithm learns what a buyer looks like. It stops bidding on cheap clicks that just bounce, and starts bidding aggressively on the search terms that make your phone ring.

Managing the Leads After They Call

Getting the tracking right is only half the battle. Once you know exactly where your leads are coming from, you have to close them.

Dynamic call tracking software pairs perfectly with automated CRM systems. When a call comes in, the software can automatically create a new contact in your CRM, logging the call recording and the marketing source. If you miss the call, you can set up automated "Missed Call Text Back" features to instantly text the prospect and save the lead from calling a competitor.

Speed is everything in local services. If you want to maximize the ROI of the leads your new tracking system uncovers, you must follow up instantly. Review our breakdown of the Best Speed to Lead Software for Contractors (2025 Guide) to see how automation can close the gap between a tracked call and a booked job.

Turning Call Data into Revenue

Mastering how to set up dynamic call tracking numbers is what separates amateur local marketers from elite business owners. It is the bridge between spending money on the internet and generating measurable, predictable revenue.

Once the system is running, you will finally have a single source of truth. You can confidently pause the campaigns that burn cash and double down on the keywords that generate profitable, high-intent phone calls.

If you want to stop guessing about your marketing ROI and build a predictable engine for local growth, we can help. Get your free Growth Plan today, and let Forge Growth show you exactly how to implement tracking, dominate local search, and scale your business with precision.

Common questions

Quick answers about this topic

Short answers first, then the detail. Skim what you need.

Does dynamic call tracking hurt my local SEO?

No, dynamic call tracking does not hurt your local SEO as long as you install it correctly.

You must use a JavaScript swapping script rather than manually typing tracking numbers into your website's code. This ensures search engines and AI bots still read your real, consistent business phone number in the background HTML.

call trackinglocal seoSEOJavaScriptHTML.

How many numbers do I need in a dynamic tracking pool?

To calculate your needed pool size, take your website's peak hourly traffic and divide it by four.

For example, if you get 40 visitors during your busiest hour of the week, you need a pool of at least 10 numbers to track everyone accurately without overlap.

Can I track offline marketing with dynamic numbers?

Yes, you can track offline marketing like direct mail, billboards, and truck wraps.

However, for offline tracking, you will use source-level tracking—assigning one permanent static number to each offline campaign—rather than using a dynamic session-level pool.

What happens if two people visit my site at the exact same time?

Session-level dynamic tracking handles this effortlessly.

The software assigns a unique phone number from your pool to the first visitor, and a completely different number to the second visitor. This guarantees that if either visitor calls, the system knows exactly which session generated the lead.

How much does dynamic call tracking cost?

Dynamic call tracking software typically costs between $40 and $150 per month for local service businesses.

The final price depends on the software provider, the number of tracking lines you need in your pool, and the total minutes of call time your business uses each month.

call tracking

Can I record calls through dynamic tracking numbers?

Yes, almost all modern call tracking platforms include call recording as a standard feature.

This allows you to listen back to inbound leads, audit your dispatch team's customer service, and ensure that high-quality marketing leads are not being mishandled on the phone.

call tracking
Take it further

Ready to see this in the wild?

Doing your homework? Compare providers

Want us to build this for you?

Forge Growth builds and manages websites, SEO, and lead systems for local businesses.

Operating company · Not an agency

We don't sell growth. We do it — then install it.

ForgeGrowth owns and operates real businesses. Every system we install into a client business was tested on our own P&L first.

  1. 01
    We launch businesses
  2. 02
    We grow them
  3. 03
    We learn what actually works
  4. 04
    We package those systems
  5. 05
    We install them into yours
4
Businesses we own
+70.8%
Revenue lift (Broken Bow)
180+
Direct bookings driven
$20,399
Net new revenue