Install and embed Klaro via CDN
masterTo use Klaro on your website via CDN, you must embed both a configuration file and the Klaro script. Important: The configuration script must be loaded before the Klaro script.
Replace [klaro-version] with a specific version number (e.g., v0.5.30). Avoid using the latest tag to prevent breaking changes during updates.
If you prefer to provide your own styles, you can use klaro-no-css.js and include klaro.min.css separately.
<!-- make sure the config gets loaded before Klaro -->
<script defer type="text/javascript" src="config.js"></script>
<script defer type="text/javascript" src="https://cdn.kiprotect.com/klaro/[klaro-version]/klaro.js"></script>