Dynamic Number Insertion for Google Ads: How It Works
If you run Google Ads and your business gets a meaningful share of its leads over the phone, you have a measurement gap. Google can tell you which ad, keyword, and click sent a visitor to your site. What it cannot tell you, on its own, is which of those visitors picked up the phone and called instead of filling out a form. Dynamic number insertion (DNI) closes that gap.
This guide explains how dynamic number insertion works specifically in a Google Ads context: what it does, why it matters for paid search, how the setup connects to Google’s own tools, and how to avoid the common mistakes that leave you with incomplete data. It is written for marketers and business owners who already spend on Google Ads and want their phone calls counted with the same precision as their clicks.
What Is Dynamic Number Insertion in Google Ads?
Dynamic number insertion is a technique that swaps the phone number a visitor sees on your website based on how they arrived. Instead of showing one static number to everyone, a small script detects the source of each visit and displays a unique tracking number tied to that source.
In a Google Ads context, that means a visitor who clicked a paid search ad sees a different tracking number than someone who arrived from organic search or typed your URL directly. When the paid-search visitor calls, the system knows the call came from Google Ads, and it can often trace it all the way down to the exact campaign, ad group, and keyword.
The number the visitor sees still forwards to your real business line, so the caller experience does not change. The difference happens behind the scenes: each call is now tagged with the marketing data that produced it. If you want the broader mechanics, our explainer on dynamic number insertion walks through the concept in full. This post stays focused on the Google Ads angle.
Why Google Ads Needs DNI
Google Ads is built to optimize toward conversions. Its bidding algorithms get smarter the more conversion data you feed them. If phone calls are a major conversion type for your business but Google never sees them, you are optimizing on partial information.
Here is what that looks like in practice. Say a plumber runs two ad groups: one targeting “emergency plumber near me” and one targeting “plumbing quote.” The quote group generates lots of form fills, so Google sees it converting well and pushes budget toward it. But the emergency group generates almost no forms and lots of phone calls, because someone with a burst pipe calls rather than types. Without call data, Google thinks the emergency group is underperforming and starves it, even though it drives your most valuable jobs.
Dynamic number insertion fixes this by capturing those calls and, when connected properly, reporting them back into Google Ads as conversions. Now the algorithm sees the emergency group for what it really is: a high-value channel. This is the foundation of proper phone call attribution for paid search, and it is why serious advertisers treat call tracking as part of their Google Ads stack, not an afterthought.
How DNI Works With Google Ads Step by Step
The mechanics are simpler than they sound once you break them into stages.
1. You provision a pool of tracking numbers. Your call tracking provider assigns a group of phone numbers to your account. The size of the pool depends on your traffic. More simultaneous visitors need more numbers so that each active session can get its own unique number.
2. A script goes on your site. You add a small snippet of JavaScript to your website, usually through a tag manager. This script watches for incoming visitors and their source data.
3. The script reads the visitor’s source. When someone lands from a Google Ads click, the URL carries identifiers such as the GCLID (Google Click Identifier) and any UTM parameters you have set. The script reads these and assigns that visitor a tracking number from the pool.
4. The number swaps on the page. Every place your static number appears gets replaced with the assigned tracking number for that visitor’s session, all before they notice anything.
5. The call gets attributed. When the visitor calls, the system logs which number they dialed and matches it back to the click data captured at step three. Now the call is tied to a campaign, ad group, and often a keyword.
6. The conversion flows back to Google Ads. Because the GCLID was captured, the platform can send that call back into Google Ads as an offline conversion. Google now counts the call alongside your web conversions.
That GCLID capture is the piece that makes Google Ads attribution work end to end. If you are fuzzy on how that identifier differs from UTM tags, our breakdown of GCLID vs UTM clarifies which does what and why you often want both.
Do You Need Keyword-Level Tracking or Is Campaign-Level Enough?
It depends on how you manage your account and how granular your decisions are. Campaign-level tracking tells you which campaigns drive calls, which is enough if you make budget decisions at that level. Keyword-level tracking tells you which individual search terms produce calls, which matters if you optimize aggressively and want to bid up the exact queries that generate phone leads.
For most search-driven businesses, keyword-level data is worth the slightly larger number pool it requires, because phone-heavy keywords are often invisible in standard reporting. A keyword might generate few clicks but a high rate of calls, and without keyword-level tracking you would never know to protect its budget. If your account is small and you manage at the campaign level anyway, campaign-level DNI keeps things simpler and cheaper. Match the granularity of your tracking to the granularity of your decisions, and do not pay for detail you will never act on.
Connecting Call Conversions to Google Ads
Capturing the call is only half the job. To influence Google’s bidding, the call has to reach Google Ads as a conversion. There are a couple of ways this happens.
The first is Google’s own call conversion tracking, which uses a Google forwarding number to count calls from ads and from your website. This is built into Google Ads and works, but it is limited to Google-sourced calls and offers less depth than a dedicated tool.
The second, and more powerful, is importing calls from your call tracking platform as offline conversions using the captured GCLID. This lets you set your own rules for what counts as a conversion, for example only calls longer than 60 seconds or only calls tagged as qualified leads, and then send just those quality calls back to Google. The result is that Google’s algorithm optimizes toward calls that actually matter rather than every ring, including wrong numbers and hang-ups.
Our guide to Google Ads call conversion tracking covers the configuration in detail. The important takeaway is that DNI feeds the data, and the conversion import is what turns that data into better bidding.
Common Mistakes to Avoid
A few missteps show up again and again when businesses set up DNI for Google Ads.
Too small a number pool. If you have more concurrent visitors than tracking numbers, two people can end up sharing a number and your attribution breaks. Size the pool to your peak traffic, not your average.
Forgetting to preserve the GCLID. If your landing pages strip query parameters or your script does not capture the GCLID, you lose the link back to Google Ads. Test that the identifier survives from click to call.
Not filtering call quality. Sending every call to Google as a conversion trains the algorithm on noise. Set a duration threshold or use call tagging so only real leads count.
Ignoring the static number elsewhere. Your Google Business Profile, directory listings, and printed materials still use static numbers. DNI is for web traffic. Mixing the two up leads to confusion about what is being tracked. If you want a clear picture of when to use each, our comparison of static vs dynamic phone numbers sorts it out.
Putting It Together
Dynamic number insertion is the bridge between your Google Ads clicks and your phone calls. Without it, you optimize on half your conversions and hand budget to whichever campaigns happen to generate forms, even when your most valuable leads arrive by phone. With it, calls flow back into Google Ads as conversions, and the algorithm can finally see and bid toward the searches that make your phone ring.
Frequently Asked Questions
Does dynamic number insertion affect my Google Ads Quality Score?
No. DNI swaps a phone number on your website after the visitor has already arrived, so it happens well past the point where Quality Score is calculated. Quality Score is driven by expected click-through rate, ad relevance, and landing page experience, none of which are touched by which phone number appears on the page. Your ads and keywords are unaffected.
Will the tracking number confuse my callers or hurt my brand?
Callers rarely notice. The tracking number forwards to your real business line, so the person on the other end answers exactly as they always do, and the caller reaches you normally. The one thing to watch is consistency across sessions, but a properly sized number pool handles this so returning visitors generally see a stable number during their visit.
How is DNI different from Google’s built-in call tracking?
Google’s built-in call tracking uses forwarding numbers to count calls from ads and website visits, but it only covers Google-sourced calls and gives limited detail. DNI through a dedicated call tracking platform tracks calls from every source, ties them to the specific keyword and campaign, and lets you filter which calls count as conversions before importing them back into Google Ads for smarter bidding.
How many tracking numbers do I need for Google Ads DNI?
Enough to cover your peak concurrent visitors so no two people share a number at the same time. A low-traffic site might need a handful, while a busy account may need dozens. Most call tracking tools recommend a pool size based on your monthly sessions, and you can adjust it as traffic grows.
Track Every Google Ads Call the Right Way
If you spend on Google Ads and your phone rings, you owe it to your budget to know which ads make it ring. Dynamic number insertion captures that connection and feeds it back to Google so your bidding reflects the calls that drive real revenue, not just the clicks and forms you can already see. Explore how call tracking software sets up DNI and conversion imports for you, so you can spend more time optimizing campaigns and less time guessing where your calls came from.
Call Tracking Software for…
SEO & PPC
End the uncertainty of marketing campaigns with Analytic Call Tracking.
Try FREE for 15 daysNo credit card required. Cancel anytime.