How-to Guide

GA4 Data Redaction for a Counseling Practice Site

Short answer

Data redaction in Google Analytics 4 removes likely email addresses and any URL parameters you list from events before they are collected. A counseling practice turns it on under the web data stream, lists parameter names such as email, name or phone, tests the result, and still keeps private details out of page addresses.

By Gio LaRocheUpdated 6 min read
Get my free auditor call (561) 291-2681

Page addresses carry more than people expect

A page address can end with extra text, such as a question mark followed by a name or an email address. Forms, email links and booking tools sometimes build addresses that way. Google Analytics records the address of each page a visitor sees, so anything in it can land in the practice reports.

For a counseling practice, the cleanest fix is to stop putting personal details in addresses at all. Data redaction is the second layer, for the cases that slip through.

What Google says the feature does

Google describes data redaction as client-side text redaction that helps prevent collecting personal information by accident. It uses text patterns to identify likely email addresses and removes the matching text before the event is sent. Collection then carries on as normal.

It also lets you list URL query parameters to redact. You enter the parameter names, for example firstname or email_address, and Google redacts those values in the page address fields and in a few related link and form fields. It applies to web data streams.

Where to find it

  1. 1Sign in to Google Analytics and open Admin.
  2. 2Under Data collection and modification, choose Data streams.
  3. 3Choose the website stream.
  4. 4In the Events section, choose Redact data.

Google says you need Editor access or higher on the property. If you only have Viewer access, ask whoever owns the account to make the change.

Setting it up in four moves

  1. 1Turn on email redaction. Google says it is on by default for new properties but must be enabled by hand on older ones.
  2. 2Find the parameter names your site really uses. Open a booking link, a thank-you page and an email link, and read what follows the question mark.
  3. 3Add each personal parameter name to the redaction list.
  4. 4Use the test section Google provides to preview the result before relying on it.
Redacted by this featureNot caught by this feature
Likely email addresses in event parametersNames and phone numbers typed into a normal address path
Values of parameters you list in the URLParameters you forgot to list
Text in page address and link fieldsRequest header values such as the referrer header
Web data streamsData sent by other routes, such as Measurement Protocol

Why the list needs a human

Redaction only knows the parameter names you give it. A booking vendor can change a parameter name after a software update, so the list can go stale quietly. Put a quarterly check on the calendar.

The better fix is upstream

Redaction does not make an unsafe address safe. The practice should ask its web developer and its booking and form vendors not to place names, emails, phone numbers or visit reasons in any page address. Use a generic thank-you page address with no extras, and keep forms sending their contents in the form body and not in the link.

Google itself notes that the ultimate responsibility for meeting regulatory requirements stays with the entity collecting data. Treat redaction as a safety net and not a compliance promise.

How to check it worked

  • Open the Realtime report or DebugView while you visit a test page with a made-up parameter in the address.
  • Look at the page address the event reports and confirm the value is replaced.
  • Repeat with a made-up email address in the address and confirm it is masked.
  • Use only made-up test values, never a real client's details.

Our guide to testing a new event with the Realtime report shows the routine. Write the date of the check and the parameter list in a shared note so the next person can repeat it.

Frequently asked questions

Does data redaction fix data that was already collected?

Google describes it as working on events before collection. Its help page does not say it cleans data that was already collected, so do not assume it does.

Who can change the redaction settings?

Google says Editor access or higher on the property is needed.

Does it work for app data streams?

No. Google lists it for web data streams only.

Is email redaction perfect?

No. Google says detection is best-effort, and it may over-redact text that contains an at sign followed by a domain ending.

Does turning it on make a practice compliant?

No. Google states responsibility for meeting regulatory requirements stays with the organization collecting data.

Sources

Keep reading

Ready to Grow Your Practice?

Primara is now accepting new independent practices nationwide. Most new engagements begin within one week.

Send Us a Message

We respond within one business day.

* Required field

We'll call to confirm your consultation.

No spam, ever. HIPAA-aware agency. We respond within one business day. For urgent inquiries, call (561) 291-2681.

Founder-LedHIPAA-AwareServing Practices Nationwide