6 Effective Methods to Delete PII Data From GA4 Reports

At least once a week, go through all of your reports in your GA4 property to find any accidental leak of PII (Personally Identifiable Information) data.

PII data can often appear as an event name, event parameter, page URL or page title.

PII data can also be passed through user id, measurement protocol or data import.

For example, you can search for ‘@’ in the ‘Pages and Screens’ report to check if any email addresses have been captured.

The results will show up If there are any email addresses captured in the report.

Similarly, you can also run the same validation in the ‘Events’ reports as well.

Below are some of the regex formats that you can use to identify the PII data in GA4 reports:

To identify full email ID formats:

([a-zA-Z0-9_\.-]+)@([\da-zA-Z\.-]+)\.([a-zA-Z\.]{2,6})

To identify social security numbers:

Subscribe to keep reading & get free access to GA4 Mastery Course

This content is free, but you must be subscribed to OptimizeSmart Newsletter to continue reading.

I consent to receive newsletters via email. Terms of use and Privacy policy.

Already a subscriber?Sign in.Not now