PactbasePactbase DocsDocs
Architecture

Consent lifecycle

How consent is collected, stored, changed, withdrawn, proved and erased.

A person's consent is a series of decisions in one append-only ledger: one row per purpose per Save, never updated and never deleted. Whatever channel a decision comes from, it is written the same way, with its evidence. The current state of a person's consent is never stored. It is worked out from the ledger: the newest row per purpose wins.

StageWhat happens
1. SetupYou define purposes and cookie categories, create collection points, set up the banner, and publish the Purpose Registry as a versioned notice.
2. AskedThe visitor sees the banner, the consent block in a form, or the hosted page.
3. Given or refusedOne Save is one consent event: one ledger row per purpose, all sharing one Consent ID.
4. ActiveCurrent consent is the newest row per purpose. The script runs or holds tags to match.
5. Changed or withdrawnA new event with the new decisions. Withdrawing is as easy as giving consent. The script removes the cookies of a withdrawn category.
6. RenewedThe person is asked again when their decision is older than your consent duration, when a new Purpose Registry version is published, or when a new purpose is added.
7. ProvenThe Consent ID, a PDF receipt, the per-person history in the admin app, and a CSV export.
8. ErasedWhen an erasure request is resolved, the person's ledger rows are pseudonymised and their IP and browser are cleared. What was decided, when, and under which notice stays as anonymous proof.

Channels

Every channel writes the same ledger record. The channel is kept as the record's source.

ChannelSourceWho it is recorded for
Cookie banner and preferencesbanner, preference_centerAn anonymous browser id
Global Privacy ControlgpcAn anonymous browser id; optional cookie purposes are refused
Consent block in a formformThe email typed in the form
Manage my datapreference_centerThe email, verified by a one-time code or by your app through the API
Your app or backendapiThe email you send
Re-consent campaign linkemail_linkThe email the link was sent to
Parental consentparentalThe child's account, decided by the guardian

What a record holds

FieldMeaning
SubjectAn anonymous id (anon_...) or an email
PurposeWhat consent was asked for
DecisionGranted or refused. Withdrawal is a refusal after a grant
Kinddecision, or notice_shown for a legitimate-use purpose (informed, nothing agreed)
Consent IDShared by every row of one Save. It is on the receipt
Notice versionThe Purpose Registry version the person saw
Collection point and websiteWhere it was given
EvidenceTime, IP address and browser

This is a product description, not legal advice. How the law applies to your processing is for you and your counsel to decide.

On this page