Dynamic Number Insertion: How It Works for Local Businesses

Local Lead Growth Team

Digital marketing for local service businesses

Dynamic number insertion (DNI) is a small script on your website that swaps the phone number a visitor sees for a tracking number tied to how they found you. When that person calls, you know whether they came from a Google ad, a Facebook ad, your Google Business Profile or plain organic search. If you pay for leads that arrive by phone, DNI is how you stop guessing which dollars made the phone ring.

This guide explains what DNI is, how it differs from a fixed tracking number, how it works with Google Ads, what to watch for, and how to read the results as a small service business owner.

Localleadgrowth
Turn More Calls Into Growth
Localleadgrowth handles marketing from finding customers to encouraging repeat business, so you can focus on answering the phone.
Explore Localleadgrowth

TL;DR

  • DNI is call-tracking technology that displays a tracking number based on the visit’s advertising source, so each inbound call can be attributed to that source.
  • A static tracking number is fixed and suits print, mailers and billboards. DNI suits digital channels because it works visit by visit.
  • Google Ads has its own version for website calls, using a Google forwarding number. A separate DNI setup covers the traffic Google doesn’t see.
  • The number pool must be big enough for your traffic, or two visitors can see the same number and the data gets muddy.
  • Count qualified calls and booked jobs, not just call volume, when you judge return on ad spend.

Table of Contents

What dynamic number insertion actually means

A dynamic number is a phone number that changes automatically based on the visitor’s context, such as where they are or how they arrived at your site. Think of your website as having one blank space where the phone number goes. DNI fills that space with a different number depending on who is looking.

Here is a simple example. Maria searches “water heater repair Providence” and clicks your Google ad. The script sees the ad click and shows her a tracking number from your pool. Dev finds you through the map listing and clicks to your site. He sees a different number. Both numbers ring the same phone in your office, and your call log records which number was dialed, so you know who came from where.

Two visitor sources route through different numbers to one office phone

The visitor notices nothing. The number looks like an ordinary local number, and it can match the visitor’s area. Call tracking platforms can show a local number based on location, down to the area code in the United States and Canada, which matters when your customers like to call a local business.

How DNI works, step by step

  1. A script goes on your site. It is a short piece of JavaScript added once, usually through your site’s header or a tag manager.
  2. The script reads the visit. It checks the source: the ad click, the campaign, the keyword where available, or the referring channel.
  3. A number from your pool is assigned. Each active visitor session gets a number, and it stays with that visitor while they browse.
  4. The page swaps the number. Anywhere your phone number appears, in the header, the contact page or a click-to-call button, the visitor sees the assigned number.
  5. The call is matched. When the number is dialed, the system ties the call back to the session and source, then forwards it to your real line.
  6. The number is recycled. When the session ends, the number goes back into the pool. DNI lets you recycle numbers that are not in use, which keeps the total number count down.

Dynamic vs. static tracking numbers

Both have a job. The difference is what you are measuring.

Static tracking number Dynamic number insertion
What it is One fixed number per channel or piece of media A pool of numbers shown per visitor session
Best for Direct mail, truck wraps, yard signs, billboards, print Website traffic from ads, search and social
Tells you Which channel or piece of media produced the call Which source, campaign and often keyword produced the call
Setup Print or publish the number Add a script and size a pool
Main limit Can’t show which keyword or online ad drove the call Works only where the script runs

Static numbers are simple and work well for brand recognition on a billboard or a mailer, while dynamic numbers support finer-grained measurement for digital marketing. DNI is mainly a digital tool, so the cleanest picture comes from combining it with static numbers for offline channels. If you run both online ads and direct mail, you will probably use both.

Why local service businesses should care

For a plumber, roofer, dentist or landscaper, the phone is the conversion. A form fill is nice, but the job gets booked on a call. Without call tracking, your reports show clicks and impressions, and the most important event happens off-screen.

Three practical gains follow.

You can compare channels honestly. If Google Ads produces 40 calls and Facebook produces 12, you still need to know how many were real jobs. DNI gets you to the first number reliably. Your call handling gets you to the second.

You can cut waste. Campaigns, ad groups or listings that never produce calls become visible. That is money you can move.

You can feed better data back into ads. Google lets you measure calls from ads so you can see how campaigns are working, invest more wisely and optimize toward business goals. The more accurate your call data, the better your bidding decisions.

