portfolio
Every case study here answers one question: measurable outcome.
Detect and Remove PII from GA
Found and removed a GDPR/CCPA-exposing PII leak in Google Analytics, then built next-day leak detection so it can't happen silently again.
Outcome
- ↓PII exposure window, from external report to next-day internal alert
- ↑compliance posture under GDPR/CCPA
- GA consultants flagged a PII leak in Google Analytics data.
- A real, externally-flagged compliance exposure under GDPR and CCPA, with no team formally owning GA implementation at the time.
- As the technical owner of GA, took the fix directly rather than waiting for a team assignment.
- Needed a solution that matched industry best practice, not an improvised patch, so researched before building.
- Engaged a Java developer to customize the scrub script.
- Shipped a custom scrub script with monitoring and alerting.
- The GA 4.0 migration created a new PII leak, exposing that the original script wasn't compatible with the new GA version. Caught fast specifically because the monitoring already in place flagged it, and fixed from there.
My Role
Owned the incident response end to end: validation, leadership communication, research, and the ongoing monitoring build. Partnered with an engineer and a Java developer on implementation.
Problem & Risk
Live PII exposure in Google Analytics data, a direct GDPR/CCPA compliance risk with potential for regulatory sanction and real user harm if left unaddressed.
Customer Discovery & Validation
Validated the source of the leak and sized the affected data before acting, rather than reacting to the consultant's report alone.
Context
GA consultants reached out about a PII leak. No team was responsible for the implementation, and I was the technical owner of GA.
Timeline
What We Did
- Validated the source and size of the leak, informed leadership
- Researched industry best practices, engaged a Java developer to customize the scrub script
- Tested the fix, implemented ongoing monitoring and alerting
PII leak flagged externally
sized + researched
scrub script shipped
GA 4.0 breaks it
caught next-day, fixed
Who Benefits
GA data is clean of PII, and any recurrence surfaces as a next-day alert instead of an external report.
Next Steps
Would read Simo Ahava's GA blog before touching anything GA-related next time, to catch compatibility issues ahead of migrations.