Cookie Consent

Cookie banner, script gating, legal pages and consent records managed in the admin

Community 9 78/wk MIT v0.1.2

Installation

pnpm add @payload-solutions/plugin-consent

About

Cookie Consent manages the cookie banner, script gating and privacy paperwork of a Payload site from the admin panel. Cookie categories, trackers, processors and legal pages are edited as Payload content, and one config endpoint feeds the banner, the scripts it controls and a generated cookie table, so those three never drift apart.

Visitor decisions are saved as immutable consent records without IP addresses and purged after a retention period. Optional collections cover the privacy policy, terms, cookie policy and sub-processor list, and a legal audit tool checks those documents against your own configuration without calling any AI model.

Package info

Package name
@payload-solutions/plugin-consent
Latest version
0.1.2
Unpacked size
1 MB
License
MIT
Weekly downloads
78
Last publish
Oct 26, 2026

More from mpresecan

View profile

Schedules one-off, recurring and cron-based actions that run on the Payload job queue

Scaffolds a SaaS project on Payload with database, auth, billing and storage chosen up front

Newsletters sent through Resend Broadcasts, with Payload collections as subscriber sources

Triggers Vercel deploy hooks after Payload content changes, with status and rollback

Code-defined transactional emails with admin-editable copy, test sends and a send log

React components and hooks for cookie consent, gated scripts and Consent Mode

Similar plugins

More in Admin

Records who created or updated documents and shows update history in the admin panel

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Appearance panel where each editor picks a style, palette and icons for the admin

Visual drag-and-drop page builder for Payload collections with live canvas editing