Enhanced conversions for web: setup and checks
Enhanced conversions for web adds one thing to a conversion you already measure: the customer's own details, hashed, so Google can recognise the buyer even when the click ID is no longer there. At the end of this article the setting is on in Google Ads, your Tag Manager container sends the data with the conversion, and you know where to see whether it arrives and matches.
Part of the Google Ads measurement series. It builds on a working conversion tag (Google Ads conversion tracking with Tag Manager) and on the click IDs explained in the Conversion Linker and the click IDs. For sales that are closed later, outside the website, read enhanced conversions for leads instead.
What is sent, and what Google does with it
When a customer finishes an order they give you an email address, usually a name and address, sometimes a phone number. With enhanced conversions the conversion tag picks up those fields, hashes them in the browser with SHA256, a one-way algorithm, and sends the hashes along with the conversion. Google matches them against the Google accounts that were signed in when someone saw or clicked your ad. A match means the conversion can be attributed even if the cookie expired or the click happened on another device.
It supplements the conversion tag and does not create conversions: the same purchase is sent once, with more to match on. Google states that the matching runs inside a confidential computing environment.
The fields and their rules, from Google's setup page:
- Email, the preferred field. On its own it is enough.
- Phone number in E.164 format: a plus sign, the country code and the number, without spaces, dashes or brackets. Google recommends sending it together with the email address.
- Name and address. To count, an address needs four parts: first name, last name, postal code and country.
Leave a field out when you do not have it: Google asks you to remove the key rather than send it blank. Every value has to be a string.
1Turn it on in Google Ads
In Google Ads, go to Goals › Settings, open the Customer data use panel, tick Turn on enhanced conversions and choose Agree and save. You confirm that the Google Ads Data Processing Terms apply. Data sent before the terms are accepted is not processed.
The setting changed in 2026. Enhanced conversions for web and for leads are now one on/off switch, and you no longer choose one method. Several of Google's own help pages still show the earlier screen, an Enhanced conversions for web panel with a method dropdown. If your account looks like that, pick Google Tag Manager there; the rest of this article is the same.
The switch is for the whole account. To leave one conversion action out, untick enhanced conversions in that action's settings under Goals › Summary.
2Allow the Google tag to collect the data
The second switch sits in the Google tag's own settings. In Tag Manager, go to the Google tag and choose Manage. Select Allow user-provided data capabilities and choose how the data is found:
- Automatically detect user-provided data. The tag looks on the page for text that matches an email address, phone number or address. With Add exclusions you keep it away from parts of the page, by CSS selector.
- Specify CSS selectors or Javascript variables. You say exactly where each field is.
- Add a code snippet to your website. Your site hands the values to the tag. When a snippet is present its data takes priority over the other two.
The Tag Manager routes in the next step do the same job from inside the container, where the logic is versioned and testable in Preview.
3Choose a route in Tag Manager
In Tag Manager the data travels in a variable of the type User-Provided Data. Create it under Variables › New and pick one of its three types.
- Automatic collection. The quickest route, and the one with the least control: it sends what it finds on the page where the tag fires.
- Manual configuration. One slot per field (email, phone, first name, last name, street, city, region, postal code, country). Fill each with an existing variable, or with a new DOM Element variable that reads the page by CSS Selector. This route breaks when the layout of the thank-you page changes, so test it after every redesign.
- Code. The variable reads one object that your site or a Custom JavaScript variable supplies, with keys such as
email,phone_numberandaddress(holdingfirst_name,last_name,street,city,region,postal_code,country). You may send the plain values and let the tag hash them, or hash them yourself and use thesha256_keys, for examplesha256_email_address. This is the most reliable route, because the shop itself provides the data.
Then attach the variable. Google's current instructions put it on the Google tag: add a parameter named user_data and set its value to the User-Provided Data variable. From that moment the Google Ads conversion that fires on the page carries the hashes.
One special case. When the customer's details are typed on an earlier page than the one where the conversion fires (a checkout step, then a bare thank-you page), use the tag type Google Ads User-Provided Data Event. Give it your conversion ID and the same variable, and fire it on the form submission, when the data is on screen.
If you hash the values yourself, normalise them first: trim spaces, make everything lower case, write phone numbers in E.164, and for gmail.com and googlemail.com addresses remove the dots before the @ sign. The hash is SHA256 in hexadecimal.
Consent in the EEA
Enhanced conversions sends personal data to Google for advertising, so it needs the visitor's consent where the law asks for it, and Google's EU user consent policy asks for it too. In Consent Mode the signal is ad_user_data. Google's reference names it as required for enhanced conversions, and says that when it is denied, the use of user-provided data for advertising is switched off. The conversion is still measured in the limited way Consent Mode allows, without the hashes.
So the tags need no extra consent logic, on one condition: your banner really sets ad_user_data. The setup is in Consent Mode v2 in Tag Manager, and the effect of each signal on your numbers in what Consent Mode does to your Google Ads numbers.
Check 1 · The request in your browser
Place a test order with marketing consent given. Before the thank-you page loads, open the developer tools (right-click, Inspect), go to the Network tab and type google in the filter.
- Find the request to
googleadservices.com/pagead/conversion/. In some browsers it goes togoogle.com/pagead/1p-conversion/. - Open Payload and look for the parameter
em. - A value that starts with
tv.1~em.followed by a long string is a hashed email address.tv.1~pn.is a phone number.
What the other outcomes mean, according to Google's diagnostics page:
- The
emparameter is missing: the variable is not attached, or enhanced conversions is off. tv.1~em.with nothing behind it: the field was empty when the tag fired. The selector found nothing, or the data layer was filled too late.e0: the value failed the format check, such as an email address without an @.e1: an old browser that is not supported.e2: hashing failed, often on unexpected characters.e3: the page is not on HTTPS. The tag only hashes on secure pages.
Google also offers a Chrome extension, the enhanced conversions assist tool, that walks through these checks.
Check 2 · The Diagnostics report
Two to three days after the first data, Google Ads has its own verdict. Go to Goals › Summary, select the conversion action and open Diagnostics. The tab with the same name at the top of the Summary page shows all actions together.
The status is one of four:
- Excellent: active and nothing to improve.
- Good: active, and sending more fields would match more conversions.
- Needs attention: active, with errors to fix, such as missing fields.
- No recent data: no enhanced conversions data in the last 7 days.
Below it, coverage is the share of conversion events that arrived with usable customer data. It shows the last 7 days by default and can be set to 30. Coverage well below your consent rate points at pages where the selector fails. Match rate says how well the data matched signed-in Google users.
Alerts only appear when the action had at least 20 conversions in the past 7 days. The status on the Summary page may read Check enhanced conversions: hover over it and choose Go to diagnostics. The other statuses of that column are in Google Ads conversion statuses explained.
When you run this through a server container
The setting in Google Ads, the consent rule and both checks stay the same. The route of the data changes. The web container still collects it: the User-Provided Data variable goes on the Google tag as the user_data parameter, so it travels with the GA4 events to your server container. There, the server-side Google Ads Conversion Tracking tag sends every piece of conversion data it has, customer data included. There is nothing extra to tick. To leave a field out, attach a transformation to the tag.
The request to check is no longer in the browser's Network tab: open the server container's Preview, find the purchase event and look at what the Google Ads tag sent. Google adds that customer data sent from a server container is encrypted, currently for Google Ads tags only.
On Measurebase, the server tags from the container import send the hashed email, phone and address they find on the event, and the Measurebase WordPress and Shopware plugins already push those fields hashed on purchases. The steps are in Google Ads conversion tracking through your server container.
Frequently asked questions
What data does enhanced conversions for web send to Google?
Hashed versions of the details a customer gave you: email address, phone number, and name with address. They are hashed with SHA256 in the browser before they leave the page, and Google uses them only to match the conversion to a signed-in Google account.
Do I need consent for enhanced conversions?
Yes, in the EEA and wherever your law requires it. In Consent Mode the signal is ad_user_data. When a visitor denies it, the conversion tag leaves the customer data out.
Is an email address enough, or do I need the address too?
An email address alone is enough and is the field Google prefers. Adding a phone number and a full address (first name, last name, postal code and country) gives Google more to match on and usually raises the match rate.
Which Tag Manager method should I use: automatic, manual or code?
Code, fed from the data layer, is the most reliable because the shop supplies the values itself. Automatic collection is the fastest to set up. Manual configuration with CSS selectors works until the page layout changes, so test it after each redesign.