Under the GDPR and ePrivacy Directive, you must obtain user consent before setting non-essential cookies (analytics, marketing, tracking). Here is how to implement a compliant cookie consent solution.
Option 1: Complianz (Recommended)
- Install Complianz – GDPR/CCPA Cookie Consent.
- Run the cookie scan wizard — it automatically detects cookies on your site.
- Configure your consent banner design and text.
- Set up cookie categories (Functional, Analytics, Marketing).
- Complianz automatically blocks scripts until consent is given.
Option 2: CookieYes
- Install CookieYes | GDPR Cookie Consent.
- Scan your site for cookies.
- Customize the banner appearance.
- Configure which scripts require consent.
Option 3: Real Cookie Banner
A German-developed plugin popular in the DACH region, specifically designed for GDPR and German/Austrian privacy law requirements.
Key Requirements for Compliance
- Prior consent — Non-essential cookies must not be set before consent.
- Granular choice — Users must be able to accept/reject by category.
- Easy rejection — Rejecting must be as easy as accepting (no dark patterns).
- Revocable — Users must be able to change their consent at any time.
- Documentation — You must log and store consent records.
Verify with InspectWP
InspectWP lists all cookies your site sets. Use this to verify your cookie consent solution is working — no tracking cookies should appear before consent.