Our own write-up on four DNI metrics that prove ads drove calls goes deeper on which numbers to put in your monthly report.

How DNI works with Google Ads

Google has built-in call tracking, and it is worth understanding before you add anything else.

With call reporting on, Google assigns a Google forwarding number to your ad. To measure calls from your website, you create a conversion action, set up the Google tag, and add the phone snippet to the pages where your number appears. The snippet replaces your business number with a Google forwarding number for visitors who came from your ads.

Two things to know:

  • Google’s numbers belong to Google. They can change or be reassigned, so they can be used only for call reporting and website call conversion tracking. You can’t print one on a van.
  • It covers Google Ads only. Calls from organic search, your Business Profile, Facebook or a directory listing are not attributed by that snippet. A broader DNI setup assigns numbers by every source, so your report shows the whole picture in one place.

If you run Google call ads, note that Google is retiring call-only ads in February 2027, so you should plan your migration before they go dark. Website call tracking becomes more important as campaigns shift toward formats that send people to your site or listing first.

If you are still setting your ad spend, our guide to a testable Google Ads budget shows how to size a 60 to 90 day test.

Getting the number pool right

The pool is the part most owners never think about, and it is where bad data comes from.

Each visitor on your site at the same time needs their own number. If the pool is too small, two people share a number. That’s a session collision, and the call may be credited to the wrong source. A pool that is too large costs you money for numbers you never use. Pool sizes should be reviewed as traffic grows, because an undersized pool is a quiet source of attribution errors.

A practical way to size it:

  1. Look at your busiest hour in analytics and count the concurrent visitors.
  2. Add a buffer for ad bursts, seasonal spikes (think furnace repair on the first cold week) and a new campaign launch.
  3. Recheck after any big change in spend.
  4. Keep a separate, fixed number for any source where DNI can’t run, like a printed mailer.

What DNI can’t tell you

Know the edges so you read the report correctly.

  • Callers who remember a number. If someone sees a tracking number, then calls later from a different device after the session has ended, attribution may be lost or reassigned.
  • Callers who skip your website. Someone who calls straight from a Google listing never touches the script. Use a tracking number on the listing itself, and keep it consistent with the rest of your profile. Our guide to Google Business Profile fixes covers that profile cleanup.
  • Call quality. A call is a call until you grade it. Duration, recordings and a short outcome tag (booked, quote, wrong number, vendor) turn raw volume into a sales signal.
  • Consistency of your business number. Keep your main number correct in your listings and citations. A tracking number on a listing is an advanced move and needs care so listings don’t conflict.

How to track phone call conversions from your website

Here is a workable setup for a small business. You can do it yourself or hand it off.

  1. Decide what counts as a conversion. Many owners pick any call over a set length, say 60 seconds, as a starting point. Then add an outcome tag for booked jobs.
  2. Turn on Google’s call reporting and website call conversion. Follow the official steps for the phone snippet and conversion action.
  3. Add a DNI source layer for everything else. Assign number pools by source: Google Ads, Facebook, organic search, direct, and email.
  4. Track click-to-call taps as well. On mobile, many people tap the number instead of dialing by hand. Make sure both actions are logged.
  5. Record and tag calls where the law allows. Recording rules vary by state, so confirm the notice you must give callers. Massachusetts, for example, has an all-party consent rule, so a recording notice at the start of the call is the careful move. Ask your attorney for your state.
  6. Review weekly for a month, then monthly. Look for a spike in missed calls, odd sources and sessions that look duplicated.

Call tracking vs. GA4

Google Analytics 4 can record phone interactions as events, such as a tap on a click-to-call link. That tells you a person tapped a number. It does not tell you the call connected, how long it lasted, or whether the person dialed by hand from a desktop screen. Call tracking records the actual call. Use GA4 for the web behavior leading up to the call, and call tracking for what happened on the line. They complement each other.

Measuring call tracking ROI

ROI from calls is not complicated if you keep the sums honest.

Cost side: ad spend, the call tracking fee, any agency fee, and the cost of the numbers in your pool.

Result side: qualified calls, booked jobs, and the revenue those jobs produced.

The sums:

  • Cost per qualified call = total cost for the source ÷ qualified calls from that source
  • Cost per booked job = total cost for the source ÷ jobs booked from those calls
  • Return = revenue from those jobs ÷ total cost for the source

