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
- 1Sign in to Google Analytics and open Admin.
- 2Under Data collection and modification, choose Data streams.
- 3Choose the website stream.
- 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
- 1Turn on email redaction. Google says it is on by default for new properties but must be enabled by hand on older ones.
- 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.
- 3Add each personal parameter name to the redaction list.
- 4Use the test section Google provides to preview the result before relying on it.
| Redacted by this feature | Not caught by this feature |
|---|---|
| Likely email addresses in event parameters | Names and phone numbers typed into a normal address path |
| Values of parameters you list in the URL | Parameters you forgot to list |
| Text in page address and link fields | Request header values such as the referrer header |
| Web data streams | Data 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
- Google Analytics Help — [GA4] Data redaction