Skip to content

Google AdsPublished 14 min read

Call and Form Tracking for Lead-Gen Clients: Full Guide

How to track every form, embed, booking widget, phone call and chat as a lead, counted once, in Google Ads, GA4 and Meta.

Muhammad Qitmeer, founder of Augere Labs
Muhammad Qitmeer
Co-founder and CEO, Augere Labs
Share

Call and form tracking means recording every way a lead reaches a client, whether a form, an embedded widget, a booking, a phone call or a chat, as a conversion that fires once, on the real action. For lead-gen clients, that requires an inventory of every lead path, a success signal for each one, and a rule for which conversion counts so nothing is counted twice.

Key takeaways

  • Start with an inventory of every lead path on the site and off it. You cannot track what you have not listed.
  • Track forms on the success signal: a data layer push, the form tool's callback, or a real thank-you page. Never on a button click.
  • Calls need their own tracking: call assets, Google forwarding numbers on the site, or a call tracking tool with a minimum duration.
  • Click-to-call taps are a soft signal. Keep them secondary.
  • Test every path with a real submission or call, and write down what you tested.

This guide is for agencies running paid media for local and service businesses, where the lead arrives in the client's inbox or on their phone but often never reaches Google Ads, GA4 or Meta. It covers the inventory, forms of every kind, booking widgets, calls, chat, double counting, industry notes, testing and documentation.

Why do lead-gen clients need call and form tracking?

Bidding systems optimize toward what they are told is a conversion. If half the leads come by phone and only forms are tracked, the campaign learns from half the picture. If button clicks are counted as leads, it learns from people who never submitted anything.

Tracking alone does not create more leads. What it gives you is a count you can trust, so that budget decisions, client reports and automated bidding are based on what actually happened. That is the whole job: correct, tested, documented.

How do you inventory every lead path?

Before touching Google Tag Manager, walk the site like a prospect and list every way a person can become a lead. We use a simple sheet with one row per path.

PathWhereTechnologySuccess signalTracked today?
Contact form/contactWordPress form plugin, AJAXPlugin success eventButton click only
Quote formService pagesHubSpot embedHubSpot form eventNo
Exit popupSitewidePopup pluginPopup's submit callbackNo
Booking/bookCalendly inline embedEvent scheduled messageNo
Phone in headerSitewidetel: linkForwarding number callClick only
Calls from adsGoogle AdsCall assetsCall length over minimumCheck settings
Live chatSitewideChat widgetLead captured eventNo
Google Business Profile callsOff-siteGBPNot on the websiteOut of scope, note it

Ask the client too. They know about the second phone number on the trucks, the old landing page still running in a Meta campaign, and the form that goes to a different inbox. The inventory becomes part of the handover document.

Thank-you page or event-based form tracking?

There are two ways to know a form succeeded.

A thank-you page. After a successful submission, the site redirects to a URL that only loads on success. You fire the conversion on that page view. It is simple and robust against JavaScript changes. The downsides: people reload and bookmark it, it can be indexed, and a shared thank-you page for several forms loses the form type unless you pass it in the URL.

An event. The form stays on the page and shows a success message. The form tool fires a JavaScript event or callback, and you push it into the data layer. It handles AJAX, popups and embeds, and can carry useful parameters. It needs a little developer work or a known hook.

We default to the event approach for anything AJAX or embedded, and keep thank-you pages where they already exist and are used for one form each. What we never do is use GTM's click trigger on the submit button. A click on submit fires on failed validations, on spam and on double clicks.

How do you track AJAX forms and popups?

AJAX forms submit in the background and never load a new page. GTM's built-in form submission trigger often misses them because there is no standard browser submit event to listen for. The reliable route is to push to the data layer from the form's success callback.

Most popular WordPress form plugins and page builders expose a JavaScript success event. A developer, or a custom HTML tag in GTM that listens for it, pushes one event:

window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
  event: 'generate_lead',
  form_type: 'contact',
  form_id: 'contact_main',
  lead_path: 'form'
});

From that one push, a single Custom Event trigger can fire the Google Ads conversion tag, the GA4 generate_lead event and the Meta Lead event. For enhanced conversions, the same success moment is when you capture the email address for hashing; see our enhanced conversions setup guide.

Popups work the same way. Popup plugins usually have their own "form submitted" hook. Track that, not the popup opening.

