Repository navigation
Releases
v0.1.0
First public release.
What it is
A WordPress must-use plugin that gives visitors a way to reopen the Cloudflare Zaraz consent modal and withdraw consent. It is 89 lines in one file, with no admin screen, no enqueued stylesheet and no external request. It registers one wp_footer action and reads the cf_consent cookie.
What it is not
The plugin does not gate anything. Gating is Zaraz's, driven by defaultPurpose on each tool. A tool with no purpose assigned skips consent by Cloudflare's own default, so consent switched on over an empty purpose map is a system that gates nothing.
Zaraz can only gate Zaraz tools. Anything loaded first-party by WordPress is not a Zaraz tool, so no purpose reaches it. A site whose tracking is a first-party enqueue gets a modal and a cookie while that tracking continues.
The README documents the Cloudflare side in full, including the prerequisite order, because a half-finished configuration looks finished and the failure is silent.
Requirements
WordPress, and Zaraz enabled on the zone. GPL-2.0-or-later.