PermitoSelf-hosted cookie banner, preference center and consent gates for React, Next.js and any site via a script tag. No network calls, no tracking, no dark patterns.
pnpm add @permitojs/core @permitojs/reactPermito is a consent toolkit you ship inside your own app instead of loading from a third-party server. Optional categories are opt-in, "Reject all" carries the same weight as "Accept all", and nothing that needs consent loads before it is given.
It is built for agencies in Switzerland, Germany and Austria: German, Swiss German, English, French and Italian are included, Google Consent Mode v2 is wired in, and the Next.js helpers read consent on the server so gated content never flashes.
Example
A short exampleCopy it into your project.
app/providers.tsx
"use client"
import {
ConsentBanner,
PermitoProvider,
PreferenceCenter,
PreferencesButton,
} from "@permitojs/react"
import "@permitojs/react/styles.css"
export function Providers({ children }: { children: React.ReactNode }) {
return (
<PermitoProvider
config={{
consentVersion: "2026-10",
language: "de-CH",
categories: [
{ id: "necessary", required: true },
{ id: "statistics" },
{ id: "marketing" },
],
}}
privacyPolicyUrl="/datenschutz"
googleConsentMode
>
{children}
<ConsentBanner />
<PreferenceCenter />
<PreferencesButton />
</PermitoProvider>
)
}Features
What you getFree under MIT, with Pro on top.
Free, MIT
- Opt-in banner where "Reject all" is as prominent as "Accept all"
- No tracking and no network calls: consent lives in your own cookie
- Gates for scripts, iframes and components, safe for Next.js
- Google Consent Mode v2, Global Privacy Control and 9 languages
- Drop-in script tag, Vue and Svelte bindings, WCAG 2.2 AA checked
Pro
- Everything in Free
- Service catalog with 71 sourced providers and a generated cookie table
- Scanner and GTM container check that find what loads before consent
- Self-hosted consent log with evidence export and audit report
- Monitoring of many client sites with weekly alerts
- Theme templates and a WordPress plugin generator
All features in detail
Free, MIT
- Opt-in by default, with "Reject all" exactly as prominent as "Accept all"
- No network calls and no tracking: consent is stored in your own cookie
- Gate scripts, iframes and components with ConsentScript, ConsentIframe and ConsentGate
- Server-safe Next.js helpers, so gated content never flashes on load
- Google Consent Mode v2 with a configurable category mapping, plus consent bridges for Microsoft UET, Microsoft Clarity and Matomo
- German, Swiss German, English, French, Italian, Spanish, Dutch, Polish and Portuguese built in (the last four not yet reviewed by native speakers); keyboard and screen-reader accessible
- Decisions expire after a number of days you choose, Global Privacy Control is honoured on request, and a choice applies in every open tab at once
- Drop-in script tag for WordPress, static sites and CMS templates, with the same banner and preference dialog, no React needed
- Starting points for 15 common services (YouTube, Google Analytics 4, Meta Pixel, HubSpot and more) with provider and privacy policy URL, without cookie claims, and a size check that keeps the bundle in bounds
- Vue 3 composables and plugin and Svelte stores on top of the same core engine, plus guides for Nuxt, SvelteKit, Remix and Astro that read the stored decision on the server
- Checked accessibility: automated WCAG 2.2 AA scans of banner, preference center and embed placeholder plus keyboard tests in Chromium, Firefox and WebKit on every change, and guides for strict Content Security Policy and Subresource Integrity
- Purposes with stable ids and a webhook that tells your own backend about every change, so a withdrawal can reach CRM and e-mail tool (since 2.0)
Pro
- Service catalog with 71 providers, each entry sourced from the provider's own documentation with a retrieval date
- Cookie table for your privacy policy, generated from the same config as the banner, with a CI check that fails when it drifts
- Self-hosted consent log for Next.js, Express and Fastify: hashed visitor ID, no IP address, no user agent
- Scanner that reports cookies, storage and third-party requests that appear before consent
- Six theme templates with checked contrast, plus a two-step banner and a modal layout
- GTM container check: matches the tags of a Google Tag Manager export to catalog services before go-live and exits with 1 on findings, reading the file only
- Monitoring many client sites: one scan run over a sites file, with a weekly GitHub Action template that opens one issue per site and comments only on new differences
- Catalog changes per project: after an update, lists what changed for your own services and exits with 1 when the cookie table needs to be regenerated
- Consent statistics from the log: acceptance rates per category and service for a period, as a German or English report for clients, without personal data
- Evidence export of the consent log as NDJSON or CSV for a period, with a manifest, SHA-256 and an optional HMAC signature, plus a check that shows whether file or manifest were changed afterwards
- Audit report in German or English as Markdown and HTML: configuration, site scan, catalog freshness and the evidence manifest in one document, with missing parts marked as not checked
- Seals for the consent log: a keyed hash chain over the entries of a period, linked from period to period, so later changes, removals and additions are detectable; seals hold only entry IDs and hashes
- Catalog texts and cookie table headings in German, English, French, Italian and Spanish, and a freshness check for CI that lists catalog entries older than a limit
- WordPress plugin generator: one JSON file becomes a plugin that loads the banner, blocks scripts that other plugins enqueue by handle (also WooCommerce) and adds shortcodes for the settings link and the cookie table
- Receiver for the Permito 2.0 consent webhook: writes each change to the consent log, passes withdrawals on to connected systems with retries, and keeps proof of which system confirmed what (since 2.0)
- Consent Mode check (beta): reads the consent state of Google tag requests while the page loads without interaction and reports tags that run granted or without a state, plus `permito gtm-template` for an importable Tag Manager container with the default consent state (beta) (since 2.1)
- Alerts for new observations: the weekly monitor can post to a Slack or Teams webhook and names which observations are new per site, those active before consent first (since 2.1)
| Feature | Free | Pro |
|---|---|---|
| Cookie banner and preference center | Included | Included |
| Consent gates for scripts, iframes and components | Included | Included |
| Google Consent Mode v2 | Included | Included |
| Microsoft UET, Clarity and Matomo bridges | Included | Included |
| DE, DE-CH, EN, FR, IT, ES, NL, PL, PT translations | Included | Included |
| Consent expiry, Global Privacy Control, tab sync | Included | Included |
| Script tag for sites without React | Included | Included |
| Vue and Svelte adapters | Included | Included |
| Service catalog | Not included | Included |
| Cookie table for the privacy policy | Not included | Included |
| Consent log | Not included | Included |
| Cookie and script scanner | Not included | Included |
| Theme templates and layouts | Not included | Included |
| GTM container check | Not included | Included |
| Monitoring many client sites | Not included | Included |
| Catalog changes per project | Not included | Included |
| Consent statistics and client reports | Not included | Included |
| Signed evidence export of the consent log | Not included | Included |
| Audit report (Markdown/HTML, DE/EN) | Not included | Included |
| Tamper-evident seals for the consent log | Not included | Included |
| Licence | MIT | Per person |
| Support | GitHub issues | Agency and Lifetime |
Pro
Pro packagesAdd-ons on top of the core.
Try the themes, browse the catalog and read a real scanner report. The demo also shows the GTM container check, the monitoring of many client sites and the catalog changes per project.
@weber-development/permito-catalogReady-made, sourced service definitions for common providers.
@weber-development/permito-cookie-tableRenders the cookie table for your privacy policy from the same config.
@weber-development/permito-logSelf-hosted consent log, with a receiver that passes withdrawals on to your systems and keeps the proof.
@weber-development/permito-scannerLists the cookies, storage and requests a site sets before consent, checks the Consent Mode of Google tags and monitors many sites with alerts.
@weber-development/permito-themesTheme templates and layouts for @permitojs/react.
Pricing
PricingPrices are in CHF.
Permito Pro is also part of the Compliance Bundle. See the Compliance Bundle
Freelancer
For one person working on client projects.
CHF 190
per year
2 months free
- 1 person
- No support entitlement
Agency
RecommendedFor teams of up to ten named people, one price.
CHF 590
per year
2 months free
- Up to 10 people
- Support included
Lifetime
Pay once for up to ten people and keep updates and repository access.
CHF 1’990
one-time
- Up to 10 people
- Support included
11 people or more: get in touch
- After cancelling, every version you already received keeps working. Only updates and repository access end.
- No licence key, no phone-home. The packages never contact a server to check your licence.
- Agency and Lifetime cover up to ten named people for one price: you choose the number of seats at checkout and assign them in Polar. Your clients and their websites need no licence of their own.
- Checkout, invoices and VAT are handled by Polar as merchant of record.
FAQ
QuestionsShort answers.
Who needs a licence?
Every person on your team who works with the Pro packages. Freelancer covers one person. Agency and Lifetime cover up to ten named people for the same price: you pick the number of seats at checkout, assign them in Polar, and each person connects their own GitHub account. For eleven or more, get in touch.
What happens when I cancel?
Every version you already received keeps working, in every project you used it in. Only new updates and access to the private repository end.
Do my clients need their own licence?
No. The licence covers the people building the sites. The websites you deliver and the clients who own them need nothing.
Is there a licence key or usage tracking?
No. The packages are installed from a private GitHub Packages registry and never contact a licence server.
Who issues the invoice, and is VAT included?
Polar sells Permito Pro as merchant of record. It handles checkout, invoices and VAT for your country.
Can I use the open-source part on its own?
Yes. @permitojs/core and @permitojs/react are MIT-licensed and complete without Pro.
Articles
ArticlesGuides and release notes.
2026-10-13
Compliance Bundle 2.0: all five packages on 2.0, plus new Pro extensionsPermito, Surjection, Logarithm, Inverse and Witness are on 2.0, for free and Pro. Pro 2.1 adds a case inbox and monitoring for Inverse, a Consent Mode check for Permito and pull request comments for Surjection, all marked beta. Prices stay as they are.
2026-10-05
The Compliance Bundle: three Pro add-ons, one licencePermito Pro, Surjection Pro and Logarithm Pro together from CHF 49 a month. New compliance packages join at no extra cost. Also: new prices for Cosine Pro and Derivative Pro.
Latest release notes
All release notes →