Use GTM's form submission trigger only for classic forms that do a real browser submit, and turn on "Check validation" so it only fires when the form's own validation passes.

How do you track embedded and iframe forms?

Embedded form tools often render inside an iframe served from their own domain. The browser's same-origin rules stop GTM on the parent page from seeing anything inside it. You need the tool to tell the parent page that a submission happened. Most do, through postMessage or a JavaScript callback.

HubSpot forms

For HubSpot's legacy forms, HubSpot documents global form events that are sent to the page as browser messages. Listen for a message with type hsFormCallback and event name onFormSubmitted, which HubSpot fires after the submission has been saved:

window.addEventListener('message', function (e) {
  if (e.data && e.data.type === 'hsFormCallback' &&
      e.data.eventName === 'onFormSubmitted') {
    window.dataLayer = window.dataLayer || [];
    window.dataLayer.push({
      event: 'generate_lead',
      form_tool: 'hubspot',
      form_id: e.data.id
    });
  }
});

That listener is for HubSpot's legacy forms. Forms built in HubSpot's newer forms editor are documented separately and do not use hsFormCallback: they fire events on window, such as hs-form-event:on-submission:success, with the form ID in event.detail.formId. The equivalent listener looks like this:

window.addEventListener('hs-form-event:on-submission:success', function (e) {
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({
    event: 'generate_lead',
    form_tool: 'hubspot',
    form_id: e.detail.formId
  });
});

Check which kind of form the client uses, add the matching listener, and confirm with a test submission that the event fires once, only on success.

Typeform

If the form is embedded with Typeform's embed SDK, it provides an onSubmit callback that receives the form ID and response ID. Push to the data layer from there. A raw iframe without the SDK gives you no callback, so switch the embed to the SDK or use a redirect on completion to a thank-you page on the client's domain.

Jotform and others

Jotform embeds also communicate with the parent page, (Jotform support describes a submission-completed message), but that format is not in Jotform's developer documentation, so we would not rely on it without testing. The safest generic option for any form tool is a redirect after submission to a thank-you page on the client's own domain, with the form type in the URL. Then you track that page view as above.

Whatever the tool, check the message origin in your listener so another iframe on the page cannot fake a lead, and confirm the event fires once per submission, not once per step of a multi-step form.

How do you track booking widgets like Calendly?

A booking is usually the highest-intent lead on the site. Calendly's inline and popup embeds send events to the parent window with postMessage, including calendly.event_scheduled when the booking is confirmed:

window.addEventListener('message', function (e) {
  if (e.origin === 'https://calendly.com' &&
      e.data && e.data.event === 'calendly.event_scheduled') {
    window.dataLayer = window.dataLayer || [];
    window.dataLayer.push({
      event: 'book_appointment',
      booking_tool: 'calendly'
    });
  }
});

Calendly's help center notes that a plain iframe does not support this event tracking, so use their embed code. Calendly's other messages (profile page viewed, event type viewed, date and time selected) are useful as funnel events but not as conversions.

Other schedulers, including the booking tools built into practice management and field service software, vary widely. Some send a message, some offer a redirect URL, some offer nothing on the page and only a webhook. When nothing on the page is reliable, the booking can still be sent as an offline or server-side conversion from the scheduler's records. Booking pages on another domain also need cross-domain setup or unwanted referral exclusions, covered in our cross-domain tracking and self-referrals guide.

Diagram

Suggested diagram: a single funnel point labeled "dataLayer: generate_lead / book_appointment" receiving arrows from five sources (AJAX form, popup, HubSpot iframe, Typeform SDK, Calendly embed), and sending arrows out to three destinations (Google Ads conversion, GA4 key event, Meta Lead). Alt text: "Diagram showing several form and booking sources feeding one data layer event, which then fires Google Ads, GA4 and Meta tags once each."

How does call tracking work in Google Ads?

Google Ads offers four kinds of phone call conversions. Knowing which is which prevents most call tracking mistakes.

TypeWhat it countsUse as
Calls from adsCalls placed from call assets or call-only ads that last at least the minimum length you setPrimary
Calls to a phone number on your websiteCalls to a Google forwarding number shown on the site after an ad click, lasting at least the minimum lengthPrimary
Clicks on your number on your mobile websiteTaps on a phone number or call button. Clicks, not callsSecondary
Imported call conversionsCalls tracked in another system, such as a call tracking tool or CRM, sent into Google AdsPrimary, if qualified

