Articles on: Dynamic Number Insertion (DNI)

DNI Script 101: What is Dynamic Number Insertion?

To set up your Dynamic Number Insertion (DNI) script, follow this guide: https://help.nimbata.com/en/article/how-to-install-and-configure-your-dni-script-1vrata9/


Defining Dynamic Number Insertion (DNI)


Dynamic Number Insertion (DNI) is a JavaScript tracking script that you install on your website. It dynamically replaces your business phone number with a Nimbata tracking number based on the visitor’s session and traffic source.


When a visitor lands on your website, a tracking number from your available number pool is temporarily assigned to that session. The visitor continues to see the same number while browsing. Once they leave the site, the number becomes available for another visitor.


Now you can accurately attribute incoming calls to their respective marketing sources, campaigns, ads, and keywords.


How does DNI differ from source-based tracking?


Nimbata supports both session-based tracking (DNI) and source-based tracking.


1. Source-based tracking:

  • A fixed tracking number is assigned to a specific marketing source (e.g. Google Ads, Facebook).
  • All visitors from that source see the same number.
  • Attribution is available at the channel or campaign level.


2. Dynamic Number Insertion (DNI):

  • Tracking numbers are assigned dynamically per visitor session.
  • Attribution can include source, medium, campaign, keyword, and landing page.
  • Enables more granular reporting when multiple visitors are on the site at the same time.


How many tracking numbers do I need for DNI?


The number of tracking numbers required for Dynamic Number Insertion depends on your website’s traffic and the average duration of visits.

Nimbata provides a tracking number pool calculator to help you determine the recommended number of tracking numbers needed to ensure accurate call attribution.


FAQ on getting started with Dynamic Number Insertion (DNI)


Using DNI, you can better understand how website traffic translates into phone calls. For example:


  • Which marketing channels are driving calls?
  • Which campaigns or keywords generate phone leads?
  • Are calls coming from mobile or desktop visitors?
  • When do calls occur most frequently?
  • Which landing pages lead to calls?
  • Are calls from new or returning visitors?
  • How many touchpoints occur before a call?

Call data can also be combined with outcomes (such as tags, call duration, or CRM integrations) to evaluate lead quality and campaign performance.


  1. Which marketing channels are driving calls?

Marketers can determine which specific marketing channels, such as online ads, SEO, social media, or email campaigns, are driving the most phone calls. This insight helps allocate resources effectively to the most impactful channels.


  1. What keywords or ad variations trigger calls?

Call tracking allows marketers to identify which keywords or ad variations are prompting phone calls. This helps refine keyword targeting and optimize ad campaigns for better results.


  1. Are calls resulting from mobile or desktop visitors?

Marketers can distinguish whether the majority of calls are coming from mobile or desktop visitors. This information aids in tailoring mobile and desktop experiences to better serve user needs.


  1. When do calls occur most frequently?

Call tracking reveals the time of day, day of the week, and specific periods when calls are most common. This data assists in scheduling ad campaigns, optimizing staffing for call centers, and delivering timely customer support.


  1. Which pages and content lead to calls?

Marketers can identify the pages and specific content that users engage with before making a call. This helps optimize website content and user journeys to encourage more conversions.


  1. How effective are different click-to-call CTA placements?

Call tracking allows you to add custom parameters so that you can track every minor detail of your phone calls. In this case you can add parameters to your different click-to-call ctas to see what works better for you (e.g. cta on header, in the middle of the page or footer) This knowledge guides cta placement decisions for maximum impact.


  1. Are calls converting into sales?

Call tracking can reveal whether calls generated from specific marketing efforts are translating into valuable outcomes such as sales, appointments, or other conversions.


  1. What is the quality of phone leads?

Call tracking data, including call recordings and metadata, can help you assess call quality and understand how conversations impact conversions.


  1. Which marketing touchpoints influence callers?

Marketers can assess which combination of touchpoints across different channels lead to the most calls. This holistic understanding informs multi-channel marketing strategies.


  1. What’s the ROI of marketing campaigns?

By correlating call data with sales data, marketers can calculate the return on investment (ROI) of various marketing campaigns and efforts.


  1. How can call handling be improved?

Call tracking data provides insights into call duration, call routing, and the quality of conversations. Marketers can identify areas for improvement in call handling and training.


  1. Are callers new or returning customers?

Call tracking enables marketers to distinguish between new callers and those who have interacted with the business before. This insight helps tailor marketing strategies to cater to both types of customers.


  1. How many calls does it take to close a sale?

Call tracking data can reveal the average number of calls it takes for a lead to convert into a sale. This information assists in understanding the typical customer journey and refining strategies to shorten the sales cycle.


  1. How many touchpoints lead to a sale?

Marketers can determine the number of touchpoints across different channels (such as website visits, emails, and ads) that a potential customer interacts with before making a purchase. This insight guides the design of effective multi-touchpoint campaigns.


  1. Which actions/campaigns generate the highest-value leads?

Call tracking enables marketers to discern not only which actions or campaigns are generating the most leads, but also which ones are yielding the highest-value leads. This distinction is crucial in prioritizing efforts towards strategies that result in leads more likely to convert into valuable outcomes, such as sales or long-term customer relationships.



Updated on: 13/03/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!