iubenda Cookie Solution – Introduction and Getting Started

Here you will learn everything you need to know about the iubenda Cookie Solution:

First, take a look at this test website to see how the iubenda Cookie Solution works.

iubenda Cookie Solution demo

Introduction to Cookie Law and cookie policy

In most of Europe there are laws that require digital publishers to disclose the use of cookies to their users. In many cases – depending on the local version of the cookie laws – these laws also require that consent be obtained prior to the installation of the cookies. We can better understand how this works by looking at a specific country.

In Italy, on June 2nd 2015 Law no. 229/201 entered into force, requiring website managers to obtain the express consent of visitors to store cookies, which are not strictly required for the website’s operation. In order to ensure compliance with the law, it is important to display a notice (short notice and extended notice) on the website, as well as to ask for consent before the installation of cookies. The brief notice consists of a clearly visible banner that will be shown in a shortened version when the visitor first opens the page and which contains a link to the extended policy (or cookie policy), as well as some basic information.

iubenda has built a solution for this European law, which has been tested in Italy, one of the countries with the strictest implementations of the Cookie Law.

Who is subject to the Cookie Law?

The implementation of the Cookie Law depends on the legislation under which the website operates. In general, websites that use third-party cookies as well as their own cookies for tracking and analytics must comply with the law and to do so are required to obtain the user’s express consent.

Further information about Cookie Law

For further details on the Cookie law, we invite you to read our documentation and the official statements from the country you might be affiliated with or targeting. Great guidance can be accessed through the Article 29 Working Party (which is a group comprised of various data protection regulators that aim to simplify Europe’s diversity):

Further local reading:

The iubenda Cookie Solution allows you to manage all aspects of the Cookie Law, in particular:

  • easily inform users via banner and a dedicated cookie policy page (which is automatically linked to your privacy policy and integrates what’s necessary for Cookie Law compliance);
  • obtain and save cookie consent settings;
  • preventively block scripts prior to consent; and
  • keep track of consent and save consent settings for each user for up to 12 months from the last site visit.

You can collect consent via multiple mechanisms including continued browsing, scrolling, and/ or specific clicking actions. Keep in mind though that allowed consenting actions may differ depending on the Member State law.

Below you will find all necessary steps to use iubenda to make sure you comply with the Cookie Law.

How to generate a cookie policy with iubenda

  • Access the dashboard
  • Click on the privacy policy for which you want to activate the Cookie Solution or create a new one
  • From the privacy policy editing page, click on the Activate/Configure cookie policy button on the right column. By activating this option, your cookie policy will be generated automatically based on the configuration of your privacy policy. You don’t have to do anything else
  • At this point a window will open and you will be provided with a code and a link. The code must be placed on every page of your website, preferably within the HEAD tag. You can choose whether to insert the link on your website (it is entirely optional, because a link to the cookie policy is automatically inserted in the privacy policy created with our service)
iubenda Cookie Banner

The installation of the cookie banner is very easy. You need to insert the following code snippet before the end of the HEAD tag:

<script type="text/javascript">
    var _iub = _iub || [];
    _iub.csConfiguration = {
        "lang": "en",
        "siteId": XXXXXX, //use your siteId
        "cookiePolicyId": YYYYYY, //use your cookiePolicyId
        "banner": {
            "position": "top"
<script type="text/javascript" src="//" charset="UTF-8" async></script>

Don’t use the code shown above, it’s just a sample code. Instead, use the code attached to your cookie policy, which you can obtain by following the steps listed above. For information on how to configure or customize the banner or to better understand how to access all of the available options, please read the documentation on the cookie banner.

How and when to preemptively block codes/cookies

According to the Data Protection Working Party, a European think tank and advisory body on data protection and privacy, few categories of cookies are exempt from the consent requirement. Therefore, all other codes that install or can install cookies must be preemptively blocked before consent is obtained.

For more information and a technical guide on how and when to block codes, see the documentation on code blocking.

See also

Still have questions?

Visit our support forum Email us