Measurable ROI in call tracking includes counting qualified calls, such as calls that meet a duration threshold or are flagged high-quality by AI, and using that data to improve bidding strategies like Target CPA or ROAS. Google also notes that its AI can analyze call recordings to spot valuable leads rather than relying on duration alone. For a broader look at using quality signals to judge campaign performance, see this piece on call quality and Target CPA or ROAS bidding.

A worked example with made-up round numbers: you spend $1,500 in a month on one campaign and the tracking tool costs $100. That is $1,600 total. The campaign drove 50 calls, 30 were real prospects and 10 became jobs worth $800 each, or $8,000. Cost per qualified call is about $53. Cost per booked job is $160. Return is 5 to 1. If you only looked at the 50 raw calls, you would have seen $32 per call, which says nothing about whether the money was well spent.

Small businesses are often short on time, and research from BIA/Kelsey notes that time spent on poor-quality calls hurts productivity and profitability. Call tagging is how you find out which sources send the junk.

Perspective

Most owners we meet have never seen which ad made the phone ring. They see a monthly invoice and a vague sense that business is up or down. That is not a marketing problem, it’s a visibility problem.

We built call tracking into our work because we think a campaign you can’t measure is a campaign you can’t improve. You work directly with the owners here, not an account manager, so when a report shows that one campaign is doing the heavy lifting, you can talk to the people who can change it that week.

Our approach is simple: custom strategy for your trade, transparent reporting, and no long-term contract holding you in place. DNI is the part that makes the reporting believable, because it ties calls to sources instead of leaving you to infer.

Rich

Getting this set up without becoming a marketer

You can follow the steps above yourself, but most owners would rather answer the phone than debug a script. We handle call tracking and reporting as part of our done-for-you marketing, alongside Google Ads and the rest of our services, so calls are tied to the campaign that earned them and you see the results in plain reports.

Localleadgrowth

We serve local businesses in Massachusetts, New Hampshire, Maine, Vermont, Rhode Island and New York. Talk to us and you will speak with the owners, not a hand-off team. If you want to see how we think about turning calls into booked work, read our guide to qualifying phone leads in 15 seconds.

A quick checklist before you launch

  • Your real business number is still correct on your site’s footer, listings and Business Profile.
  • Every place the number appears on your site is covered by the script, including buttons and the mobile header.
  • The pool is sized for your busiest hour plus a buffer.
  • Calls are tagged by outcome, not just counted.
  • You tested it yourself: click your own ad, check the number you see, call it, and confirm the call shows the right source.
  • Your recording notice meets your state’s rules.

FAQ

What is the difference between static and dynamic numbers?

A static number is one fixed number that every visitor sees, usually assigned to one channel such as a mailer or a van. A dynamic number changes by visitor, based on the source of the visit. Static is simple and good for offline media. Dynamic tells you which online ad, keyword or listing produced a call.

Does DNI change the phone number customers see on my website?

Yes, but only the number displayed to that visitor. Your real business number is not replaced in your records or your listings. The tracking number forwards calls to your regular line, so you answer the phone the same way you do now.

Can I track calls from Google Ads without a separate call tracking tool?

Yes, for Google Ads. You can set up website call conversion tracking with a conversion action, the Google tag and the phone snippet. It won’t attribute calls from organic search, Facebook or directories, so businesses that want one report across channels add a broader DNI setup.

How many tracking numbers does a small business need?

It depends on how many visitors are on your site at the same time, not on how many you get per month. Size the pool for your busiest hour plus a buffer, and review it as traffic grows. Too few numbers cause collisions that muddy attribution, and too many cost you money.

Sources

Share this article 𝕏 f in
Local Lead Growth
More Leads.More Reviews.More Profits.

Lead generation and AI Lead Capture for local businesses across New England. Work directly with the owners.

Google PartnerMeta Business Partner

Services

Company

Get in touch

  • (508) 715-3004
  • info@localleadgrowth.com
  • 11 Robert F Toner Blvd #5-328
    North Attleborough, MA 02763
  • Monday – Saturday, 8am – 6pm
  • Serving all of New England: Massachusetts, Rhode Island, New Hampshire, Connecticut, Maine & Vermont
© 2026 Local Lead Growth LLC. All rights reserved.
Scroll to Top