What is DNI?
DNI stands for Dynamic Number Insertion. It is the technique that makes phone calls traceable. Instead of showing the same phone number to every visitor, DNI swaps the number in real time based on where the visitor came from. A paid Google Ads visitor sees one number. An organic search visitor sees another. An email visitor sees a third.
When the visitor calls, the receiving system records which tracking number was dialled and links the call back to the session, the source, and the marketing campaign that drove it. From that moment, a phone call is a first-class touchpoint alongside page views and form fills.
How DNI works
- 1 Visitor lands on the site. Attriqs' tracker fires, reading UTM parameters, the referrer, and stored first-party session data.
- 2 Source is classified. The visit is matched against configured rules: paid vs organic, channel, campaign, medium. A tracking number is assigned for this session.
- 3 Numbers on the page swap. Elements with
[data-attriqs-phone],a[href^="tel:"], or any configured CSS selector are rewritten with the tracking number. Visually identical; under the hood, attributable. - 4 Call is placed and routed. The visitor dials the tracking number, the call routes through the provider to your real business line, and the call event is recorded with duration and metadata.
- 5 Call joins the journey. The call is stitched to the original session, feeding into every multi-touch model as a bona fide touchpoint. Qualified calls can automatically become conversions.
Why call tracking matters
For many businesses, the phone is still how customers close. Services, healthcare, legal, dealerships, home services, B2B: calls often precede the sale, and often the entire sale happens on the call. Without tracking, those calls are invisible to every attribution system.
The consequence is that channels which drive phone conversions look weaker than they are. Paid search for local services, for instance, often shows weak digital ROAS while driving a huge share of phone revenue. Without DNI, you optimise against the wrong number.
Typical blind spot
In industries where calls drive conversion, roughly 30 to 50 percent of converted customers have a phone call somewhere in their journey. Ignoring those touchpoints means optimising digital marketing against half the story.
Number pools vs dedicated numbers
Number pools
A small pool of numbers is dynamically assigned to visitors as they arrive. One visitor session = one pool number for the session window. Scales to large traffic volumes because numbers recycle.
Best for: online-driven traffic, mid and large sites, session-level attribution.
Dedicated numbers
A number is permanently assigned to one campaign or source. No rotation. Every call to that number is attributed to its fixed source, even months later.
Best for: offline campaigns (print, radio, podcast, billboard), low-volume static placements, vanity-number scenarios.
Linking calls to attribution journeys
DNI on its own just tells you which source drove a call. Attribution is what turns that single data point into part of a journey. Attriqs links each call back to the session, stitches that session into the user's broader journey via identity resolution, and feeds the call as a touchpoint into every multi-touch model. The result is that calls become fully first-class alongside page views and form submissions.
Qualified calls (for example, longer than 60 seconds) can be automatically marked as conversions, populating the transactions table as call_conversion. Revenue you assign to calls then flows through every dashboard, report, and mix model. For the broader picture of how touchpoint type fits into attribution, read channel vs campaign vs keyword attribution.
DNI and chat attribution
Chat conversations are the other big offline-feeling touchpoint. Attriqs auto-detects eight chat platforms (Intercom, Drift, HubSpot, Zendesk, Crisp, Tawk.to, Tidio, LiveChat) and attributes chat events to the same sessions and journeys DNI uses for calls. No manual integration required.
For a business whose typical customer picks up the phone or opens a chat before buying, DNI plus chat auto-detection closes the biggest gap in most attribution setups.
Industries where DNI is critical
Home services
Plumbers, electricians, HVAC, roofing. Nearly all jobs are quoted and booked on the phone. Without DNI, paid search for local services looks weaker than it is.
Healthcare and dental
Appointment booking almost always happens by phone. Patient acquisition attribution is impossible without call tracking.
Legal
Case intake is phone-first. The difference between a high-intent and low-intent caller can be thousands of dollars of LTV.
Automotive
Dealerships convert through showroom visits and phone calls. Paid search drives both. DNI reveals which campaigns put bums in seats.
B2B services
Long sales cycles with multiple calls and demos. Every call is a measurable touchpoint in the journey.
Insurance and finance
Quote requests and policy renewals happen by phone. Call duration and outcome data add depth to the attribution picture.
How to set up DNI
- 1. Deploy the tracker. One script on every page that renders a phone number.
- 2. Provision numbers. A pool for digital traffic, dedicated numbers for offline campaigns.
- 3. Configure selectors. Most sites need no setup;
a[href^="tel:"]and[data-attriqs-phone]cover common patterns. Custom CSS selectors handle everything else. - 4. Define call rules. Minimum call duration to count as a conversion, which numbers map to which campaigns, which sources feed which pools.
- 5. Connect to your CRM (optional). Push qualified calls into your sales pipeline to close the loop between call and revenue.
- 6. Wait a week and audit. Check attribution matches call recordings and expected patterns. Tune pool size if numbers are being reused too aggressively.
Privacy and compliance
DNI itself uses a first-party identifier tied to a browser session. It does not rely on third-party cookies, so it is resilient to ITP, ETP, and Chrome's cookie changes.
Call recording, if enabled, carries stricter requirements. In most jurisdictions callers must be informed that the call is being recorded. Data retention, speech-to-text, and any post-call analysis should follow your documented privacy policy and local law. Attriqs never records calls by default; recording is a configurable option that ships disabled.
Frequently asked questions
What does DNI stand for?
DNI stands for Dynamic Number Insertion. It is the technique of swapping the phone number shown on a website based on the visitor's source, so that each call can be traced back to the specific marketing campaign that drove it.
How does DNI call tracking work?
When a visitor lands on your site, a small tracking script identifies their traffic source (UTM parameters, referrer, or direct). The script then replaces the website's phone number with a unique tracking number mapped to that source. When the visitor calls, the call is routed through the tracking provider to your real business line, and the source is recorded against the call. Attriqs' tracker handles DNI automatically using configurable phone selectors, so most sites need no manual markup to start attributing calls.
What is the difference between a number pool and dedicated numbers?
A number pool assigns one of a rotating set of tracking numbers to each visitor in real time, letting a small pool serve many sessions. Dedicated numbers are permanently assigned to a specific campaign or source. Pools scale better and attribute sessions with more precision; dedicated numbers are cheaper for single, fixed campaigns.
Does DNI affect SEO or call quality?
No. DNI swaps the phone number client-side after page load, so search engines continue to see and index the primary business number. Calls are routed through the provider in milliseconds, with no perceptible quality difference from calling the business directly.
Can DNI track calls from offline sources like print ads or podcasts?
Yes, by assigning dedicated tracking numbers to each offline campaign. A radio spot uses one number, a print ad another, a billboard another. Attribution is per-campaign rather than per-session, but it still reveals which offline channels drive phone conversions.
How accurate is DNI attribution?
For online-driven calls, DNI with a correctly sized number pool delivers very high accuracy: the number shown maps one-to-one to the visitor's session. Accuracy degrades only when the pool is too small for traffic volume (numbers get reassigned before a caller dials) or when visitors take unusually long to call.
Does DNI work with chat platforms like Intercom or Drift?
Chat platforms don't need number insertion. Attriqs auto-detects eight chat platforms (Intercom, Drift, HubSpot, Zendesk, Crisp, Tawk.to, Tidio, LiveChat) and attributes conversations to the same sessions and traffic sources DNI uses for calls. No manual integration is required; platform detection is built into the tracker.
Is DNI compliant with GDPR and call recording laws?
DNI itself is GDPR compatible because the identifier is first-party and tied to a session. Call recording, if enabled, carries its own compliance requirements including notice to callers. Always confirm recording and retention policies with the tracking provider and local law.