Field notes Field note 08

Enhanced conversions for leads: setup and testing

Set up Google Ads enhanced conversions for leads with GTM: what gets hashed, consent and customer data terms, and how to confirm it works in diagnostics.

· 9 min read

Enhanced conversions for leads sends a hashed copy of the email or phone number a lead types into your form to Google Ads, then matches it against the same hashed data when you later import which leads became customers. Google Ads can then credit the ad for a sale made off your website, without relying only on the click ID.

This matters if your real conversion is a qualified lead or a signed deal, not a form fill. Bidding on form fills optimises toward whoever fills forms; bidding on imported qualified leads optimises toward people who buy.

Checked on 2026-11-04 against: Google Ads help on enhanced conversions for leads, the unified setting, GTM setup, the implementation checklist and diagnostics, plus Google's consent mode overview.

What enhanced conversions for leads is

It is an upgraded offline conversion import that adds hashed first-party data to the click ID. Per Google's page about enhanced conversions for leads, it works in two halves:

  1. On your website, the tag captures the lead's email or phone from your form, hashes it, and sends it to Google with the conversion.
  2. Later, when the lead converts (becomes qualified, signs, pays), you import that lead with the same hashed data. Google attributes the offline conversion by matching the imported data to the data from the tag and to signed-in Google accounts that engaged with your ad.

The data is hashed with SHA256, a one-way algorithm, before it is sent (about enhanced conversions).

Enhanced conversions for leads vs enhanced conversions for web

Both send hashed data, but they measure different things.

Enhanced conversions for webEnhanced conversions for leads
MeasuresConversions on the website (a purchase, a booking)Sales off the website from a website lead
Hashed data usedSent with the online conversion tagCaptured on the lead form, matched against your later offline import
Needs an importNoYes, the offline conversions

Source: Google's about enhanced conversions comparison. Since 2026 the two share one switch: Google's page on updates to enhanced conversions settings says Google Ads accepts user-provided data from website tags, Data Manager and API connections at the same time (from April 2026), and web and leads became a single on or off setting with no method to choose (from June 2026).

Before you start

Per Google's GTM guide:

  • A lead form on your own pages with an email field, a phone field, or both (phone numbers need a country code).
  • Auto-tagging on in Google Ads.
  • Google Ads conversion tracking running, here through Google Tag Manager (GTM).
  • The customer data policies reviewed and accepted (step 1).

Store the lead's email in your CRM too: the import has to send the same value.

Step 1: Turn on enhanced conversions and accept the customer data terms

Per updates to enhanced conversions settings, at account level:

  1. Go to Goals, then Settings.
  2. Expand the Customer data use panel.
  3. Check Turn on enhanced conversions. Google's steps also show a second box, Turn on conversion-based customer lists. It is a separate feature, so read what it does before you tick it.
  4. Select Agree and save, review the data terms, then Agree and continue.

Some Google pages still show the older layout, with a separate "enhanced conversions for leads" section and a method dropdown; follow what your account shows.

If you can't see the terms, the GTM guide says conversions are probably tracked by a manager account, and the terms must be accepted there.

Step 2: Create the offline conversion action

The action you bid on later is the offline one, such as "Qualified lead". Per the implementation checklist, create one conversion action per offline stage you want to measure. Google's settings page describes the current flow: Goals, Summary, + Create conversion action, check Conversions offline, then Edit data sources and Skip this step and set up a data source later.

The checklist recommends marking it secondary for the first two to three weeks, so you can compare before bidding on it. Our note on Google Ads conversions not tracking explains primary and secondary actions.

Step 3: Capture the hashed lead data in GTM

You need a Conversion Linker and a Google Ads User-Provided Data Event tag that fires on submit.

Conversion Linker. Per the GTM guide, add one on all pages where visitors may land after an ad click, unless you already have it. It stores ad click information in first-party cookies.

The tag. In Tags, New, choose Google Ads User-Provided Data Event, enter your Google Ads customer ID, and under User-provided data create a new User-Provided Data variable.

The variable type. Google offers three ways to fill it; you need one:

TypeHow it gets the dataFits when
AutomaticReads the page for user data. Cannot collect phone numbersA simple form, email only
ManualYou point each field at a CSS selector, an element ID or an existing variableYou want control over which field is read
CodeYou push the data to the dataLayer yourself and reference it with a Data Layer VariableYou want consistent formatting and hashing

Google calls Code the best choice for accuracy, because the data is formatted the same way every time.

Keep raw personal data out of the dataLayer. Every GTM tag can read the dataLayer, so a raw email there is available to every tag in the container. Google's guide accepts raw or pre-hashed data. Push the hash. Per the GTM guide, pre-hashed fields use hex-encoded SHA256 and keys that start with sha256_:

async function sha256Hex(value) {
  const bytes = new TextEncoder().encode(value);
  const hash = await crypto.subtle.digest('SHA-256', bytes);
  return [...new Uint8Array(hash)]
    .map(b => b.toString(16).padStart(2, '0'))
    .join('');
}

function normaliseEmail(raw) {
  let email = raw.trim().toLowerCase();
  const [local, domain] = email.split('@');
  if (domain === 'gmail.com' || domain === 'googlemail.com') {
    email = local.replace(/\./g, '') + '@' + domain;
  }
  return email;
}

