EPAS plugins.
All plugins

Plugin

Cookie Consent & Privacy Policy

Consent that really holds scripts back, a preferences dialog visitors can reopen, Consent Mode v2, a cookie table and a policy draft.

/**

Plugin header

Plugin name:
Cookie Consent & Privacy Policy – EPAS
Version:
1.0.0
Requires at least:
6.4
Requires PHP:
7.4
Languages:
English, Lietuvių
License:
GPL-2.0-or-later
Download size:
83 KB

*/

What it does

  • A preferences dialog visitors can actually use: a switch per category, what each one is for in plain words, and the cookies inside it listed by name, who sets them and what they do. Tab stays inside the dialog, Escape closes it, and focus goes back where it came from — the part most consent plugins skip.
  • A reopen button in the corner, because withdrawing consent has to be as easy as giving it, and "as easy" cannot mean "find the link in the footer". It appears only once a choice has been made.
  • Scripts are really held back. Known analytics and marketing tags — Google Analytics and Tag Manager, Meta Pixel, Hotjar, Clarity, LinkedIn, TikTok, Pinterest and about twenty more — are rendered inert until the visitor says yes, and the browser activates them the moment they do. Nothing waits for a page reload.
  • Cache-safe by design. Every visitor gets byte-identical HTML: consent is read in the browser, not on the server. No cache exclusions, no "please add this cookie to your varies list", no first visitor deciding what the next one sees.
  • Embedded YouTube, Vimeo, Google Maps and social iframes are replaced with a placeholder that names the service, and restored in place when consent is given.
  • Every script in Header, Footer & Body Scripts – EPAS carries its own consent category, so the analytics one waits while the necessary one prints — same page, same place.
  • Google Consent Mode v2 defaults are pushed before any tag loads, and updated on consent — with no call to Google to do it.
  • A privacy policy drafted from what is really installed. The generator reads your active plugins and writes about those, adds an editable cookie table, and always creates a draft — it will never overwrite a page you wrote yourself.
  • An optional consent log for the proof regulators ask for: time, categories, policy version and a truncated IP address. Day limit and row cap, wired into WordPress' own export and erase tools.
  • Accept and Reject are the same size, the same colour and the same distance from the cursor. No cookie wall, no "legitimate interest" pre-ticked, and a Sec-GPC header is honoured as a rejection.

Questions

Does it work with a caching plugin or a CDN?

Yes, and that is the point of how it is built. The HTML is identical for every visitor — held-back scripts are marked inert in the page itself and switched on by the browser — so there is nothing for a cache to get wrong and no exclusion rule to add.

What can it not block?

Honestly: a script it has never heard of. It recognises a specific list of tags by handle and source, plus anything you add through the settings or a filter. A bespoke tracker hard-coded into your theme is invisible to any consent plugin, including the expensive ones — so the settings screen tells you exactly what it is holding back.

Do I still need a lawyer?

The generated policy is a well-organised draft describing what your site actually does, not legal advice, and it says so on the page. It gets you from nothing to something specific and accurate; whether that is enough for your business is a question for somebody qualified.

What does the consent log store?

Only if you switch it on: the time, the categories that were accepted, the policy version, whether it came from the banner or an API call, and an IP address with its last part removed (172.18.0.0, never 172.18.0.42). It is capped by both age and row count, and appears in WordPress' personal-data export and erase tools.

I already use Complianz or CookieYes. What happens?

This one stands down completely — no banner, nothing held back — and says so in one dismissible notice. Two consent banners on one page is worse than none.

How to get it

This plugin is finished and being prepared for the WordPress.org plugin directory. Until it is published there, email us and we will send you the current zip.

Ask for the zip — support@epasplugins.com