Skip to main content

Osano

Manage cookie consent with Osano.
Mintlify includes a built-in cookie consent banner that asks visitors for consent before your site tracks analytics or marketing cookies. Use it if you need a lightweight way to comply with GDPR and similar regulations without setting up a third-party platform. To turn the banner on or off:
  1. In your dashboard, go to Settings > Privacy.
  2. Toggle Consent banner on to show the banner to visitors, or off to hide it.
When the banner is enabled, analytics integrations only send events for visitors who grant consent. Revoking consent reloads the page so already-loaded analytics scripts are torn down. If you need to check if a user has already consented to cookies for GDPR compliance, you can specify a local storage key and value under cookies:
If you set these values, your site checks local storage for the specified key and value to determine if a user consented to cookies. If a user has not consented to cookies, your site disables telemetry for that user. If you’d like to disable telemetry for all users, add the following to your docs.json file:
If you disable telemetry, you cannot collect feedback on your documentation pages, even if you enable feedback in your dashboard.