Privacy Policy and Terms compliance checklist
The Compliance checklist module in Polski for WooCommerce reads your Privacy Policy and Regulamin (the Polish equivalent of Terms of Service) plus the home page cookie banner, and reports which expected elements it finds, with a 0 to 100% score. It is on by default, uses keyword matching only, and changes nothing on the storefront.
How it works
Section titled "How it works"- The plugin reads the content of the page configured as Privacy Policy or Regulamin (options
polski_privacy_page_id,polski_terms_page_id). - The content is normalised: HTML stripped, case unified, Polish diacritics folded to ASCII (a/c/e/l/n/o/s/z).
- The engine iterates a rule set (22 rules for the Privacy Policy, 19 for the Regulamin) and looks for keyword patterns. A rule passes if any pattern appears in the content.
- The result is presented as a list with OK / Missing markers, severity (Required / Recommended / Optional) and a short hint about what to add.
Configuration
Section titled "Configuration"Go to Polski > Compliance checklist (needs the manage_woocommerce capability). If your legal pages are not yet assigned, create them first with the Legal pages module.
The module is enabled by default. To disable it: Polski > Modules and uncheck "Compliance checklist".
Scope of the checks
Section titled "Scope of the checks"Privacy Policy (GDPR Art. 13) - 22 rules
Section titled "Privacy Policy (GDPR Art. 13) - 22 rules"Required:
- Controller identity
- Contact channel (email or form)
- Purposes of processing
- Legal basis (Art. 6(1) GDPR)
- Retention period
- Recipients of data / processors
- Data subject rights: access, rectification, erasure, restriction, portability, objection
- Right to withdraw consent
- Complaint to the President of UODO (the Polish Data Protection Authority)
Recommended:
- Automated decision-making / profiling
- Transfers outside the EEA
Optional:
- DPO contact (if appointed)
Checks for outdated or unfinished text:
- No reference to the repealed 1997 data protection act (Required)
- No reference to the invalidated Privacy Shield (Required)
- Supervisory authority named as PUODO, not GIODO (Required)
- No unfilled template placeholders (Required)
- No leftovers from a chat with an AI assistant (Recommended)
Cookie banner (active consent) - 10 rules
Section titled "Cookie banner (active consent) - 10 rules"Required:
- Banner presence (cookies / ciasteczka in HTML)
- Accept button
- Reject button with equal visibility
- Category settings / preferences
- Link to Privacy Policy
Recommended:
- Named "Analytics" category
- Named "Marketing / advertising" category
- Mention of the right to withdraw consent
Inverted rule (presence = FAIL):
- "By clicking any link you accept" / "By continuing to use the site you agree" - phrases that imply implied consent, which is not compatible with active consent under GDPR and ePrivacy.
The scanner reads home_url('/'). The result is cached in a transient for 1 hour. Banners rendered only through JS may be invisible to the scan. This section is a heuristic, not a verdict. It also flags push-notification prompts triggered without a prior opt-in banner.
Regulamin (Act on the Provision of Services by Electronic Means + Consumer Rights Act) - 19 rules
Section titled "Regulamin (Act on the Provision of Services by Electronic Means + Consumer Rights Act) - 19 rules"Required:
- Service provider identification (name, NIP / Polish tax ID, REGON / statistical number)
- Address + contact email
- Type and scope of services
- Technical requirements
- Order placement procedure
- Payment methods
- Delivery methods and times
- Right of withdrawal (14 days)
- Withdrawal form
- Complaint procedure
- Reference to the Privacy Policy / GDPR
- Procedure for amending the Regulamin
- Governing law
- Telephone number
- Sole trader buying outside their profession
- No unfilled template placeholders
Recommended:
- Out-of-court dispute resolution (consumer ombudsman, Trade Inspection). Do not link the EU ODR platform: it closed on 20 July 2025.
- Effective date
- No leftovers from a chat with an AI assistant
Result and scoring
Section titled "Result and scoring"Score 0-100%:
- Required: weight 3
- Recommended: weight 2
- Optional: weight 1
Earned points / maximum * 100. All Required rules must be OK before the shop has a solid starting position.
Score colour:
- green >= 90%
- yellow 70-89%
- red < 70%
REST API
Section titled "REST API"GET /wp-json/polski/v1/compliance/page/privacyGET /wp-json/polski/v1/compliance/page/termsGET /wp-json/polski/v1/compliance/cookie-bannerGET /wp-json/polski/v1/compliance/cookie-banner?url=https://example.com/Returns the report as JSON:
{ "page_type": "privacy", "page_id": 42, "content_length": 8421, "score": 94, "has_missing_required": false, "results": [ { "id": "controller_identity", "label": "Controller identity and contact", "severity": "required", "passed": true, "hint": "" } ]}Access: manage_woocommerce capability.
Matching rules
Section titled "Matching rules"Each rule has a list of patterns (Polish + English). Patterns are pre-normalised (lower case, no diacritics). Examples:
"administratorem danych osobowych"- formal Polish wording"administrator danych"- short form"data controller"- English wording
A rule passes if any pattern appears in the content. Adding a new pattern is a one-line change in PrivacyPolicyRules::all() / RegulaminRules::all() - pull requests welcome.
Accessibility (WCAG heuristics)
Section titled "Accessibility (WCAG heuristics)"The cookie banner scan also flags common WCAG 2.1 regressions:
- Reject button hidden, styled as plain text, or placed outside the visible viewport
- Banner blocks keyboard focus without providing an escape route
- Contrast below 4.5:1 on accept / reject buttons (heuristic based on inline styles)
These are starting points for a manual WCAG audit. A full accessibility audit requires assistive-technology testing.
Limitations
Section titled "Limitations"- Keyword heuristic - a rule can pass even when the paragraph is laconic
- No semantic analysis (it does not check whether a retention period is actually described, only whether the word is present)
- Does not check the Cookies Policy, Returns or Warranty pages (separate modules planned)
- Does not evaluate whether a DPO was actually appointed, only whether the mention exists
Does a 100% score mean my privacy policy is compliant?
Section titled "Does a 100% score mean my privacy policy is compliant?"No. The checklist only looks for keywords for each expected element. A rule passes when the word is there, even if the paragraph says too little. A lawyer review is still needed.
Which pages does the checklist read?
Section titled "Which pages does the checklist read?"The pages assigned as Privacy Policy and Regulamin (polski_privacy_page_id, polski_terms_page_id), plus the HTML of your home page for the cookie banner.
Can I run the check from code?
Section titled "Can I run the check from code?"Yes. GET /wp-json/polski/v1/compliance/page/privacy and /compliance/page/terms return the report as JSON for users with manage_woocommerce.