# PII in Analytics Events

> Detects PII being sent to analytics platforms like Google Analytics, Mixpanel, or Amplitude in event properties.

- Skill: `zakirkun/pii-in-analytics-events` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zakirkun/pii-in-analytics-events`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zakirkun/pii-in-analytics-events/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: zakirkun (https://skillmd.com/u/zakirkun)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zakirkun/pii-in-analytics-events

---


# PII in Analytics Events

## Overview
Sending PII to analytics platforms violates GDPR (data minimization principle) and the Terms of Service of most analytics vendors (e.g., Google Analytics prohibits sending PII). Common violations:
- Email addresses in user identification
- Full names in event properties
- Health conditions in custom dimensions

## Remediation
- Use anonymized or pseudonymized identifiers in analytics
- Hash email addresses before sending (but this is still PII under GDPR)
- Audit all analytics events for PII before going live

