Documentation index

Cookie solution ›

Cookie solution release channels


The Iubenda cookie solution is available in four different versions that allow each user to choose the release cycle of the periodic updates that best suits their needs:

  • Current
  • Beta
  • Stable
  • Safemode

At any time you can specify which version you want to use and include the URL in the cookie solution script where you will be replacing the default URL – ie the one shown in the standard code that you can see in the example shown below:

<head>
...

<script type="text/javascript">
  var _iub = _iub || [];
  _iub.csConfiguration = {
    cookiePolicyId: XxX,
    siteId: YyY,
    // ...other config options...
  };
  (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>

...

</head>

Current

The Current channel is the one on which the default version of the iubenda cookie solution is based. The Current version gets updated every two or three weeks; è quello su cui si basa la versione di default della iubenda cookie solution. La versione Current riceve aggiornamenti ogni due o tre settimane; any fixes are applied on this channel as soon as they’re available.

Beta

The Beta channel is the one on which we’ll release all the latest features once they’ve been tested internally. Also in this case will all fixes be applied as soon as they’re available.

Stable

The Stable channel is updated only if at least one month has passed since the release of the new features on the Current channel.

HOW TO RECEIVE ALL THE LATEST UPDATES ON The STABLE CHANNEL

The Stable version also has a dedicated newsletter that allows you to receive an email whenever a new update of the cookie solution is about to be released on this channel. The release dates are set at least two weeks in advance and, apart from exceptional and particularly important cases, fixes are applied on this channel only according to the planned release schedule and announced in the newsletter.

Subscribe to the newsletter of the Stable channel in order to receive all the latest updates for the scheduled releases.

Safemode

Safemode is the new version of the iubenda cookie solution, improved in terms of speed and execution, dependence on external libraries and security when it comes to the activation of the snippets. For more information regarding the characteristics of the new cookie solution, please consult the guide for the introduction of Safemode.

How to modify the release channel

The Current channel is the one which is connected to the default cookie solution. If you wish to use this channel, there’s no need to make any changes to the code snippet which has been generated automatically for you when setting it up first within iubenda.

The Beta channel is connected to the following URL:

  • cdn.iubenda.com/cookie_solution/beta/iubenda_cs.js

To select the Beta channel: it’s sufficient to modify the code of the cookie solution inserting the URL you’ve seen above this paragraph and replace the default link with it. You can see it visualized in the example below.

BEFORE

<head>
...

<script type="text/javascript">
  var _iub = _iub || [];
  _iub.csConfiguration = {
    cookiePolicyId: XxX,
    siteId: YyY,
    // ...other config options...
  };
  (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>

...

</head>

After

<head>
...

<script type="text/javascript">
  var _iub = _iub || [];
  _iub.csConfiguration = {
    cookiePolicyId: XxX,
    siteId: YyY,
    // ...other config options...
  };
  (function (w, d) {
    var loader = function () { 
      var s = d.createElement("script"), 
      tag = d.getElementsByTagName("script")[0]; 
      s.src = "//cdn.iubenda.com/cookie_solution/beta/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>

...

</head>

The Stable channel is connected to the following URL:

  • cdn.iubenda.com/cookie_solution/stable/iubenda_cs.js

To select the Stable channel: it’s sufficient to modify the code of the cookie solution inserting the URL you’ve seen above this paragraph and replace the default link with it. You can see it visualized in the example below.

BEFORE

<head>
...

<script type="text/javascript">
  var _iub = _iub || [];
  _iub.csConfiguration = {
    cookiePolicyId: XxX,
    siteId: YyY,
    // ...other config options...
  };
  (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>

...

</head>

AFTER

<head>
...

<script type="text/javascript">
  var _iub = _iub || [];
  _iub.csConfiguration = {
    cookiePolicyId: XxX,
    siteId: YyY,
    // ...other config options...
  };
  (function (w, d) {
    var loader = function () { 
      var s = d.createElement("script"), 
      tag = d.getElementsByTagName("script")[0]; 
      s.src = "//cdn.iubenda.com/cookie_solution/stable/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>

...

</head>

Safemode is connected to the following URL:

  • cdn.iubenda.com/cookie_solution/safemode/iubenda_cs.js

In order to start using Safemode, it’s sufficient to modify the code of the cookie solution inserting the URL you’ve seen above this paragraph and replace the default link with it. You can see it visualized in the example below.

BEFORE

<head>
...

<script type="text/javascript">
  var _iub = _iub || [];
  _iub.csConfiguration = {
    cookiePolicyId: XxX,
    siteId: YyY,
    // ...other config options...
  };
  (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>

...

</head>

AFTER

<head>
...
<script type="text/javascript">
  var _iub = _iub || [];
  _iub.csConfiguration = {
    cookiePolicyId: XxX,
    siteId: YyY,
    // other config options
  };
</script>
<script type="text/javascript" src="//cdn.iubenda.com/cookie_solution/safemode/iubenda_cs.js" charset="UTF-8" async></script>
...
</head>

Example

Here’s an example for a typical scenario which will help you with understanding the mechanism on which the updates are based (which depend on the channel chosen):

  • On day 0 version 0.11.36 is available on all channels
  • On day 1 version 0.12.0 gets released on the Beta channels
  • On day 2 version 0.12.1 gets released on the Beta channels
  • On day 4 version 0.12.2 gets released on the Beta channels
  • On day 1 + week 2 version 0.12.2 gets released on the Current channels
  • On day 1 + week 3 user of the Stable channel get a notification of version 0.12.2
  • On day 1 + week 4 version 0.12.2 gets released on the Stable channel

In case in which a fix needed to be released on day 4, the Beta and Current channels are updated immediately while the channel Stable isn’t (except in cases with very particular importance):

  • On day 3 version 0.12.2 gets released on the Beta channel
  • On day 3 version 0.11.37 gets released on the Current channel

The release process resumes like before:

  • On day 4 version 0.12.3 gets released on the Beta channel
  • On day 1 + week 2 version 0.12.3 gets released on the Current channel
  • On day 1 + week 3 users of the Stable channel get notified of the imminent release of version 0.12.3
  • On day 1 + week 4 version 0.12.3 gets released on the Stable channel

How to choose a specific version of the cookie solution

If you want to use a particular version of the cookie solution, it’s sufficient to modify the code adding the URL like the one in the example below:

  • cdn.iubenda.com/cookie_solution/versions/0.11.36/iubenda_cs.js

“0.11.36” is in this case the used version. To choose a different version, it’s enough to indicate it instead of “0.11.36”.

NOTE

The available versions are uniquely the ones released on the Current and Stable channels.

Changelog

The complete changelog of the various release channels can be found in following this link.


Still have questions?

Visit our support forum Email us