On this page
What this issue is
Enhanced conversions let Google Ads match a conversion (a lead or a sale) to a signed-in Google user, using details the customer typed into your form, such as an email address. Google requires that these details are hashed with SHA-256 before they leave the browser. Hashing turns jane@example.com into a fixed string of letters and numbers that cannot be read back.
Why it costs you leads or sales
Plain emails in tracking requests can break platform rules. Google Ads, GA4 and Meta all forbid sending personally identifiable information (PII) where it is not expected. Accounts can have data deleted or features limited. GA4 may drop the affected hits.
- Visitor submits formEmail typed in
- Tag reads the emailValue passed on as typed
- Request sent unhashedjane@example.com in the request
- Platform rejects or flags itNo match, policy risk
- Smart bidding learns lessFewer matched conversions
The form works, but the tracking step sends the readable email.
How to check if your site has it
Open DevTools on the thank-you flow
In Chrome press F12, open the Network tab and tick Preserve log.
Submit a test lead
Use an address you control, such as test+ads@yourdomain.com.
Filter the requests
Search for
google,doubleclick,collect,facebookandtr?. Then search the whole log for your test address and its URL-encoded form (%40instead of @).Inspect any match
Check the URL and the payload. A 64-character hex or base64 string is a hash and is fine. A readable email is the problem.
Check Tag AssistantGoogle Tag Manager
In Google Tag Assistant, open the conversion tag and look at the enhanced conversions data. It should show user-provided data being hashed.
Check Google Ads diagnostics
In Google Ads go to Goals, then Conversions, then Diagnostics for the action and read any enhanced conversions warnings.
How to fix it
There are two parts: make sure Google's tag hashes the data, and stop the readable email from reaching any other request. The steps depend on how you set up tracking.
Use the built-in user-provided data
Open your Google Ads conversion tracking tag, tick Include user-provided data from your website and pick a User-provided Data variable. GTM hashes the values for you.
Map fields in the variable
In the User-provided Data variable choose Manual configuration and point Email to a data layer variable or a CSS selector for the email field. Do not write your own hash into it unless you hash with SHA-256 correctly.
Remove the email from other tags
Check GA4 event parameters, custom HTML tags and Meta or TikTok tags. Delete any variable that passes the email as a plain parameter.
Preview and publish
Test in Preview mode, then publish the container.
Pass user data to gtag.js
Call
gtag('set', 'user_data', { email: value })before the conversion event. The Google tag normalises and hashes it. If you hash yourself, use SHA-256 on a trimmed, lowercase email.Stop putting the email in URLs
Change the form to POST, or redirect to a thank-you page without query parameters.
Audit your custom events
Search the code for
emailinsidegtag('event',fbq(,dataLayer.pushandttq.calls.
Check your form plugin
Contact Form 7, Gravity Forms, WPForms and others can redirect with field values in the URL. Turn off any option that adds entries to the redirect link.
Review tracking plugins
In plugins such as Site Kit, GTM4WP or a Google Ads plugin, check the enhanced conversions or advanced matching settings. Use the option that hashes the data, or leave it to GTM.
Clear caches
Purge your cache so the old script stops running.
Use the Google & YouTube app settings
In the Google & YouTube sales channel, enable enhanced conversions so Shopify handles hashing.
Remove manual snippets
If you added custom pixels or theme code that pushes
customer.email, remove it or hash it first. Check Settings, then Customer events, and theme.liquid.Check checkout customisations
Look at any additional scripts in the checkout settings for plain email values.
Check the form redirect
In Form settings, make sure the redirect URL has no query string that includes field values.
Check custom code
In Project settings, then Custom code, and on page-level code, look for scripts that send the email to a tag.
Route tracking through GTM
Follow the Google Tag Manager steps so hashing is done by Google's tag.
document.querySelector('form').addEventListener('submit', function () {
var email = document.querySelector('input[type="email"]').value.trim().toLowerCase();
gtag('set', 'user_data', { email: email });
});
// Fire your conversion event after the form succeeds:
// gtag('event', 'conversion', { send_to: 'AW-XXXXXXXXX/YYYYYYYY' });Broken
- Thank-you URL contains ?email=jane@example.com
- Custom event parameter holds the readable email
- Google Ads shows enhanced conversions warnings
Fixed
- Thank-you URL has no personal data
- Google tag sends a SHA-256 hash only
- Diagnostics show enhanced conversions recording
How to confirm it's fixed
- Submit a fresh test lead with a unique email and search the Network log for it, including
%40. It should not appear. - The thank-you URL contains no email, phone number or name.
- Tag Assistant shows user-provided data hashed on the conversion tag.
- Google Ads Diagnostics for the conversion action shows no hashing warnings after a day or two.
- GA4 DebugView events have no email in any parameter.
How to prevent it happening again
This issue tends to return after a form plugin update, a new tag from an agency, or a redesign of the thank-you page. Set a few habits.
- Never pass form values in redirect URLs.
- Review every new tag in GTM Preview before publishing.
- Use one place for enhanced conversions data, preferably GTM.
- Ask agencies and plugins how they handle email hashing.
- Re-test the lead flow after every form or theme change.
How FunnelGuard handles this
FunnelGuard detects this today. Its check, called no_pii_in_tracking, runs your real journey on a schedule with a robot visitor, submits a marked test lead, and looks at the tracking hits sent to ad and analytics platforms. If readable personal data, such as the test email, appears in those requests, the check fails.
Questions people ask
Does Google Ads enhanced conversions need hashed email?
Yes. Google requires that email, phone and address data be hashed with SHA-256 before it is sent. The Google tag and GTM can do the hashing for you when you use the user-provided data setting.
Why is my email showing in plain text in a tracking request?
Usually a form redirects to a thank-you URL with the email in the query string, or a custom tag passes the email as an event parameter. Those requests are not hashed by Google's tag.
How do I check if I am sending unhashed email to Google Ads?
Open Chrome DevTools, go to the Network tab, submit a test lead and search the log for your test email and its %40 version. A readable match in a Google, Meta or analytics request means it is unhashed.
Do I need to hash the email myself in Google Tag Manager?
Not if you use the Include user-provided data option on the Google Ads tag. GTM normalises and hashes the values for you. Only hash by hand in custom code, using SHA-256 on a trimmed, lowercase value.
Is a hashed email still personal data?
Yes, hashing does not make data anonymous. It is the format ad platforms require, and you still need consent and a privacy notice that cover it.
Can sending plain email to GA4 get my account in trouble?
Yes. Google's policies forbid sending personally identifiable information to Analytics. Affected data can be removed and the account may be limited.
What is the fastest way to stop an email appearing in my thank-you URL?
Change the form's redirect so it goes to a clean thank-you page with no query string, or submit by POST. Then retest and check the address bar.
Can FunnelGuard detect unhashed emails in tracking?
Yes. Its no_pii_in_tracking check submits a marked test lead and flags readable personal data in tracking requests, then alerts you with a screenshot and a likely cause.
Related issues
- TRK-150Enhanced conversions not sending hashed email/phoneFix guide
- TRK-152Enhanced conversions selector pointing to wrong fieldFix guide
- TRK-160Enhanced conversions for leads not matching CRM uploadsFix guide
- TRK-148gclid not stored in hidden form field / CRMFix guide
- TRK-136Wrong conversion ID or labelFix guide
- TRK-135Google Ads conversion tag missing on thank-you pageFix guide