Back to guides

Installation Guide

Install Call Tracking with Google Tag Manager

Step-by-step guide to installing Enfonica Call Tracking using Google Tag Manager. No developer required.

Before You Start

This guide assumes you already have Google Tag Manager (GTM) installed on your website. If you don't, you'll need to set that up first.

What You'll Need:

  • Access to your Google Tag Manager account
  • Your Enfonica Tracking ID (found in your dashboard)
  • 5-10 minutes

Installation Steps

1

Log into Google Tag Manager

Go to tagmanager.google.com and select the container for your website.

2

Create a New Tag

Click TagsNew. Name it "Enfonica Call Tracking".

3

Choose Custom HTML Tag Type

Click Tag Configuration and select Custom HTML from the list.

4

Paste the Tracking Code

Copy the tracking code from your Enfonica dashboard and paste it into the HTML field.

<script>
  (function(w,d,s,l,i){
    w[l]=w[l]||[];
    w[l].push({'enfonica.start': new Date().getTime()});
    var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s);j.async=true;
    j.src='https://cdn.enfonica.com/tracking.js?id='+i;
    f.parentNode.insertBefore(j,f);
  })(window,document,'script','enfonicaLayer','YOUR-TRACKING-ID');
</script>
5

Set the Trigger

Click Triggering and select All Pages. This ensures the tracking code loads on every page.

6

Save and Publish

Click Save, then Submit to publish your changes. Add a version name like "Added Enfonica Call Tracking".

7

Verify Installation

Visit your website and check that phone numbers are being swapped. You can use GTM's Preview mode to verify the tag is firing.

Troubleshooting

Numbers aren't being swapped?

Check that the tag is firing on all pages using GTM Preview mode. Verify your Tracking ID is correct. Make sure phone numbers on your site use the correct HTML format.

Tag shows as "fired" but nothing happens?

This usually means the tracking pool needs to be activated. Check your Enfonica dashboard to ensure you have tracking numbers provisioned and active.

Getting JavaScript errors?

Make sure there are no conflicting scripts on your site. The Enfonica script is designed to work alongside other tracking tools without conflicts.

Need Help with Installation?

The documentation has the full install steps, a verification checklist and troubleshooting: Install with Google Tag Manager and Troubleshoot number swapping.

Our support team can help you get set up in minutes.