Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Enhanced conversions sending unhashed email: how to fix it

TRK-151High impactDetectedBy FunnelGuardPublished Updated
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.

How a raw email breaks the chain
  1. Visitor submits formEmail typed in
  2. Tag reads the emailValue passed on as typed
  3. Request sent unhashedjane@example.com in the request
  4. Platform rejects or flags itNo match, policy risk
  5. 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

Check your tracking requests for a readable email
  1. Open DevTools on the thank-you flow

    In Chrome press F12, open the Network tab and tick Preserve log.

  2. Submit a test lead

    Use an address you control, such as test+ads@yourdomain.com.

  3. Filter the requests

    Search for google, doubleclick, collect, facebook and tr?. Then search the whole log for your test address and its URL-encoded form (%40 instead of @).

  4. 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.

  5. 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.

  6. 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.

Fix by platform
  1. 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.

  2. 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.

  3. 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.

  4. Preview and publish

    Test in Preview mode, then publish the container.

Send user data to the Google tag so it hashes the emailjavascript
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' });
Tracking request before and after

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

Confirmation checks
  • 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.

Prevention 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.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: no_pii_in_tracking.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.