Google Tag Manager call tracking template

Add Nimbata's number swap to your site from Google Tag Manager, with no raw script, and tie each call to the visitor's source and campaign.

Find Nimbata in the Tag Manager Template Gallery

Google Tag Manager call tracking integration

What is Google Tag Manager call tracking with Nimbata?

Nimbata has an official template in Google Tag Manager's Community Template Gallery, Nimbata Call Tracking. Add it as a tag, paste your DNI ID, and it loads Nimbata's tracking code on every page, with no raw script to paste.

The tag loads Nimbata's dynamic number insertion script, which swaps your site's phone number for a tracking number tied to how the visitor arrived. Every call then reaches Nimbata with its source, campaign and click, ready for call tracking reports, workflows and the rest of your integrations. If your site runs on WordPress, the WordPress plugin does the same.

From Google Tag Manager

Into Nimbata

  • Number swap

    Your site's phone number, A Nimbata tracking number

  • The visit

    Source and medium, Campaign and click ID, Landing page

  • The call

    Caller, Duration

Tag

NimbataNimbata Call Tracking template

Every page

Tag

Tag type
Nimbata Call Tracking
Dynamic number insertion ID
Your DNI ID

Firing

Trigger
Page View - DOM Ready
Tag firing options
Once per event

On the page

Shown to the visitor
+1 312 555 0148
Your number
Replaced for this visit

In Google Tag Manager

One tag, every page

Your container in Google Tag Manager, with the Nimbata tag beside your other tags. Everything numbered is what Nimbata's template adds.

Tags

NameTypeFiring TriggersLast Edited
Nimbata1Nimbata Call TrackingDOM Readya few seconds ago
GA4 ConfigurationGoogle TagAll Pages3 days ago
Conversion LinkerConversion LinkerAll Pages3 days ago

Nimbata

Tag Configuration

Tag type
Nimbata Call Tracking
Dynamic number insertion ID
1234562
Version Number
1
Tag firing options
Once per event

Triggering

Firing Triggers
DOM Ready · Page View - DOM Ready3
  1. 1Official template

    From the Community Template Gallery.

    Add Nimbata Call Tracking as a tag type. There's no raw script code to paste.

  2. 2Your DNI ID

    One field to fill.

    Copy your DNI ID from Tracking > Tracking Code in Nimbata and paste it into the tag.

  3. 3Every page

    Fired on every page load.

    Trigger it on all DOM Ready events, once per event, and the number swap runs on every page.

On your site

The same page, a different number for each visitor

The tag loads Nimbata's script on every page. The script then shows each visitor a number from their source's pool, in your text and in your phone links.

From Google Ads, sees (312) 555-0148 in place of (312) 555-0100
From Facebook, sees (312) 555-0163 in place of (312) 555-0100

Loaded by the Nimbata tag

// Nimbata Call Tracking template
injectScript('https://cdn.dni.nimbata.com/'
  + dniID + '.min.js?v=' + version);
Google Tag Manager loads the script when the page is ready. In Preview mode, the tag logs the script's address to the console.

What you can do with Google Tag Manager

Number swap without touching your site's code. Add the template, paste your DNI ID, and publish.

  1. 01An official template

    Nimbata Call Tracking is in Google Tag Manager's Community Template Gallery. Add it to your workspace in a few clicks.

  2. 02One field to fill

    Paste the DNI ID from Tracking > Tracking Code in Nimbata. The template checks it's a number.

  3. 03Fired on every page

    Trigger the tag on every page view once the page is ready, once per event.

  4. 04Swap in a tracking number

    Visitors see one of your Nimbata tracking numbers where your site shows its phone number.

  5. 05Every call tied to its source

    Because the number is tied to the visit, the call arrives in Nimbata with the source, campaign and click that brought the visitor in.

How it works

Add Nimbata to Google Tag Manager in three steps

Before you start, set up dynamic number insertion in Nimbata and click Save & Publish.

  1. Add the Nimbata template

    In Google Tag Manager, click Add New Tag, choose a tag type from the Community Template Gallery, search Nimbata and add Nimbata Call Tracking to your workspace.

    1Add

  2. Paste your DNI ID

    In Nimbata, copy the DNI ID from Tracking > Tracking Code, and paste it into the tag's Dynamic Number Insertion ID field.

    2Connect

  3. Trigger it and publish

    Under Advanced Settings, fire it once per event, trigger it on all DOM Ready events, then save and submit your workspace. Place a test call to check.

    3Publish

Customers

Trusted by marketers who need better attribution

Teams use Nimbata to see which calls make money and to settle questions about lead quality.

  1. 50%More conversionsnovi.digital

    Portrait of Aaron CreweAaron CreweFounder & Managing Director, Novi.Digital

    “With Nimbata, we can see which phone calls make money and reinvest away from the ones that don’t.”

    Discover their strategy

  2. 4.5xGrowthService24

    Portrait of Stefan MitrovicStefan MitrovicPerformance Marketer, Service24

    “Before Nimbata, everything was manual CPC. Every day was a new battle. Now, the algorithm knows exactly which jobs bring more money.”

    Discover their strategy

  3. 200+Phone conversions a monthSkyleads

    Portrait of Vasileios SpanoudakisVasileios SpanoudakisFounder, Skyleads

    “When clients question lead quality, I just play the call recording. No more debate.”

    Discover their strategy

Rated 4.7 on G2

Read G2 reviews

Everything you need to know about Nimbata + Google Tag Manager

What does the Nimbata Google Tag Manager template do?

It loads Nimbata's dynamic number insertion script on your site from Google Tag Manager. The script swaps your site's phone number for one of your Nimbata tracking numbers, so each call is tied to the visitor's source and campaign.

Where do I find the template?

In Google Tag Manager's Community Template Gallery. Click Add New Tag, then Choose a tag type, then Discover more tag types in the Community Template Gallery, and search Nimbata. The template is called Nimbata Call Tracking.

Is the template free?

Yes. It needs an active Nimbata account, and number swap is on the Pro, Marketing and Agency plans, and the 14-day free trial. See pricing for everything else each plan includes.

What do I need before adding the tag?

Set up dynamic number insertion in Nimbata and click Save & Publish. Then you'll have the DNI ID the tag needs.

Where do I find my DNI ID?

In Nimbata, under Tracking > Tracking Code. It's the number in your tracking script's address.

Which trigger should the tag use?

A Page View - DOM Ready trigger that fires on all DOM Ready events, with the tag's firing option set to Once per event. The tag then fires on every page load.

How do I check it's working?

Save the tag, submit your workspace and place a test call. In Google Tag Manager's Preview mode, the tag also logs the address of the script it loads to the console.

Do I need Tag Manager to use Nimbata?

No. You can paste Nimbata's tracking code before the closing body tag of your pages, or use the WordPress plugin. The template does the same from Google Tag Manager, with no raw script to paste.

My site has a Content Security Policy. What do I allow?

Add cdn.dni.nimbata.com to script-src and dakvo8z10w4va.cloudfront.net to connect-src, so the script can load and swap your numbers.

What happens to the calls?

Each call to a tracking number is logged in Nimbata with the visit behind it. From there, Nimbata's workflows can send it to your CRM, your ad platforms and the rest of your integrations.

Still unsure? Talk to a human

Your next call starts with one tag.

Add the Nimbata template to Google Tag Manager and tie every call to the visit that brought it in.

  • 14-day free trial, no credit card
  • Billed per answered call
  • 24/7 expert support
  • No long-term contracts

Nimbata + Google Tag Manager

Part of Integrations
Opening the chat stores a cookie to keep your conversation.