Files
mintlify[bot] f8e015ff62 Improve SEO descriptions across 177 pages (#4993)
* Improve SEO metadata: update descriptions to 130-155 chars across 177 pages

Generated-By: mintlify-agent

* Apply suggestion from @ethanpalm

* Apply suggestions from code review

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

* 💅

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2026-03-31 16:12:58 -07:00

56 lines
1.9 KiB
Plaintext

---
title: "Osano"
description: "Integrate Osano with your Mintlify documentation site to manage cookie consent banners, privacy preferences, and regulatory compliance."
keywords: ["Osano integration", "cookie consent manager", "GDPR compliance"]
---
Add [Osano](https://www.osano.com/) cookie consent to your docs with a [custom JavaScript file](/customize/custom-scripts#custom-javascript) in your repository.
## Setup
Create an `osano.js` file in your docs repository with the following content:
<CodeGroup>
```js Format
var script = document.createElement("script");
script.src = "OSANO_SCRIPT_URL";
document.head.appendChild(script);
```
```js Example
var script = document.createElement("script");
script.src = "https://cmp.osano.com/your-tenant-id/your-site-id/osano.js";
document.head.appendChild(script);
```
</CodeGroup>
Replace `OSANO_SCRIPT_URL` with your Osano script URL. Your script URL is the `src` value in the code snippet that Osano generates. Your script URL always starts with `https://cmp.osano.com/` and ends with `/osano.js`.
## Troubleshooting
<Accordion
title="Pages not loading with Strict compliance mode"
>
If your documentation pages aren't loading properly when using Osano's **Strict** compliance mode, you'll need to add Mintlify's domain to your allowlist to allow images and other assets to load.
<Steps>
<Step title="Navigate to Managed Rules">
In your Osano dashboard, go to **Scripts** → **Managed Rules**.
</Step>
<Step title="Add Mintlify domain">
Add `.mintlify.app/` as a managed rule.
<Frame>
<img src="/images/integrations/osano-managed-rule.png" alt="Osano managed rule" />
</Frame>
<Info>
This ensures that all Mintlify-served assets (including images, stylesheets, and other documentation resources) are treated as essential and load even when Osano blocks uncategorized third-party content.
</Info>
</Step>
</Steps>
</Accordion>