# Telemetry Privacy Compliance

`@v2/telemetry-privacy-compliance` applies consent, GDPR opt-in, CCPA
Do-Not-Sell/Share opt-out, retention, and PII redaction rules to telemetry
batches before optional analytics processing.

The package composes `@aphrodite/consent-engine` decisions with
`@v2/telemetry-ingestion` payload rules. Required operational telemetry stays
limited to short-retention session, crash/error, purchase, and compliance facts.
Optional matchplay and behavioral telemetry require the applicable consent and
are suppressed when regional controls or the persisted `Privacy.TelemetryOptOut`
setting require it.

Targeted verification:

```bash
pnpm --filter @v2/telemetry-privacy-compliance run typecheck
pnpm --filter @v2/telemetry-privacy-compliance run test
python V2/ue/Tools/check-v2-telemetry-privacy-compliance.py
```
