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:
53
.paul/STATE.md.bak
Normal file
53
.paul/STATE.md.bak
Normal file
@@ -0,0 +1,53 @@
|
||||
# Project State
|
||||
|
||||
## Project Reference
|
||||
|
||||
See: .paul/PROJECT.md (updated 2026-04-26)
|
||||
|
||||
**Core value:** Strona internetowa na WordPress ze szkoleniami
|
||||
**Current focus:** RODO compliance — early consent update + PYS granular filter
|
||||
|
||||
## Current Position
|
||||
|
||||
Milestone: v0.1 Initial Release
|
||||
Phase: 1 of 1+ (RODO / Cookie Consent Compliance) — Planning
|
||||
Plan: 01-01 created, awaiting approval
|
||||
Status: PLAN created, ready for APPLY
|
||||
Last activity: 2026-04-26 — Created .paul/phases/01-rodo-cookie-consent/01-01-PLAN.md
|
||||
|
||||
Progress:
|
||||
- Milestone: [░░░░░░░░░░] 0%
|
||||
- Phase 1: [░░░░░░░░░░] 0%
|
||||
|
||||
## Loop Position
|
||||
|
||||
Current loop state:
|
||||
```
|
||||
PLAN ──▶ APPLY ──▶ UNIFY
|
||||
✓ ○ ○ [Plan created, awaiting approval]
|
||||
```
|
||||
|
||||
## Accumulated Context
|
||||
|
||||
### Decisions
|
||||
- Cookie Notice Pro = custom jQuery plugin Flerosoft, w `Divi/libs/CookieNoticePro/` — nie standardowy WP plugin
|
||||
- Cookies: `cnp_consent` (true/false), `cnp_prefs` (JSON URL-encoded array kategorii)
|
||||
- `cookies.php` includowany w `header.php` linia 4 (przed wp_head linia 28) — Consent Mode v2 defaults już OK
|
||||
- PYS natywna integracja z `cookie-notice` nie ma zastosowania (to inny plugin)
|
||||
- Rozwiązanie: PHP early update (priority 1 wp_head) + granularne filtry pys_disable_*_by_gdpr
|
||||
|
||||
### Deferred Issues
|
||||
- Konfiguracja GTM kontenera (tagi/triggery consent-aware) — poza scope planu 01-01
|
||||
|
||||
### Blockers/Concerns
|
||||
- Brak znanych blokerów
|
||||
|
||||
## Session Continuity
|
||||
|
||||
Last session: 2026-04-26
|
||||
Stopped at: Plan 01-01 created (zaktualizowany po informacji o Cookie Notice Pro)
|
||||
Next action: Review and approve plan, then run /paul:apply .paul/phases/01-rodo-cookie-consent/01-01-PLAN.md
|
||||
Resume file: .paul/phases/01-rodo-cookie-consent/01-01-PLAN.md
|
||||
|
||||
---
|
||||
*STATE.md — Updated after every significant action*
|
||||
Reference in New Issue
Block a user