Marketing Strategy & OperationsExplainer3 min readUpdated September 2026

How Dynamic Number Insertion Works for Call Tracking

Dynamic number insertion (DNI) is a script that swaps the phone number shown on your website for a tracking number, based on where the visitor came from. When that visitor calls, the system knows which source, campaign, or page brought them, and you can tie the call to marketing.

It works well when set up carefully, and it goes wrong in a few predictable ways, mostly around number pools, caching, and how your real number appears elsewhere.

Vendors Covered in this Article

Disclosure: We may earn a commission if you buy through some links on this page. It doesn't change what we recommend.

How does the number swap actually happen?

In outline, the process runs like this:

  1. Your call tracking vendor gives you a small script to place on your site, along with a pool of tracking numbers.
  2. When a visitor lands, the script reads where they came from, such as a campaign tag, a search click, or a referring site.
  3. It replaces the number shown in the designated places on the page with a tracking number assigned to that visitor's session or source.
  4. When the visitor calls, the system matches the incoming call to the number, then logs the source, the time, and often the landing page.
  5. Your reports show calls by source, and data can pass to your CRM or ad accounts.

CallRail and WhatConverts both offer this approach. Features and details differ, so confirm what your plan includes.

Source-level or session-level: which do you need?

There are two common designs:

  • Source-level numbers: one tracking number per channel, such as one for paid search and one for organic. It's simple and needs few numbers, but it can't tell you which individual visitor or keyword led to the call.
  • Session-level numbers: each visitor session gets its own number from a pool, so you can trace a call to a specific visit, page path, and keyword.

Source-level is often enough for a small business with a handful of channels. Session-level is worth it when you spend heavily on paid search and want to know which keywords and ads produce calls.

How big should the number pool be?

A session-level pool has to cover the number of visitors who might be on your site at once, plus the time a number stays reserved after someone leaves. If the pool runs out, visitors may see a default number and calls go unattributed.

Say your site averages a few dozen simultaneous visitors at its peak, and the platform holds each number for a set time after the session. You'd want a pool comfortably larger than that peak, with headroom for a campaign spike. Your vendor's dashboard usually shows pool usage, so watch it after big sends or ad launches and add numbers before you run short. Ask the vendor how they recommend sizing for your traffic.

What are the common pitfalls?

Watch for these:

  • Cached pages that show an old tracking number to new visitors, which misattributes calls.
  • Numbers in images or PDFs, which the script can't swap.
  • Click-to-call buttons and links that need the script to update them too.
  • Missing coverage, such as a number that appears in the footer but not the contact page.
  • Your real number showing up in search listings and directories that don't use the script. Keep the main business number consistent across your listings, and confirm with the vendor how they handle local search visibility.
  • Privacy and consent: the script uses cookies or session data, so make sure your consent banner and notices cover it. Healthcare practices face extra rules on what a tracking script may collect, so get legal advice first.

How does it fit with landing page tools and ads?

DNI pairs naturally with landing page personalization. Some landing page platforms also swap text or numbers to match the search keyword, as described in Unbounce Smart Traffic and dynamic text tools. If you use both, document which script controls the number so they don't conflict.

For ads, feed call outcomes back where the platform allows it, so bidding can learn from calls that turned into customers. If you sell products online and want to show trust signals to Google shoppers, see Google seller ratings requirements, which is a separate matter from phone tracking. To choose a vendor, compare features in WhatConverts vs CallRail vs CallTrackingMetrics.

Executive Capability Standard

What Good Looks Like

A good DNI setup swaps every visible and clickable number, has a pool sized for peak traffic, and keeps the main business number consistent everywhere else.

Building The Capability (5-Stage Skill Ladder)

1. Learn:Learn the difference between source-level and session-level tracking and how each shows up in reports.
2. Do Manually:Assign one tracking number per channel and place it on the matching landing pages and ads.
3. Delegate:Ask a web developer or marketing operations person to install the script and test every page.
4. Automate:Monitor pool usage and unattributed call share, with alerts before the pool runs out.
5. Buy:Subscribe to a call tracking platform that supports session-level numbers and CRM integration.

How to Get Started

Disclosure: We may earn a commission if you buy through some links on this page. It doesn't change what we recommend.

Frequently Asked Questions

Does dynamic number insertion hurt SEO?

It can if your real number is inconsistent across listings, since local search values consistent business details. Keep your main number in directories and listings, and ask your vendor how they handle search visibility.

How many tracking numbers do I need?

For source-level tracking, one per channel. For session-level tracking, enough to cover your peak simultaneous visitors plus the reservation time. Your vendor's usage reports help you size the pool.

Can DNI track calls from printed materials?

Not by swapping, since the script only works on web pages. For print or billboards, use a dedicated static tracking number tied to that piece.

What happens if the script fails to load?

Visitors see the default number on the page, and calls from those visits go unattributed. Keep the default number valid and answered, and monitor for a sudden drop in tracked calls.

About the numbers

This guide doesn't quote a sourced benchmark. Figures in it are estimates or general guidance, so check them against your own numbers.

Related Guides