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 = {
    "siteId": XXXXXX, // your siteId,
    "cookiePolicyId": YYYYYY, // your cookiePolicyId,
    "lang": "en"
  };
</script>
<script type="text/javascript" src="https://cs.iubenda.com/autoblocking/3095420.js"></script>
<script type="text/javascript" src="///cdn.iubenda.com/cs/iubenda_cs.js" charset="UTF-8" async></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.

Please note that the remote configuration feature simplifies the implementation process. Most changes made in the Privacy Controls and Cookie Solution configurator will apply directly to your website without needing to re-embed the code. This makes it easier to keep your site up-to-date.

However, certain changes, such as using a custom CSS, the TCF tile, and US laws support, will still require you to re-embed the code. In any case, when you save your configuration, you will be notified whether the changes will apply directly or if re-embedding the code is necessary.

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.