Skip to content

fix: Add documentation for fixing page not loading with Osano's strict compliance mode #1044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/integrations/osano-managed-rule.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 27 additions & 1 deletion integrations/privacy/osano.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Osano"

Check warning on line 2 in integrations/privacy/osano.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

integrations/privacy/osano.mdx#L2

Did you really mean 'Osano'?
---

Add the following to your `docs.json` file to add the [Osano](https://www.osano.com/) cookie consent manager.
Expand All @@ -20,8 +20,34 @@

</CodeGroup>

The `SOURCE` can be found as the `src` value in the code snippet generated by Osano. It always starts with `https://cmp.osano.com/`.

Check warning on line 23 in integrations/privacy/osano.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

integrations/privacy/osano.mdx#L23

Did you really mean 'Osano'?

```html Code snippet from Osano
<script src="https://cmp.osano.com/placeholder/placeholder/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 whitelist Mintlify's domain 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 will load even when Osano blocks uncategorized third-party content.
</Info>
</Step>
</Steps>
</Accordion>