feat(01-rodo-cookie-consent): RODO compliance — Consent Mode v2 + Facebook Pixel blokada

Phase 1 complete:
- fbq noop na wp_head priority 1 — blokuje Facebook Pixel ze wszystkich źródeł (HFCM, PYS, woo-product-feed-pro) gdy brak zgody marketingowej
- Early gtag consent update PHP-side dla powracających użytkowników — eliminuje race condition z GTM
- Granularne filtry pys_disable_*_by_gdpr — PixelYourSite honoruje kategorie marketing/analytics
- Fix: wp_unslash() przy odczycie $_COOKIE (WP wp_magic_quotes addslashes)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-27 00:46:41 +02:00
parent b073e009d8
commit 100689450b
10 changed files with 658 additions and 32 deletions

View File

@@ -7,18 +7,25 @@ Serwis edukacyjny na WordPressie z katalogiem szkoleń, systemem rezerwacji i p
## Current Milestone
**v0.1 Initial Release** (v0.1.0)
Status: Not started
Phases: 0 of TBD complete
Status: In progress
Phases: 1 of 1+ complete
## Phases
| Phase | Name | Plans | Status | Completed |
|-------|------|-------|--------|-----------|
| 1 | TBD | TBD | Not started | - |
| 1 | RODO / Cookie Consent Compliance | 1 | ✅ Complete | 2026-04-27 |
## Phase Details
Phases will be defined during `/paul:plan`.
### Phase 1: RODO / Cookie Consent Compliance ✅
**Goal:** Zapewnić zgodność z RODO — GTM i Facebook Pixel nie uruchamiają się przed wyrażeniem zgody.
**Plans:**
- `01-01`: Google Consent Mode v2 + PixelYourSite GDPR filter + fbq noop ✅
**Result:** Facebook Pixel zablokowany bez zgody marketingowej (fbq noop), Consent Mode v2 early update dla powracających użytkowników, PYS filtry per-kategoria.
---
*Roadmap created: 2026-04-26*
*Roadmap updated: 2026-04-27 — Phase 1 complete*