Conversion Tracking · 23 min read min read
Setting Up Enhanced Conversions for Lead Gen Businesses: The Complete Guide
If you run paid traffic for a lead generation business, you've probably felt the sting of a dashboard that says one thing while your sales team reports ano
By ConversionSync Team
If you run paid traffic for a lead generation business, you've probably felt the sting of a dashboard that says one thing while your sales team reports another. Google Ads reports 40 leads last month, your CRM shows 28. Microsoft Ads says 38, and your sales team swears they only closed work from 22 of them. The gap is not just frustrating — it's expensive. Every decision about budget allocation, bidding strategy, and audience targeting gets made on top of a foundation of muddy data.
Enhanced Conversions is Google's (and now Microsoft's) answer to that muddy data. It is a free, officially supported feature that lets you send hashed, first-party conversion data from your server or CRM back to the ad platforms so they can match real outcomes to real ad clicks. When implemented correctly, it can dramatically improve the accuracy of your reported conversions, unlock better bid strategies, and give you a clearer picture of true ROAS.
This guide is a deep, practical walkthrough specifically for lead generation businesses. We will cover what Enhanced Conversions is, why it matters more for lead gen than for e-commerce, the two implementation paths (Google Tag and API), step-by-step setup, common mistakes, edge cases, and how to keep your CRM and ad accounts in agreement. By the end, you should be able to implement Enhanced Conversions confidently, even if you've never touched a line of JavaScript or made an API call before.
Why Enhanced Conversions Matter More for Lead Gen Than E-commerce
Most of the public documentation around Enhanced Conversions is written through an e-commerce lens, where a "conversion" is a transaction with a clear order ID, value, and currency. Lead gen is messier. The conversion event is typically a form submission, a phone call, a booked appointment, or even a closed deal weeks after the original click. The lead itself often has little to no monetary value at the time it is captured, and the real revenue only materializes after sales qualification.
This creates three problems that Enhanced Conversions is uniquely suited to solve:
- Click-to-conversion time decay. A user might click your ad on Monday, fill out a form on Wednesday, and close a $20,000 contract 60 days later. Without a way to feed that closed-loop data back, the ad platform credits the original click for the form fill — and stops there. Enhanced Conversions lets you send the higher-quality event (qualified lead, appointment set, closed-won) so the algorithm learns from the actual outcomes that matter.
- Cross-device and cross-channel behavior. A lead might click your ad on mobile, research on desktop, and convert on a tablet at the office. Browser cookies and device IDs alone can't always stitch that journey together. Enhanced Conversions uses hashed identifiers (typically email and sometimes phone or name/address) to deterministically link the original ad click to the eventual conversion, regardless of which device or channel it happened on.
- CRM vs. ad platform mismatch. This is the single biggest source of confusion in lead gen advertising. Your CRM has the source of truth: who actually filled out a form, whether they were qualified, whether they became a customer. The ad platform has its own attribution model. Enhanced Conversions bridges the two by letting you import offline conversion events — including outcomes that happened days or weeks after the click — directly into Google Ads and Microsoft Ads.
In short: e-commerce businesses need Enhanced Conversions to deduplicate and enrich their existing data. Lead gen businesses need it to even have a complete picture in the first place.
How Enhanced Conversions Actually Works
At a high level, Enhanced Conversions works by letting you send hashed user identifiers (most commonly email, sometimes also phone, first name, last name, and street address) along with your conversion event. The ad platform takes those identifiers, hashes them client-side or server-side, and uses them to match the conversion back to the original ad click that drove the user to your site.
Three things are worth understanding before you start:
1. Hashing happens on your side before transmission. When you send an email like jane@example.com, it must be hashed using SHA-256 before it leaves your server or browser. The ad platforms publish reference implementations for both the Google Tag and the API to make this easy. Plaintext email addresses are never sent.
2. Matching is deterministic, not probabilistic. If the hashed email matches a user who clicked an ad within your chosen lookback window (default is 90 days for clicks), the conversion is attributed to that click. If there's no match, the conversion is still recorded but it won't influence attribution for any specific click.
3. It works alongside, not instead of, your existing conversion tracking. You don't have to rip out your Google Tag or Conversion API setup. Enhanced Conversions layers on top. You can send both a basic conversion event (with click identifier, gclid, etc.) and an enhanced event (with user identifiers). The platform uses whichever data it can to match.
The Two Implementation Paths: Google Tag vs. API
You have two official options for sending Enhanced Conversions data. They are not mutually exclusive, and many sophisticated advertisers use both.
Option 1: Google Tag (gtag.js or Google Tag Manager)
This is the simpler, browser-based approach. When a user submits a form on your landing page, you capture the email (and ideally phone, name, address), hash it on the client side using the provided hashing function, and pass it to the conversion event as a piece of user-provided data.
Pros:
- Easy to set up, especially if you already use Google Tag Manager
- No server-side work required
- Good for forms where the user is present in the browser at the moment of conversion
Cons:
- Relies on the conversion happening in a browser context (not a server-to-server CRM sync)
- Blocked by some ad blockers and privacy tools
- Can miss conversions that happen later in the CRM (e.g., lead becomes qualified days later)
- Limited to events that occur on a page you control
Option 2: Google Ads API (Conversion Upload)
This is the server-to-server approach. You collect conversion data in your CRM or lead database, hash the user identifiers on your own server, and upload conversion events directly to the Google Ads API using the ConversionUploadService. You can also do the equivalent in Microsoft Ads via the Microsoft Advertising API.
Pros:
- Captures offline and delayed conversions (qualified leads, closed deals, etc.)
- Not affected by browser-side blockers
- Lets you backfill historical conversions
- More reliable attribution for long sales cycles
Cons:
- Requires server-side development or a tool to manage the API calls
- More complex error handling
- You need to manage authentication, rate limits, and data freshness yourself
Which One Should You Use?
For most lead gen businesses, the answer is: start with the Google Tag, then add the API path for offline conversions.
The Google Tag captures the moment of form submission with high fidelity, and it is fast to set up. The API path is what unlocks the real value of Enhanced Conversions for lead gen: it lets you report back on what actually happened after the form was submitted, not just the form fill itself. Together, they give you both the fast-feedback event (form fill) and the slow-feedback events (qualified lead, opportunity, closed-won) that the algorithm can learn from.
A useful way to think about it: the Google Tag is your "top of funnel" Enhanced Conversions setup, the API is your "bottom of funnel" setup, and you need both for a complete lead gen picture.
Step-by-Step Setup: Enhanced Conversions via Google Tag Manager
Let's walk through a concrete implementation. The exact steps will vary depending on your form tool (HubSpot Forms, Unbounce, Typeform, custom HTML, etc.), but the underlying logic is the same.
Step 1: Enable Enhanced Conversions in Google Ads
- Sign in to Google Ads.
- Go to Goals > Conversions > Summary.
- Click New Conversion Action (or edit an existing one).
- Choose Website as the source.
- Enter your conversion page URL or use the "Add URL manually" option.
- Check the box that says "Use enhanced conversions for leads" (or, depending on the UI version, "Turn on enhanced conversions").
- Choose "Google Tag" as your method.
- Click Done and Save.
Step 2: Install the Google Tag or Google Tag Manager Snippet
If you don't already have the Google tag (gtag.js) or GTM installed on your conversion page, install it now. Most modern sites already have GTM, in which case you can skip this step.
Step 3: Add the Enhanced Conversions Code to Your Tag
In GTM, open the Google Ads conversion tag you just created. Scroll to the bottom of the tag configuration. You will see a new section called "Include user-provided data from your website". Check that box.
If you're using gtag.js directly (not GTM), the implementation involves a small JavaScript block that hashes user-provided data and passes it to the conversion event. Google provides a ready-made enhanced_conversions.js script that you can include on your page. The key function is sha256Sync(), which normalizes and hashes the data before sending it.
Step 4: Capture User Data from the Form
This is the part that varies most by form. You need to grab the email (and optionally phone, first name, last name, postal code, country) at the moment the user submits the form and pass those values to your conversion tag.
In GTM, the cleanest pattern is:
- Use a Form Submission trigger or a Custom Event that fires on successful submission.
- Create a Data Layer Variable that captures the email (and other fields) from the form.
- Pass those variables into the "User-provided data" section of your Google Ads conversion tag.
If your form tool posts the data via AJAX and the page doesn't reload, you'll need to push the data into the data layer from your form's success callback. Most modern form tools have a way to do this — either through a built-in GTM integration, a webhook that fires JavaScript, or a callback function on submission.
Step 5: Test Your Implementation
Before you push anything live, use Google Tag Assistant (the Chrome extension, also known as Tag Assistant by Google) to verify that the conversion tag is firing and that the user-provided data is being included. The Tag Assistant will show you exactly what data was sent and whether the hash was computed correctly.
You can also check Google Ads > Goals > Conversions > Diagnostics to see whether your conversion action is receiving enhanced data. Look for the "Enhanced conversions" status column — it should say something like "Receiving enhanced conversions" within a few hours of a test conversion.
Step 6: Send a Test Conversion
Submit your form with a real email address that you can also use to click a Google Ad. A clean way to do this:
- Open a private browsing window.
- Search for a keyword you're bidding on.
- Click your ad.
- Submit your form with a unique email (e.g., yourname+test1@gmail.com).
- Wait 24-48 hours.
- Check the conversion in Google Ads and confirm it is attributed to the correct click.
Step-by-Step Setup: Enhanced Conversions via the Google Ads API
The API path is more involved, but it's also where the real magic happens for lead gen businesses. It lets you report on outcomes that occurred after the user left your website.
Step 1: Set Up API Access
You will need:
- A Google Ads manager account or administrative access to the account you want to upload to
- A developer token (request through the Google Ads API Center)
- OAuth 2.0 credentials (a client ID, client secret, and a refresh token)
- A Google Ads API client library in the language of your choice (Python, Java, .NET, PHP, Ruby, etc.)
Google provides client libraries that handle most of the heavy lifting — authentication, request formatting, error handling. The reference docs are excellent and include working code samples.
Step 2: Choose Your Conversion Action
In Google Ads, every conversion uploaded via the API must be tied to an existing conversion action. If you haven't already, create a conversion action specifically for offline or qualified-lead uploads. Mark its category as "Lead" and its counting type as "Every" (you can choose "One" if each click should only count once, which is common for actual sales).
Note the conversion action ID — you will need it in the upload call.
Step 3: Hash the User Data
For every conversion event you want to upload, gather:
- Email (required for Enhanced Conversions)
- Phone number (optional, but improves match rates)
- First name, last name (optional)
- Country, postal code (optional, useful for international businesses)
- The original
gclidif you have it (this dramatically improves attribution accuracy)
Normalize and hash each field using SHA-256. Normalization rules (published by Google) include lowercasing the email, trimming whitespace, and formatting the phone number in E.164 format. Use the same normalization the Google Tag uses, or your match rate will suffer.
Step 4: Build the Conversion Upload Request
The Google Ads API exposes a ConversionUploadService for exactly this purpose. A typical request includes:
- The conversion action ID
- The conversion date/time (typically the time of the original click, not the time of the upload)
- The conversion value and currency (optional for lead gen, but can be helpful)
- The user identifiers (hashed email, phone, etc.)
- A
gclidif you captured it when the form was submitted - A
conversion_custom_variableif you want to segment by lead source, campaign, etc.
You can upload events one at a time or in batches. Batching is strongly recommended for efficiency — Google allows up to 2,000 conversions per request, and most production systems upload in batches of 200-500 every few minutes.
Step 5: Handle Errors and Partial Failures
The API returns a partial failure response if some conversions in your batch were rejected. Common reasons for rejection:
- Malformed or unhashed identifiers
- Conversion date too far in the past (Google allows up to 90 days for click-based attribution by default)
- Invalid conversion action ID
- Mismatched currency
- Exceeding rate limits
You should log every partial failure with enough context to retry or fix the data. A simple pattern is to write failed records to a "retry queue" table in your database and re-attempt the upload on the next batch run.
Step 6: Backfill Historical Conversions
One of the most valuable things you can do with the API path is backfill. If you have six months of leads in your CRM and you know which ones came from Google Ads, you can upload all of them to the API and immediately improve your attribution. Google will match the historical conversions back to historical clicks, which can dramatically improve the data the bidding algorithm has to work with.
A common practice is to backfill up to 90 days of conversions (Google's standard click lookback window), but you can also work with your Google rep to extend this for special cases.
Common Mistakes Lead Gen Businesses Make with Enhanced Conversions
After walking dozens of teams through this setup, the same mistakes come up over and over. Watch out for these:
Mistake 1: Hashing on the Server, Then Sending the Hash to the Browser
If you're doing the API path, do not send the raw email to the client side, hash it, and then send it back. Hash on whichever side is closest to the user-provided data. For the API path, hash on the server. For the Google Tag path, hash in the browser. The mixing and matching of the two introduces privacy and security risks.
Mistake 2: Forgetting to Normalize Before Hashing
If the email Jane@Example.com is hashed as-is but the same user originally signed up as jane@example.com, the hashes won't match. Normalization (lowercasing, trimming whitespace, removing dots from Gmail addresses if you choose) must happen on both sides.
Mistake 3: Sending Only Email and Nothing Else
Email is the most important identifier, but adding phone, name, and address dramatically improves match rates, especially for B2B lead gen where the same person might be using a personal email to fill out a form and a work email elsewhere. The more identifiers you send, the higher your match rate.
Mistake 4: Reporting Every Form Fill as a Conversion
In lead gen, not every form fill is a qualified lead. If you upload every form submission as a conversion, you'll train the bidding algorithm to optimize for junk leads. Use conversion actions to segment: one for "raw form submissions," another for "qualified leads," and another for "closed-won deals." Bid strategies should optimize against the highest-quality event you can reliably track.
Mistake 5: Not Handling PII Carefully
Even though the data is hashed before transmission, you're still dealing with personally identifiable information. Make sure your storage and transmission paths are encrypted, your team has appropriate access controls, and you have a documented data retention policy. In the EU and other regulated regions, also confirm you have a lawful basis for processing.
Mistake 6: Trusting the Numbers Without QA
Once Enhanced Conversions is running, don't assume it's working perfectly. Spot-check a sample of conversions every week: pick 20 random conversions, find the original click in Google Ads, and verify the attribution is correct. If you see patterns of misattribution (e.g., conversions being credited to brand search when they should be credited to a generic keyword), something is off with your setup.
Edge Cases and Tricky Scenarios
Lead gen businesses come in all shapes and sizes, and the textbook setup doesn't always apply. Here are some scenarios you'll likely run into:
Form Submissions Without an Email
Some forms only collect a phone number (e.g., "Click-to-Call" campaigns). You can still use Enhanced Conversions by hashing the phone number as the primary identifier. Just make sure it's in E.164 format (e.g., +14155551234).
Multi-Step Forms
If your form is split across multiple pages, you may not have the email until the final step. Make sure the conversion tag only fires on the final step, and that you pass the data through the data layer across pages if needed.
Phone Calls as Conversions
If you use a call tracking platform (CallRail, Invoca, WhatConverts, etc.), you can pipe call outcomes into your CRM and then upload qualified calls to the Enhanced Conversions API. Many call tracking platforms have built-in Google Ads integrations that already use Enhanced Conversions — check yours first before building your own.
Webhooks from Forms That Don't Render in a Browser
Some form tools (Typeform, Jotform, Webflow) post submissions to a webhook on your server, not directly in the browser. In this case, the Google Tag path won't work — you need to use the API path from your server. The good news is that this is exactly the scenario the API is designed for.
Returning Leads / Repeat Conversions
If the same person fills out your form multiple times, the default behavior of "Every" conversion counting will credit each submission. This is usually fine for raw form fills, but for "qualified lead" or "closed-won" events, you typically want "One" counting per click.
Long Sales Cycles
If your sales cycle is longer than 90 days, Google's default click lookback window may miss some conversions. You can extend the lookback window in Google Ads up to 540 days for some campaign types. Talk to your Google rep if you have a true long-cycle business (B2B SaaS, high-ticket services, real estate, etc.).
Comparing Enhanced Conversions to Other Tracking Methods
You may be wondering how Enhanced Conversions compares to other measurement approaches. Here's a quick rundown:
vs. Standard Conversion Tracking (gclid only): Standard tracking attributes conversions at the moment of the click, based on cookies and click identifiers. Enhanced Conversions adds deterministic matching using user identifiers, which is more accurate and works across devices and cookies-blocked environments.
vs. Server-Side Google Tag Manager: Server-side GTM is a delivery mechanism. You can use it to send Enhanced Conversions data, but it's not a replacement for it. In fact, server-side GTM is one of the cleanest ways to implement the API path for Enhanced Conversions.
vs. Offline Conversion Imports (the older, pre-Enhanced-Conversions feature): Offline Conversion Imports (OCI) was the legacy way to upload offline conversions. Enhanced Conversions subsumes OCI and is significantly more accurate. OCI is being deprecated, so any new build should use Enhanced Conversions.
vs. Marketing Mix Modeling (MMM): MMM and Enhanced Conversions solve different problems. MMM is for top-down, channel-level budget allocation. Enhanced Conversions is for bottom-up, click-level attribution. They complement each other.
vs. First-Party Cookies / Customer Match: Customer Match lets you target ads to lists of known users. Enhanced Conversions is the measurement side: it lets the ad platform know which of those users actually converted. They work best together.
Pre-Launch Checklist for Lead Gen Enhanced Conversions
Before you flip the switch on Enhanced Conversions for your lead gen campaigns, run through this checklist:
- Conversion actions are properly set up in Google Ads (and Microsoft Ads) with "Use enhanced conversions" enabled
- For Google Tag path: GTM or gtag.js is installed, user-provided data is captured from the form, and the data is being hashed and passed to the conversion tag
- For API path: server-side code is hashing identifiers correctly, uploading conversions in batches, and handling partial failures
- Test conversion has been sent and attributed correctly to a real ad click
- Tag Assistant shows the enhanced data being included in the conversion payload
- At least one conversion action is configured for "raw form fills" and one for "qualified leads" (or whatever the next stage in your funnel is)
- Bid strategies are aligned with the conversion actions they should optimize toward
- PII handling and data retention policies are documented
- A QA process is in place to spot-check attribution accuracy weekly
- Historical backfill plan is documented (if applicable)
How to Keep Your CRM and Ad Platforms in Agreement Long-Term
Setting up Enhanced Conversions is not a one-time project. The hard part is keeping your CRM and ad platforms in agreement as your lead flow, sales process, and tracking infrastructure evolve.
Three practices help:
1. Establish a single source of truth for conversion definitions. Write down, in plain language, what counts as a "conversion" in your business. A "lead" is a form submission. A "qualified lead" is a form submission that sales has accepted and is actively working. A "customer" is a qualified lead that has signed a contract. Make sure your CRM status fields, your ad platform conversion actions, and your internal team all use the same definitions.
2. Automate the data flow. Manual uploads of conversion data are error-prone and tend to fall behind within a few weeks. Whether you build it yourself or use a tool to do it, set up an automated pipeline that pulls outcomes from your CRM and pushes them to the ad platforms on a regular cadence (every 15 minutes is a common target).
3. Reconcile regularly. Even with perfect automation, discrepancies will creep in due to time zones, clock skew, partial failures, and edge cases. Once a week, compare the count of conversions in your CRM to the count in Google Ads and Microsoft Ads. Investigate any large gaps.
This is also where a tool that does CRM-to-ad-platform syncing for you can be useful. Manually maintaining the API integrations, the hashing, the normalization, the error handling, and the reconciliation is real work, and most lead gen teams underestimate how much ongoing maintenance it takes. If you want to skip the engineering and just see your true ROAS reflected in the ad platforms, a service like Conversion Sync handles the offline conversion uploads and enhanced conversions syncing for you, so you can stay focused on running campaigns rather than maintaining pipelines.
What to Expect After Implementation
Once Enhanced Conversions is in place, the most visible change in Google Ads is usually a modest but consistent increase in reported conversions — typically because the system is now correctly attributing cross-device conversions that were previously missed. Don't be alarmed if your numbers tick up. That is the system working as intended.
The more important effect is on bidding. Smart Bidding strategies (Target CPA, Maximize Conversions, etc.) get more accurate signal about which clicks lead to valuable outcomes, especially when you upload post-funnel events like qualified leads or closed deals. Expect a noisy first 2-3 weeks as the algorithm relearns, then a gradual improvement in cost-per-qualified-lead and cost-per-customer.
If you're using Microsoft's advertising platform, the same Enhanced Conversions setup is available there as well, with a near-identical API. Setting it up in both places gives you cleaner data on both engines, which makes cross-platform budget decisions more reliable.
For more on how all of this fits together with offline conversion tracking more broadly, the Conversion Sync blog has additional resources and case-style walkthroughs.
Frequently Asked Questions
Do I need a developer to set up Enhanced Conversions? For the Google Tag path, most marketers can do it themselves in GTM with some patience and good docs. For the API path, you will need either an engineer or a tool that handles the integration for you. There is no shame in using a tool here — the cost of an engineer building and maintaining it is often higher than the cost of a SaaS solution.
Will Enhanced Conversions hurt my reported conversion numbers? It can, in rare cases, if the system finds fewer matches than your previous click-based tracking did. In practice, for lead gen, the effect is almost always an increase, because Enhanced Conversions is better at matching across devices and cookies-blocked environments.
How is this different from Conversion API for Meta? Meta's Conversions API is conceptually similar — server-side upload of hashed user data — but it serves Meta's ads system, not Google Ads. You would set them up separately if you advertise on both platforms. The hashing logic and the user identifier fields are similar but not identical.
What about privacy regulations like GDPR? Enhanced Conversions is designed to be privacy-safe: only hashed data is sent, and the data is used for matching within the ad platform's systems. You still need a lawful basis for processing personal data, and you should disclose this in your privacy policy. Google's documentation includes guidance for EU compliance.
Can I use Enhanced Conversions for B2B lead gen where the "conversion" is a closed deal? Yes — and this is the single most valuable use case. Upload closed deals to the API as conversion events, tie them to the original gclid (or hashed email), and your bidding algorithm will learn to optimize for actual revenue, not just form fills.
What if my CRM doesn't capture the gclid? You can still get good attribution without the gclid, as long as you have the hashed email and the conversion happened within the click lookback window. The gclid simply makes the match deterministic; without it, the match is still very reliable.
Final Thoughts
Enhanced Conversions is the single most impactful measurement upgrade available to lead gen advertisers right now, and it's free. The two pieces of advice I'd leave you with:
First, do it now. The longer you delay, the more conversions you lose attribution on, and the harder it is to backfill later.
Second, build it with the long-term in mind. The initial setup is a one-week project. The ongoing maintenance — keeping your CRM in sync, your conversion actions up to date, your bid strategies aligned with the right events — is a continuous discipline. Plan for it accordingly.
For a deeper look at how offline conversion tracking and CRM-to-ad-platform syncing work end-to-end, start with the Conversion Sync homepage. It complements the standard Enhanced Conversions setup by handling the bits that Google's native tooling doesn't cover well: the offline outcomes, the API uploads, and the cross-platform reconciliation.
See your true ROAS at https://conversionsync.replit.app