Calls from ads

Call assets need call reporting turned on to be counted as conversions. Set the minimum call length to something that reflects a real conversation for this client. Google lets you choose the length, so set it deliberately rather than leaving whatever value the conversion action starts with.

Website call conversions with Google forwarding numbers

The Google tag swaps the phone number on the site for a Google forwarding number when the visitor came from an ad, then counts calls to it that pass your minimum length. It only works where Google forwarding numbers are available for the client's country (Google lists the supported countries), and it needs the number on the page in a form the tag can find and replace. Test it from an ad click, because organic visitors keep seeing the client's real number.

Click-to-call

A tap on a phone link tells you someone intended to call. It does not tell you that they connected, spoke or qualified. We set it up as a secondary conversion, or just a GA4 event, so it shows in reports without steering bidding. Our Google Ads call conversion tracking guide covers each type's setup step by step.

When do you need a call tracking tool like CallRail?

Google's forwarding numbers cover Google Ads well. A dedicated call tracking tool such as CallRail earns its cost when the client needs more:

  • Every channel, not just Google Ads. Dynamic number insertion can show a different number per source (Google Ads, Meta, organic, email), so calls from every channel are attributed.
  • Recordings and outcomes. The client's team can listen to calls and mark them as qualified, booked or spam, and that outcome can feed back to the ad platform.
  • Qualified call rules. Rules such as a minimum duration or first-time callers only can decide which calls count as conversions in Google Ads. The options differ by tool and plan, so check what the client's tool supports.
  • Offline numbers. Separate numbers for print, vehicles or direct mail.

A practical qualified call rule for most local service businesses starts with a minimum duration, then adds first-time callers if repeat customers call the same number. Agree the rule with the client, write it down, and revisit it once you have a month of recordings to check against.

One caution on dynamic number insertion: it should only swap numbers on the website, never the number on the client's Google Business Profile or directory listings. Keep the main business number consistent everywhere off-site.

Recording calls also brings consent rules that vary by country and US state. That is a question for the client's legal team, not the agency.

How do you track chat leads?

Most chat widgets can tell the page when a visitor shares contact details, through a JavaScript event, a callback, or a webhook to the client's CRM. Track the lead capture, not the chat opening or the first message. If the chat tool has no on-page event, a webhook into the CRM and an offline conversion import is the fallback.

Push chat leads into the same data layer pattern with lead_path: 'chat', so the conversion count stays comparable across channels.

How do you avoid double counting across calls, forms and chat?

Double counting is the most common fault we find in lead-gen accounts. The patterns:

  • Two tags for one form. A thank-you page conversion and a data layer event both fire for the same submission.
  • Two sources for one action in Google Ads. The Google Ads tag and an imported GA4 key event are both primary for the same lead.
  • The same call counted twice. A call asset conversion and the same call imported from a call tracking tool are both primary.
  • A click and a call. Click-to-call and a call conversion both primary, so one call becomes two conversions.
  • Plugins adding their own events. WordPress and Shopify plugins sending a Meta Lead event alongside your GTM tag. We cover this in duplicate Meta events on Shopify and WordPress.

The rule we apply: for each lead path, one primary conversion action in Google Ads, one key event in GA4, and one standard event in Meta, each fired from a single success signal. Everything else is secondary or removed. Where the same person might both call and fill in a form, that is two leads in the ad platforms; deduplicating people, rather than actions, belongs in the CRM.

Example

Illustrative scenario. A plumbing client's Google Ads account shows "Calls from ads", "Website calls", "Phone click" and "Contact form" all as primary, plus two key events imported from GA4 as primary: a contact page view and the form's thank-you page. One person clicks an ad, taps the number, talks for three minutes, and later fills in the contact form. The account records five conversions: phone click, website call, contact page view, contact form, and the form's thank-you page through the GA4 import. After cleanup, the phone click and page view are secondary, the GA4 import is removed as primary, and the same journey records two conversions: one qualified call and one form lead, each counted by a single primary action.

What should you know about dental, legal and home services clients?

These notes are practical tracking points, not legal advice. On anything involving health, legal or personal data, involve the client's compliance or legal team.

