CALLMATRIX
Features
Industries
Pricing
Compare
How It Works
Blog
About
Log inRequest a demoGet started
HomeBlogRouting & Reliability
Routing & Reliability

How DNI Tracks the Offline Journey From Click to Call

A static phone number on a website is an attribution black hole. DNI lets you see exactly where your callers come from.

CallMatrix Team·January 5, 2026·12 min read
(512) 555-0148555-0131555-0148 ●555-0163Number pool
On this page
  1. How DNI works: the number pool
  2. Source-level vs. session-level tracking
  3. Setup and SEO impact
  4. Debugging DNI: the five most common failures

If your ads send people to a landing page with one static phone number, you have an attribution problem.

You may know 50 people called today. You can't tell which calls came from your high-intent "emergency plumber" keyword and which came from a generic organic search. DNI fixes this by treating your phone number as a variable.

The idea is simple: show each visitor a different number. The engineering is not. You need four things to work together.

First, a number pool big enough never to run out at peak. Second, a session store that links each number to the visitor's attribution data (UTMs, gclid, referrer). Third, a script that swaps the number before the visitor sees the page. Fourth, a phone-side link that ties each inbound call back to its session.

Get any of those wrong and your attribution looks fine while being quietly broken.

How DNI works: the number pool

CallMatrix uses a number pool. When someone visits your site, the script gives them a number from your pool.

That number is leased to the visitor for their session. If they call, CallMatrix knows who they are, because only they can see that number right now.

The lease lifecycle matters more than most operators realize. In CallMatrix a number stays with the visitor for a sticky window.

When the number is released, it sits out a cooldown before anyone else sees it. A call that comes in a little after the visit still goes to the right visitor. Both settings are per pool.

That cooldown separates production-grade DNI from simple setups that misattribute late calls.

Sizing your number pool

A common mistake is a pool that is too small. With 50 visitors on the site at once and only 5 numbers, attribution gets fuzzy. A rule of thumb: make your pool a quarter of your peak hourly concurrent traffic to keep attribution accuracy around 99%.

Do the math for your own site. Find your peak hourly concurrent visitors in Google Analytics (the real-time view) and divide by 4. That is your minimum pool size for 99% attribution accuracy.

Double it if you run several campaigns or landing pages that need separate numbers. Triple it for seasonal spikes, like tax season for accountants or open enrollment for insurance. Numbers are cheap. Missed attribution isn't.

Source-level vs. session-level tracking

Source-level tracking uses one number for all Google Ads traffic and another for Facebook. It's good enough for broad budgeting.

Session-level tracking is the gold standard. It gives every visitor their own number, so you can attribute calls by keyword, device and landing page.

Session-level tracking is where the real ROI is. Your call log can answer questions a spreadsheet never could.

Which landing page variant converts best? Which search keyword brings the buyers? Do returning visitors call more or less? Should mobile and desktop get different bids?

For a mid-sized marketplace, each answer can be worth tens of thousands in reallocated ad spend per quarter.

Setup and SEO impact

Many marketers worry that DNI will hurt local SEO or their NAP (name, address, phone) consistency. CallMatrix DNI swaps numbers with JavaScript.

Search engine crawlers see your main static number, which protects your SEO. People see the dynamic number, which protects your attribution.

The order of events matters. The script swaps the marked phone numbers as the page loads. Crawlers that don't run JavaScript see the static number in the HTML.

CallMatrix also recognises known crawlers that do run JavaScript and shows them the static number too. Search engines and link preview bots never take a number from your pool.

DNI Implementation Snippet

<!-- Copy the snippet from your campaign page -->
<script src="https://app.callmatrix.io/api/callmatrix/dni/snippet.js?campaign=CAMPAIGN_ID"></script>

<!-- Mark each phone number the script should swap -->
<a class="cm-dni-number" href="tel:+18005550100">(800) 555-0100</a>

Debugging DNI: the five most common failures

1. Pool exhaustion. Calls go to the wrong session because the pool recycled numbers too fast. Fix: make the pool bigger and lengthen the cooldown.

2. Click-to-call on mobile isn't tracked. The `tel:` link skips the number swap and calls the static number. Fix: add a click handler to `a[href^='tel:']` that sets the href to the leased number first.

3. The selector breaks after a template change. The swap fails silently when the marked element (for example `.cm-dni-number`) is gone. Fix: check for it in the callback, and alert when no element matches in more than 5% of sessions.

4. iframes. The DNI script doesn't run inside embedded iframes, like chatbots or embedded forms. Fix: make sure the parent page's number is the one people call. Anything inside an iframe should use its own callback flow.

5. Stale CDN cache after a pool change. Visitors keep calling a number that was removed from the pool. Fix: clear the CDN cache on every pool change, and confirm `Cache-Control: max-age=0` on the tracker script.

Quarterly audit

Once a quarter, take a random sample of 100 inbound calls. Check each call's attributed keyword or source against its real landing page referrer. If more than 2% are wrong, tune your pool or cooldown. Most operators never run this check. It catches slow drift before it spoils a whole quarter of data.

TopicsDNICall TrackingVisitor Journey

← All posts

On this page

  • How DNI works: the number pool
  • Source-level vs. session-level tracking
  • Setup and SEO impact
  • Debugging DNI: the five most common failures

Stop leaving revenue on the table.

See how CallMatrix routes, qualifies and monetizes every call.

Get started→Request a demo
Keep reading

Related guides

CallpingBuyer A$38Buyer B$44Buyer C$51 ✓POSTCall transferred
Revenue & YieldNov 13, 2026·5 min read

What Is Ping Post? How Ping-Post Bidding Works for Calls and Leads

Ping post is a two-step auction: buyers bid on a short summary, and only the winner gets the lead or the call. Here is how it works, and what changes for calls.

Read →
15%Revenue share$50 per leadPaid on outcome
Revenue & YieldApr 5, 2026·17 min read

Stop Selling Leads and Start Sharing Revenue With Outcome-Based Partnerships

The biggest marketplaces are swapping $50 lead fees for 15% revenue shares. Here is the setup you need to move to a true outcome-based model.

Read →
Cost per customerCall signal sent to GoogleGoogleMeta
Revenue & YieldMar 26, 2026·14 min read

The Algorithm Hijack: Using Call Signals to Get Google and Meta to Lower Your CAC

Ad algorithms optimize for the data you give them. Here is how to shape your offline conversion signals so Google and Meta find your highest-paying callers.

Read →

Ready to route smarter?

See how CallMatrix handles the full visitor-to-revenue journey end to end.

Get started→Request a demo
View pricing →
CALLMATRIX

The all-in-one call routing and monetization platform. Route smarter. Earn more. Every call.

[email protected]

Product

FeaturesPricingHow It WorksGet StartedRequest DemoCompareAlternatives

Solutions

InsuranceLegal ServicesHome ServicesHealthcareFinancial ServicesEducationStates

Resources

BlogGlossaryDocumentationIntegrationsPartnersStatus

Company

AboutContactPrivacy PolicyTerms of Service

CallMatrix is a pay-per-call routing and monetization platform. It is built for performance marketers, lead gen agencies and call networks in the United States.

Callers answer a short IVR first. Buyers then bid on each call in a real-time ping-post auction, and the best bid wins.

CallMatrix uploads each conversion back to Google Ads, so you can see which clicks turned into paid calls.

Based in the US, CallMatrix serves insurance, legal services, home services, healthcare, financial services and education.

© 2026 CallMatrix. All rights reserved.
PrivacyTermsStatus