Documentation index

FAQ ›

What’s the difference between the integration of the privacy policy and Cookie Solution?


The iubenda online service allows you to generate a privacy and a cookie policy for your website/app. It also allows you to comply with the EU Cookie Law through what we call the iubenda Cookie Solution (which handles the cookie banner and the blocking of scripts/cookies until your users express their consent).

The online policy generator and the Cookie Solution are thus different services and must both be integrated into your website/app as described below.

Integration of the privacy/cookie policy

In order to generate a privacy policy for your website/app, please refer to the Getting started with iubenda guide. Once the policy has been generated, you will be able to integrate it using one of the following methods:

The cookie policy will be automatically generated based on the content of your privacy policy. Even if the cookie policy is linked inside the privacy policy by default, you can also embed it into any page of your site following the instructions provided in this guide Can I integrate the Cookie Policy within my website using the direct text embedding and API?.

Notice: The Privacy Policy must be linked and available from every page of your website, for this reason, we suggest you add its link to the footer of the website.

Integration of the Cookie Solution

The iubenda Cookie Solution is the answer to managing the technical requirements of the Cookie Law (following the EU Directive).
It allows you to display a well recognized cookie banner, collect consent from your users and to preventively block the scripts that could install cookies. For further information please refer to this guide iubenda Cookie Solution – Introduction and Getting Started.

Integrating it into your website is simple. Insert the following code snippet before the end of the HEAD tag:

<script type="text/javascript">
  var _iub = _iub || [];
  _iub.csConfiguration = {
    cookiePolicyId: XxX,
    siteId: YyY,
    lang: "en"
  };
  (function (w, d) {
    var loader = function () { var s = d.createElement("script"), tag = d.getElementsByTagName("script")[0]; s.src = "//cdn.iubenda.com/cookie_solution/iubenda_cs.js"; tag.parentNode.insertBefore(s, tag); };
    if (w.addEventListener) { w.addEventListener("load", loader, false); } else if (w.attachEvent) { w.attachEvent("onload", loader); } else { w.onload = loader; }
  })(window, document);
</script>

The code above is an example. To generate your own code, just click on “Activate/Configure cookie policy” which you will find located in the sidebar on the right (inside the management page of each privacy policy within your own iubenda account).

For more information on how to install the banner on your site and how to stylize it, as well as program its behaviour, please refer to Technical documentation for the iubenda Cookie Solution: banner, cookie policy and consent management.

NB: after having installed the Cookie Solution, you must also configure the blocking of scripts that could install cookies by choosing one of the methods described in this guide: iubenda Cookie Solution: preventing code execution that could install cookies.

Finally, if you use WordPress or Joomla! the installation of the Cookie Solution can be simplified with our dedicated plugins:

Important

The iubenda plugins are useful when it comes to simplifying the installation of the Cookie Solution, but they are not meant to facilitate the privacy/cookie policy integration. Do not insert the code of the privacy/cookie policy inside the plugin..


Still have questions?

Visit our support forum Email us