form.addEventListener('submit', async () => {
  dataLayer.push({
    event: 'lead_submitted',
    leadsUserData: {
      sha256_email_address: await sha256Hex(normaliseEmail(form.email.value))
    }
  });
});

In GTM, set the variable type to Code, point it at a Data Layer Variable named leadsUserData, and trigger the tag on the custom event lead_submitted. If the form navigates away on submit, let the push complete first.

The normalisation rules come from Google's diagnostics report and Google Ads API pages: trim spaces, lowercase, remove dots before the @ in gmail.com and googlemail.com addresses (the API page also strips a + suffix there; whichever rule you pick, apply it on both sides), format phone numbers to E.164 (for example +16505551234), then hash with hex SHA256. Your CRM import must apply the same rules, or the hashes won't match.

Consent: ad_user_data decides whether anything is sent

If a visitor denies ad_user_data, the hashed data for enhanced conversions is not collected.

Google's consent mode overview lists "Enhanced conversions: Hashed first party data" among what is disabled when ad_user_data is denied. Your banner has to set it in the default command and update it on accept. Our Consent Mode v2 guide covers the setup, and Consent Mode v2 not working the five-minute check.

On the import side, the GTM guide strongly recommends filling the consent field in each upload, or conversions may not be attributable.

Iframe forms: Calendly, HubSpot and embedded tools

The tag reads a form on your own page, so a form inside another domain's iframe is out of its reach. The implementation checklist calls iframe forms optional and uncommon, and asks whether you can modify the iframe or use postMessage() to pass the data to the parent page.

Calendly and HubSpot meetings both run in their own iframes. If the tool sends your page a booking message with the email, hash it there and push only the hash. If not, rely on the click ID: include the GCLID in every upload, which Google's checklist asks for whenever you have it. Our guides to Calendly conversion tracking and HubSpot meetings conversion tracking show what each embed exposes.

Step 4: Import the offline conversions

The tag only does half the job. Matching happens when you import.

Per the GTM guide, Google recommends Google Ads Data Manager for the import, with the API or Zapier as alternatives. The same guide and the settings update page say that from 15 June 2026, offline conversion import and enhanced conversions for leads uploads move to the Data Manager API and are blocked in the Google Ads API, apart from limited legacy access. If you upload through a script or a connector, check that it uses the Data Manager API.

Each upload needs the conversion action name, the conversion time, and at least one hashed email, phone or address. The checklist also asks you to:

  • Include the GCLID whenever you have it, even though the tag collects it too.
  • Upload daily.
  • Upload all conversions for the action, including ones not attributed to Google Ads (Google says this is required).
  • Hash email, phone, names and street address; send country, state, city and postcode unhashed (per the diagnostics report).

How to confirm it works

Check three places.

  1. GTM preview. Per the GTM guide, open Preview, submit the form, and check that the Google Ads User-Provided Data Event tag is under Tags Fired. Click it to see the values it received.
  2. The network request. With the dev tools Network tab open (Preserve log on), submit the form. Google's guide says you should see a request to google.com/pagead/form-data/ with an em parameter holding the hashed data.
  3. The diagnostics report. In Goals, Summary, open the Diagnostics tab for an account-wide view, or hover over a conversion action's status and select Diagnostics. Per Google's diagnostics report page, data quality shows as Excellent, Good, Needs attention or Urgent, and an action with a problem shows the status "Check enhanced conversions". Alerts use the past day of data, or the past 7 days when one day is too thin.

What you should see: the User-Provided Data Event tag under Tags Fired with a hashed value, a form-data request carrying em, and no "Tag not firing" or "Tag is missing user-provided data" alert in the diagnostics.

What the diagnostics alerts mean

From Google's diagnostics report page:

AlertWhat it meansWhere to look
Tag not firing on your website formsThe tag isn't firing on the lead formGTM trigger, iframe forms
Tag is missing user-provided dataEvents arrive with empty user dataVariable setup, selectors, data collected on an earlier page
No attempted importsTag works, nothing has been importedData Manager or API connection
Importing limited user-provided dataYou import only leads that have a GCLIDUpload every lead with user data
No user-provided data matchesImported hashes don't match the tag'sNormalisation and hashing on both sides

Google adds that enhanced conversions help most with at least 20 conversions a week, organic and paid together.

When to get help

If the diagnostics stay on Needs attention or Urgent, the cause usually sits between two systems: an iframe form, a banner that never updates ad_user_data, or a CRM export that hashes differently from the tag. Our conversion tracking services cover the tag, the consent and the import together, and a Tracking Audit tests each lead path end to end. For the Meta side of the same lead, see Meta Conversions API deduplication.

Checklist

  • Enhanced conversions on in Goals, Settings, Customer data use; terms accepted (in the manager account if conversions are tracked there)
  • Auto-tagging on, Conversion Linker on all landing pages
  • One offline conversion action per lead stage, secondary for the first weeks
  • Google Ads User-Provided Data Event tag fires on the real submit
  • Only hashed email or phone in the dataLayer, normalised the same way as your CRM import
  • ad_user_data default and update both set by your consent banner
  • Iframe forms handled through postMessage, or covered by the GCLID
  • Daily upload of all qualified leads with GCLID, hashed email and consent
  • Diagnostics report on Good or Excellent

Before you go

Is your tracking actually working?

Paste your URL. We check whether GTM, GA4, Meta Pixel and Consent Mode are on the page, and whether Google can read it without JavaScript. The results come by email.

Free. We only read what any visitor's browser can see.