Iubenda logo
Start generating

Documentation

Table of Contents

What’s the Difference Between the Integration of the Privacy Policy and the Privacy Controls & 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 Privacy Controls and 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 Privacy Controls and 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 Privacy Controls and Cookie Solution

The iubenda Privacy Controls and 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 Privacy Controls and Cookie Solution – Introduction and Getting Started.

Integrating it into your website is simple. Insert the following script in the <head> tag as the first element:

<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 Privacy Controls and Cookie Solution: banner, cookie policy and consent management.

NB: after having installed the Privacy Controls and 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 Privacy Controls and Cookie Solution: preventing code execution that could install cookies.

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

Important

The iubenda plugins are useful when it comes to simplifying the installation of the Privacy Controls and 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.