Once your DNI script is published, it has to load on every page of your website. Pick the method that fits how you manage your site: paste the script into your HTML, use the Nimbata WordPress plugin, or add the Nimbata template in Google Tag Manager.

Install with HTML

Use this method if you manage your site’s HTML directly and don’t use WordPress or Google Tag Manager.

Before you start:

  1. Copy your script

    • Go to Tracking › Tracking Code.
    • Copy the script tag shown on the Attribution script card at the top of the page: click Copy.

    It will look like this:

    <script type="text/javascript" src="//cdn.dni.nimbata.com/XXXXXX.min.js"></script>

    Tracking Code

    The script that swaps numbers on your website and attributes visitors to calls.

    Attribution scriptJavaScript
    1<script type="text/javascript" src="//cdn.dni.nimbata.com/455510.min.js"></script>
    Paste this as the last item before the closing </body> tag on every page you want calls and forms tracked from.
    Your script sits on the Attribution script card. Click Copy (1) to copy it.
  2. Paste it into your site

    Add the script just before the </body> closing tag in the footer of every page on your site.

    Note

    Make sure the script loads after your Google Analytics script.

🎉 That’s it. Place a test call to confirm it’s working.

Troubleshooting: Numbers not swapping

Install with WordPress

Use this method if your site runs on WordPress. The Nimbata plugin handles script placement automatically; no manual HTML editing needed.

Before you start:

  1. Install and activate the plugin

    In your WordPress admin:

  2. Find your DNI ID

    • Go to Tracking › Tracking Code in Nimbata.
    • Copy the DNI ID (the numeric value highlighted in green in the script tag).
    Attribution scriptJavaScript
    1<script type="text/javascript" src="//cdn.dni.nimbata.com/4555101.min.js"></script>
    Paste this as the last item before the closing </body> tag on every page you want calls and forms tracked from.
    The DNI ID is the green value in the script tag (1).
  3. Enter your DNI ID in WordPress

    In your WordPress admin:

    • Go to Settings > Nimbata.
    • Paste your DNI ID into the Nimbata DNI ID(s) field.
    • Click Save Changes.

🎉 The plugin will now load the script on every page. Place a test call to confirm it’s working.

Troubleshooting: Numbers not swapping

Install with Google Tag Manager

Use this method if your site uses Google Tag Manager (GTM). Nimbata has an official template in the Community Template Gallery, so no raw script code is needed.

Before you start:

  1. Add the Nimbata template from the Community Template Gallery

    In your GTM workspace:

    • Click Add New Tag.
    • Give it a name (for example, “Nimbata”).
    • Click Choose a tag type.
    • Select Discover more tag types in the Community Template Gallery.
    • Search for Nimbata.
    • Click Nimbata Call Tracking.
    • Click Add to workspace > Add.
  2. Enter your DNI ID

    • Go to Tracking › Tracking Code in Nimbata.
    • Copy the DNI ID highlighted in green in the script tag.
    • Back in GTM, paste it into the Dynamic Number Insertion ID field.
    Attribution scriptJavaScript
    1<script type="text/javascript" src="//cdn.dni.nimbata.com/4555101.min.js"></script>
    Paste this as the last item before the closing </body> tag on every page you want calls and forms tracked from.
    Copy the DNI ID, the green value in the script tag (1), and paste it into GTM.
  3. Set firing options and trigger

    Under Advanced Settings:

    • Set Tag firing options to Once per event.
    • Create a new trigger.
    • Select Page View - DOM Ready.
    • Set it to fire on All DOM Ready events.
  4. Save and publish

    Save the tag and submit your GTM workspace changes.

🎉 The tag will now fire on every page load. Place a test call to confirm it’s working.

Troubleshooting: Numbers not swapping