Architecture
Components
The parts of Pactbase and what each one does.
| Component | What it does |
|---|---|
| Website script | One script on your site. Shows the cookie banner and widget, holds trackers until consent, renders the consent block inside your forms, and sends Google Consent Mode signals. See Cookie script. |
| Admin app | Where your team sets up purposes, collection points, the banner, notices and policies, handles rights requests and grievances, and manages API keys and webhooks. |
| Hosted pages | Public pages for the people whose data you hold: Trust Center, Manage my data, rights requests, grievances, and the re-consent page. They work on a link, with an emailed code where a person must be verified. |
| Public API | Read consent records and a person's current consent, and record consent from your own systems. Authenticated with API keys. See API. |
| Webhooks | Signed events pushed to your systems when consent changes or a rights request moves. See Webhooks. |
| Cookie scanner | Visits your website in a real browser and reports the cookies, trackers and storage it finds, and whether any are set before consent. |
| Accounts and access | Sign-in, sessions, team roles per module, and an audit log of who did what. |
| Notifications | Sends the emails the product needs: verification codes, case updates and re-consent requests. |
How a request flows
Saving consent never waits for a webhook and never fails because of one.
Choosing how to connect
| You have | Use |
|---|---|
| A website | The cookie script, plus the consent block inside your forms |
| A form tool in an iframe (Google Forms, Typeform, Tally) | The tool's own checkbox and the API through n8n or a small script |
| A mobile app or backend | In-app consent with the API |
| A CRM or mailing list that must stop at withdrawal | Webhooks |