Documentation menuDocumentation
Permito documentation
Self-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.
Try the live demoStart
Guides
- Next.js (App Router)Set up Permito in a Next.js App Router project with server-side cookie reading.
- React with ViteUse Permito in a client-rendered React app.
- Without ReactUse the core engine with any stack, or build your own UI.
- Vue and NuxtReactive consent state for Vue 3 with composables, on top of the core engine.
- Svelte and SvelteKitConsent state as Svelte stores, without a Svelte dependency.
- Server frameworksRead the stored decision and the GPC signal on the server in SvelteKit, Remix, Astro and Nuxt.
- Without a framework (script tag)Banner, preference center and gating for WordPress, Webflow, Astro or plain HTML with one script tag.
- WordPressAdd the Permito banner to a WordPress site with the script tag build, from a small plugin or a child theme.
- Blocking scripts and embedsLoad third-party code only after consent.
- Google Consent Mode v2Send consent signals to Google tags.
- Microsoft UET, Clarity and MatomoForward the visitor's decision to Microsoft Advertising, Microsoft Clarity and Matomo.
- Lifetime, GPC and tabsLet decisions expire, honour Global Privacy Control and keep open tabs in sync.
- Withdrawal across systemsMake a withdrawn consent reach your CRM, e-mail tool and analytics backend, not only the scripts in the browser. Applies to the GDPR and to laws like India's DPDP Act.
- Content Security Policy and SRIRun Permito under a strict CSP and pin the script tag build with Subresource Integrity.
- ThemingAdapt the look with CSS variables, classes or fully headless.
- TranslationsBuilt-in languages and how to change texts.
- Migrating to 2.0What changes in Permito 2.0, who is affected, and how to upgrade from 1.x without asking visitors again.
- Migrating to 1.0What changed between 0.x releases and what to check when you move to 1.0.
Reference
- ConfigurationAll options of ConsentConfig.
- ComponentsProps of all React components.
- HooksReact hooks for reading and changing consent.
- Core APIFunctions exported by @permitojs/core.
- AccessibilityWhat is tested automatically, what is built in, and what still needs a manual check.
- API statusWhich parts of the API are stable, what is not part of the promise, and what is deprecated.
- Versioning and supportHow Permito versions are numbered, how long a release gets fixes, and how to report a security problem.