Skip to content
Ale Cabrera

SHIPPED · ZAPIER · INCIDENT RESPONSE

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.

Incident response

  1. Day 0
    Kickoff: GA consultants flag a PII leak, no owning team
  2. Day 1
    Discovery: leak sized, industry scrub practices researched
  3. Day 3
    Fix: custom scrub script deployed and tested
  4. Later
    Feedback: GA 4.0 migration breaks the script, new leak surfaces
  5. Next
    Ship v2: monitoring and alerting added, next-day leak detection

What happened, in order

  1. PII leak flagged externally
  2. Sized + researched
  3. Scrub script shipped
  4. GA 4.0 breaks it
  5. Caught next-day, fixed

The risk, and what happened

RiskHow it was handledResult
Compliance. Live PII exposure in Google Analytics data, a direct GDPR/CCPA compliance risk with potential for regulatory sanction and real user harm.Validated the source of the leak and sized the affected data before acting. Researched industry best practice, then shipped a custom scrub script with monitoring and alerting.GA data is clean of PII, and any recurrence surfaces as a next-day alert instead of an external report.

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.

What went wrong. The GA 4.0 migration created a new PII leak: the original script wasn't compatible with the new GA version. Caught fast because the monitoring already in place flagged it, and fixed from there.

Product leader with a data scientist past · Zapier, Clearbit, HubSpot

Product doc: ale-cabrera.com/portfolio/pii-detection-ga