Dental and healthcare

  • Many calls are from existing patients rescheduling. A first-time caller rule in a call tracking tool helps separate new patient calls.
  • Never send health information, treatment interest tied to an individual, or appointment details into ad platforms or GA4. Keep event names and parameters generic, and avoid putting treatment names in URLs that are tracked alongside identifiers.
  • Booking often happens in practice management software with limited tracking. Check what it sends to the page before promising a booking conversion.

Legal

  • Intake calls vary a lot in quality. A longer minimum duration and a qualified outcome marked by the intake team say more than raw call counts.
  • Form fields can contain sensitive case details. Make sure no form content reaches tags, only the fact of submission and a generic form type.
  • Call recording consent rules matter here. The client's own counsel should approve any recording setup.

Home services

  • Phone is often the main lead path, and emergency calls happen out of hours. Check that call tracking numbers forward correctly at night and on weekends.
  • Quote forms and scheduling widgets from field service software are common; inventory them carefully.
  • Google Local Services Ads have tracked leads in their own system, separate from Google Ads conversion tracking. Google is moving them into Google Ads as Performance Max campaigns with pay-per-lead goals, in phases through 2026 and 2027; once migrated, the Conversions column for those campaigns counts charged leads. Either way, report them separately rather than adding them to your own tracked conversions.

How do you test every lead path?

Every path in the inventory gets a real test before we call the work done.

  1. Open GTM Preview and Google Tag Assistant on the page.
  2. Submit the form with a clearly labeled test entry the client can delete. Confirm in Preview that the data layer event fired once, and that each tag (Google Ads, GA4, Meta) fired once.
  3. Check GA4 DebugView for the key event and its parameters.
  4. Check Meta's Test Events tool for the Lead event.
  5. For bookings, book a real slot and cancel it.
  6. For website calls, reach the site through a real click on one of the client's ads (Google only shows the forwarding number to ad visitors), confirm the forwarding number appears, call it, and stay on the line past the minimum length. Confirm the call appears in Google Ads call reporting.
  7. For call tracking tools, call each tracking number and confirm it rings through and logs the right source.
  8. Try to break it: submit with a validation error, double-click submit, reload the success page. None of these should add a conversion.
  9. Compare a week of tracked leads against the client's inbox and CRM.

How should you document call and form tracking?

The documentation is what lets the next person on your team, or the client's next agency, keep it working. Keep it short:

  • The lead path inventory, with the success signal and tags for each path.
  • The list of conversion actions in Google Ads, marked primary or secondary, and the GA4 key events and Meta events they match.
  • Qualified call rules and the date they were agreed.
  • The test log: date, path, what fired, screenshots.
  • A change log for anything that alters counts, so month-to-month reports can be read correctly.

If you want this done across client accounts without adding headcount, our white-label call and form tracking covers the inventory, every form and call path, the qualified call rules and the test log, delivered under your agency's name.

Guides in this cluster

More guides on call and form tracking are being added to this cluster.

Want us to check one of your client accounts? Get a free tracking check →

Just one quick fix, not a whole account? Our founder takes small fixed-price jobs on Fiverr: Google Ads conversion tracking fix

Frequently asked questions

Should a click on the phone number count as a lead?

Not as a primary conversion. A tap shows intent but not a connected call. Keep it secondary and use call assets, Google forwarding numbers or a call tracking tool for real call conversions.

Can you track a form inside an iframe?

Usually, yes. Most form tools send a message or callback to the parent page on success, or support a redirect to a thank-you page on the client's domain. Track that signal, not the button click.

Do I need CallRail if I already use Google forwarding numbers?

Not always. Google forwarding numbers cover calls from Google Ads. A tool like CallRail helps when you need calls from every channel, recordings, or qualified call outcomes sent back to the ad platforms.

What minimum call length should I use?

One that reflects a real conversation for that business, agreed with the client. Check it against a few weeks of recordings or call logs and adjust.

How do I stop the same lead being counted twice?

Give each lead path one success signal and one primary conversion action per platform. Set click-to-call, page views and duplicate imports to secondary or remove them.

Muhammad Qitmeer

Written by

Muhammad Qitmeer, founder of Augere Labs

Augere Labs is the white-label tracking partner behind marketing agencies. If a client account has numbers you don't trust, I'm happy to look at it with you and tell you straight what's wrong.

Connect on LinkedIn