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
- Visitor books a servicePicks 'HIV test' on your booking form
- Tag firesEvent name: hiv_test_booked
- Sent to platformsGA4, Meta, Ads receive the name plus visitor IDs
- Profile builtPerson is tied to a health condition
The problem starts at the event name, and every later step carries it onward.
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
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.
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.
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.
Check hard-coded scripts
Search your theme and plugins for
gtag('event',fbq('trackCustom',ttq.trackanddataLayer.push. Plugins for forms or booking often create event names from the form title.Check parameters too
Look at event parameters, page titles and URLs for the same words. A neutral event name with
service=hiv_teststill leaks.
| Risky event name | Why it is a problem | Safer name |
|---|---|---|
| applied_debt_consolidation | Shows financial hardship | lead_submit |
| booked_fertility_consult | Reveals a health matter | booking_complete |
| bad_credit_loan_start | Reveals credit status | application_start |
| therapy_intake_done | Reveals mental health care | form_complete |
How to fix it
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.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.
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.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.
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.
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.
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.
Check triggers and variables
Rename triggers and any Data Layer variables that expose the service. Publish a new container version and test in Preview.
Check form and booking plugins
Open the analytics settings of your form or booking plugin. Many build the event name from the form title, so rename the form or set a custom event name.
Check analytics plugins
In plugins such as Site Kit or MonsterInsights, review custom events and remove any with sensitive names.
Review Customer events
Go to Settings > Customer events and open each custom pixel. Look for event names or
analytics.publishcalls with sensitive labels.Check apps
Review installed marketing apps that send their own events and turn off any that send product-level health or finance labels.
Check custom code
In Site settings > Custom code and page-level code, search for
gtag(,fbq(anddataLayer.pushand rename the events.Check form names
If a tag uses the form name, rename sensitive form names in the Designer.
Rename the calls
Search your codebase for event calls and replace the names with neutral ones. Do not build names from user input or form values.
Add an allow list
Wrap tracking in one function that only accepts approved names, as in the snippet below.
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
- 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
- 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.
Related issues
- TRK-355Email address in page URL query string sent to GA4Fix guide
- TRK-359PII in page_title ("Thanks John")Fix guide
- TRK-360PII in dataLayer pushed to all vendorsFix guide
- TRK-361Hashed PII sent without consentFix guide
- TRK-365Search query with PII in site search trackingFix guide
- TRK-358Form field values sent in GA4 click textFix guide