Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Health or financial data in event names: how to find and fix it

TRK-363High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

An event name is the label a tracking tag sends when something happens on your site, such as purchase or generate_lead. Some teams name events after the exact service a visitor picked. Examples: hiv_test_booked, depression_quiz_completed, payday_loan_applied, bankruptcy_consult_request.

Why it costs you leads or sales

How a sensitive event name leaves your site
  1. Visitor books a servicePicks 'HIV test' on your booking form
  2. Tag firesEvent name: hiv_test_booked
  3. Sent to platformsGA4, Meta, Ads receive the name plus visitor IDs
  4. Profile builtPerson is tied to a health condition

The problem starts at the event name, and every later step carries it onward.

Event naming: risky vs safe

Sensitive names

  • debt_relief_application_submitted
  • std_test_booked
  • anxiety_quiz_completed
  • Name reveals condition or hardship

Neutral names

  • lead_submit
  • booking_complete
  • quiz_complete
  • Detail stays in your CRM, not in the tag

How to check if your site has it

Audit your event names
  1. List events in GA4Google Analytics 4

    In GA4 go to Admin > Data display > Events (or Reports > Engagement > Events). Read every event name, including custom ones.

  2. Read your tag managerGoogle Tag Manager

    In Google Tag Manager open Tags and check the Event Name field of each GA4, Google Ads, Meta and other tag. Also check the Variables and Triggers names, since they sometimes end up in parameters.

  3. Watch live traffic

    Open GTM Preview mode or the Meta Pixel Helper and Network tab. Walk through your booking or application flow and note every event name sent, plus the page URL and parameters.

  4. Check hard-coded scripts

    Search your theme and plugins for gtag('event', fbq('trackCustom', ttq.track and dataLayer.push. Plugins for forms or booking often create event names from the form title.

  5. Check parameters too

    Look at event parameters, page titles and URLs for the same words. A neutral event name with service=hiv_test still leaks.

Examples of risky names and safer replacements
Risky event nameWhy it is a problemSafer name
applied_debt_consolidationShows financial hardshiplead_submit
booked_fertility_consultReveals a health matterbooking_complete
bad_credit_loan_startReveals credit statusapplication_start
therapy_intake_doneReveals mental health careform_complete

How to fix it

Replace sensitive event names
  1. Define a neutral naming list

    Use generic names that describe the action, not the service: lead_submit, booking_complete, application_start, quiz_complete. Write them down for the whole team.

  2. Rename events at the source

    Change the event name in your code, plugin or tag. Do not just rename it in the reporting view, because the old name has already been sent.

  3. Remove sensitive parameters

    Delete parameters that carry the service, condition or loan type. If you need segmentation, use a coarse value such as form_type=contact.

  4. Pause the old tags

    Disable or delete tags and triggers that send the old names to GA4, Meta, Google Ads, TikTok and others. Check each platform separately.

  5. Keep detail in your own CRM

    Store the service type in your CRM or database, where access is controlled. Match leads to campaigns with a neutral ID or UTM, not a sensitive label.

  6. Clean up platform settings

    Mark old events as not used, remove them from custom conversions and audiences, and review data deletion options in each platform. Ask your privacy lead whether past data must be deleted.

Where to rename events by platform
  1. Edit the Event Name field

    Open each GA4 Event tag and Meta tag. Replace the sensitive name with a neutral one, or use a constant variable so the name is set once.

  2. Check triggers and variables

    Rename triggers and any Data Layer variables that expose the service. Publish a new container version and test in Preview.

Allow list for event namesjavascript
const ALLOWED_EVENTS = ['lead_submit', 'booking_complete', 'application_start', 'quiz_complete'];

function track(name, params) {
  if (!ALLOWED_EVENTS.includes(name)) {
    console.warn('Blocked unapproved event name:', name);
    return;
  }
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({ event: name, ...params });
}

// Good
track('lead_submit', { form_type: 'contact' });
// Blocked
track('applied_debt_relief');

How to confirm it's fixed

Confirmation checklist
  • Run the full booking or application flow with GTM Preview or the browser Network tab open
  • Every event name seen is on your approved neutral list
  • No sensitive words appear in event parameters, page URL or page title
  • Old tags are paused in GTM, plugins and hard-coded scripts
  • GA4 DebugView and Meta Events Manager (Test events) show only the new names
  • Old events stop receiving new hits after a day or two
  • Service detail is stored in your CRM, not sent to ad platforms

How to prevent it happening again

Prevention habits
  • Keep a written naming guide with approved event names
  • Add a privacy review step before any new tag or event is published
  • Use an allow list in code so unapproved names are blocked
  • Never build event names from form fields, product names or user input
  • Review the GA4 events list and tag manager every quarter
  • Limit who can publish in your tag manager

How FunnelGuard handles this

Questions people ask

Can I send health data in event names to Google Analytics or Meta?

You should not. Google Analytics and Meta both have policies against sending sensitive health information, and privacy laws such as GDPR treat health data as a special category. Use neutral event names like booking_complete and keep the detail in your own systems.

Why is my event name a privacy problem if I don't send the person's name?

Platforms link events to a visitor through cookies, click IDs or hashed emails. An event named debt_relief_applied attached to that ID tells the platform something sensitive about that person, even with no name attached.

What counts as sensitive financial data in tracking?

Anything that reveals a person's money difficulties or detailed financial status, such as debt relief, bankruptcy, bad credit loans or income level. Card numbers and bank details must never be sent at all. Rules vary by country and platform, so check with your privacy lead.

How do I rename a GA4 event that already has data?

You cannot rename past data. Change the event name at the source (code, plugin or tag manager), stop the old event firing, and mark the old event as unused. Ask your privacy lead whether old data should also be deleted.

How do I find out which event names my site sends?

Open GA4 under Admin > Data display > Events, check every tag in Google Tag Manager, and walk through your forms with GTM Preview or the browser Network tab open. Also search your code for gtag('event', fbq( and dataLayer.push.

Does FunnelGuard detect sensitive data in event names?

No. FunnelGuard does not check this yet; it is a possible future check. It does test that your tracking hits reach platforms like GA4 and Meta after each change, which helps when you rename events.

Is it safe to put the service type in an event parameter instead?

No. Parameters travel with the event to the same platforms, so a value like service=hiv_test leaks just as the name would. Use coarse values such as form_type=contact and store the detail in your CRM.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

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.