Documentation

Cookie Solution changelog

0.13.24 – 2018-04-30

  • If remote configuration is not correctly loaded, Cookie Solution will start with priorConsent in false mode.

0.13.23 – 2018-04-16

  • Typo in the English version of the banner text.

0.13.22 – 2018-03-26

  • Portuguese translation for banner and cookie policy footer.

0.13.21 – 2018-02-13

  • Added consentOnScrollHorizontal option (default false).
    When true, consent is given with horizontal scrolling.
  • Added consentOnScrollOnElement option (default window.document).
    Scroll observation will be handled on the specified element.
  • Added setConsentOnScrollOnElement method to Api interface.
    Method will delete the current scroll detection and sets a new one basing it on the element passed.

0.13.20 – 2018-01-4

  • Fix: consent is given with mouse right click on the Cookie Policy link (only in Firefox).
  • Fix: when options.cookiePolicyInOtherWindow is true, if Cookie Policy has been opened, consent can be given only by clicking on close button.
  • Fix for close button misalignment in Cookie Policy modal.

0.13.19 – 2018-01-3

  • Added Raven and Chrome Headless checks for enabling or disabling tracking.
  • Added a more accurate BOT detection.

0.13.17 – 2017-01-30

  • Added activateSnippets method to Api interface.

0.13.16 – 2017-01-11

  • Refactor of close button (ref v0.13.10).
    Introduced two new options banner.fontSizeButtonClose and banner.fontSizeBody.
    New options are not valid if old banner.fontSize is not null.

0.13.15 – 2016-12-15

  • Removed use of native JSON library: now the methods JSON.parse and JSON.stringify have been implemented internally.
    Previous JSON library used the define method that caused errors when Iub Cookie Solution was not loaded via RequireJS.

0.13.14 – 2016-12-02

  • Added Hotjar in BOT detection.

0.13.13 – 2016-12-01

  • Avoid using the bind function for the bannerCookiePolicyClicked method in ui.js.
    MooTools (v 1.4.5) overwrites the bind function and bannerCookiePolicyClicked method’s parameter did not find a match anymore.
    Applied instead a closure to the bannerCookiePolicyClicked method to keep the current element while parsing the page.

0.13.12 – 2016-11-22

  • Added isConsentGiven method to Api interface.
  • Fix option.consentOnScroll for mobile devices.
    Bug was: when option value is false user is still abled to give consent via scrolling.

0.13.11 – 2016-11-08

  • Fix for close button refactor (ref v0.13.10).
    A null or undefined option banner.innerHtmlCloseBtn will print out the default X close button.

0.13.10 – 2016-10-24

  • Redefining close button.
    Tap area and font-size close text are increased.

0.13.9 – 2016-10-03

  • Fix for French (fr) translation for banner.

0.13.8 – 2016-09-06

  • Added the Api class: interface.
  • Available methods are: consentGiven, printErrors, showCP. Consult this guide for further details.

0.13.7 – 2016-08-30

  • Fix remote consent (if enabled) when consent is given within click on link.
  • Fix for Portuguese (Brazilian) (pt_BR) translation for banner and cookie policy footer.

0.13.6 – 2016-08-09

  • Fix for Finnish (fi) translation for banner and cookie policy footer.

0.13.5 – 2016-08-09

  • Finnish (fi) translation for banner and cookie policy footer.

0.13.4 – 2016-07-26

  • Fix binding of close banner button(s) and cookie policy links(s) in case consent is given.

0.13.3 – 2016-07-26

  • When showing the CP, just the CP url (not the CP link) is passed to IubendaFrame.
    This way decoupling the showing of the CP from the event detection.
  • Bugfix on adding the event listener for bannerCookiePolicyClicked.

0.13.2 – 2016-07-07

  • Chinese translation for banner and cookie policy footer.

0.13.1 – 2016-05-30

  • Decreasing to 200 ms the duration of banner animation.
  • Iubenda banner is removed before consent is stored (and the activation performed).

0.13.0 – 2016-05-25

  • Added Remote Configuration Loader.
    If current CS installation is not enabled, starts in LIGHT mode (priorConsent => false). If something goes wrong while fetching remote configuration (also: timeout 300ms), starts normally.
  • Added stopWatch module to get system timing.
  • consentOnScrollDelay default value decreased to 500.

0.12.11 – 2016-05-12

  • Removed inclusion of Tocca.js file.
    Double tap event is now handled by anonymous function.

0.12.10 – 2016-05-11

  • Added check for Mootools version in isPhantomJs method.
    If Mootools version < 1.6 the condition Function.prototype.bind.toString().replace(/bind/g, ‘Error’) !== Error.toString() always returns true (see v0.12.7).

0.12.9 – 2016-05-10

  • inlineDelay now available as custom option.
    _iub.csConfiguration.inlineDelay = milliseconds (default 800).

0.12.8 – 2016-04-27

  • Enable class ‘iubenda-cs-cookie-policy-lnk’ being used on any element in page.
    All elements with class ‘iubenda-cs-cookie-policy-lnk’ will be handled by bannerCookiePolicyClicked method.

0.12.7 – 2016-04-14

  • Fix for showing warning messages in case an unrecognized option appears before the logLevel option.
  • Added check for Prototype version in isPhantomJs method.
    If Prototype version <= 1.7 the condition Function.prototype.bind.toString().replace(/bind/g, ‘Error’) !== Error.toString() always returns true.

0.12.6 – 2016-03-29

  • Add tracking info about LIGHT (option priorConsent => false) modality.

0.12.5 – 2016-03-23

  • Added BOT detection at IubendaCookieSolution preload method.
    If BOT is detected, banner will not be shown and snippet activation is forced.

0.12.4 – 2016-03-23

  • Added priorConsent option (default true).
    If false snippets activation is performed no matter of prior consent.

0.12.3 – 2016-03-11

  • Scroll event handling for consent detection improved (desktop only).
    Do not take into account scroll on X axis. Do not take into account scroll w/o page movement.

0.12.2 – 2016-03-04

  • Fix for saving cookie in ‘localhost’ domain.
    If saving on ‘localhost’ domain, dot won’t be prepended to the cookie domain (Chrome issue).

0.12.1 – 2016-02-29

  • Added callback onCookiePolicyShown, invoked when cookie policy is shown.
    Callback fired both when cookie policy is shown in the same page (via lightbox) or in another page.
  • Fix for IE on window.open in case of cookie policy opening in other window.
  • Scroll event doesn’t result in consent given until a (customizable) delay has passed.
    Delay customizable via banner.consentOnScrollDelay option (default 1000ms).

0.12.0 – 2016-02-25

  • Do not track if !navigator.cookieEnabled
  • PhantomJS detection added
  • onReady callback provides consent as boolean argument
  • Added/enabled onStartupFailed, onError and onFatalError callbacks
  • onConsentFirstGiven callback added
    callback invoked the first time that user gives consent; ‘documentScroll’, ‘documentMoved’, ‘bannerXClose’, ‘documentClicked’ or ‘cookiePolicyClosed’ is passed as argument.
  • onConsentRead callback added
    Invoked the first time user gives consent at at any further page load when consent is found
  • onConsentGiven callback becomes an alias for onConsentRead
    NOTE: in case callback for onConsentRead is used, onConsentGiven won’t be called

0.11.36.4 – 2016-02-05

  • Enable class ‘iubenda-cs-close-btn’ (by default on banner’s X close button) being used on any element in page
    By clicking on an element with class ‘iubenda-cs-close-btn’, banner closes and consent is given

0.11.36.3 – 2016-02-04

  • In CookieSolutionTracker, fix for accessing jQuery when $ shorthand is not the jQuery one
    Magento installations, for example, has $ shorthand taken by Prototype lib

0.11.36.2 – 2016-01-28

  • Changing .size() method in .length.
    .size() method is deprecated as of jQuery 1.8. The .length property is preferred because it does not have the overhead of a function call

0.11.36.1 – 2015-12-03

  • Fix for accessing jQuery with no $ shortcut (as in WordPress)

0.11.36.0 – 2015-12-01

  • Iframe activation via tag rebuilding (options.rebuildIframe, default false)
  • prependOnBody option now defaults to false
  • Original classes, attributes and properties for scripts/iframes preserved after their rebuilding via options.preserveOriginalClasses (default false)
  • _iub_cs_activate class for scripts/iframes preserved after their activation via options.preserveIubClasses (default false)

0.11.35.4 – 2015-11-20

  • Indonesian translation for banner and cookie policy footer

0.11.35.3 – 2015-11-09

  • ‘noLog’ log level added (as default)
  • Polish translation for banner and cookie policy footer

0.11.35.2 – 2015-11-02

  • Dutch translation for banner and cookie policy footer

0.11.35.1 – 2015-10-12

  • Fix on tracker.js to use jQuery if $ accessor is not available

0.11.35 – 2015-09-21

  • Do not track bots

0.11.34 – 2015-09-19

  • Tracks over hits-i.iubenda.com
  • Fix onReady callback invocation in case consent is not given

0.11.33 – 2015-07-31

  • Improvements on statistics component

0.11.32 – 2015-07-31

  • Two step loading for iubenda_cs.js (to save bandwidth and speed up loading)

0.11.31 – 2015-07-17

  • Statistics component updated

0.11.30 – 2015-07-13

  • Enable snippets containing FB.init(…) only once the FB object is available

0.11.29 – 2015-07-13

  • Suspend stats for incoming refactoring

0.11.28 – 2015-07-10

  • Preserve data-
  • attributes found in the snippets to be activated on consent

0.11.27 – 2015-06-30

  • Load JSON3 custom implementation either if JSON is not defined or JSON.stringify() is not defined

0.11.26 – 2015-06-25

  • Russian translation for banner and cookie policy footer
  • Cookie policy caption in banner fixed for the following languages: Spanish, French, Brazilian Portuguese and German

0.11.25 – 2015-06-23

  • Limit the number of prefs cookies on local domain

0.11.24 – 2015-06-22

  • Path for storing the prefs cookie in local domain now customizable via options.localConsentPath

0.11.23 – 2015-06-19

  • Fix on url validity check while detecting click on element for consent

0.11.22 – 2015-06-16

  • Fix for Windows Phone
  • noConflict mode for JSON3

0.11.21 – 2015-06-10

  • Cookie Policy window iframe scrolling property set to ‘yes’ if a custom privacy policy url is provided

0.11.20 – 2015-06-10

  • REQUIRE cookiePolicyId in \_iub.CsConfiguration
  • Fix [ERROR]: Unrecognized message from iFrame bridge: {“action”:”remoteCookiesCompact”}
  • Do not listen to scroll events in document coming from marquee elements

0.11.19 – 2015-06-08

  • Option localConsentDomain to specify the domain in which local consent has to be saved

0.11.18 – 2015-06-05

  • (P) private changes

0.11.17 – 2015-06-04

  • Handle saving local pref cookies for .co.uk domains

0.11.16 – 2015-06-03

  • (P) private changes

0.11.15 – 2015-06-03

  • In case of reloadOnConsent, reload page when prefs is found remotely

0.11.14 – 2015-06-02

  • Fix for IE 7 and 8

0.11.13 – 2015-06-01

  • Store local cookie in encoded format

0.11.12 – 2015-05-30

  • Option reloadOnConsent (default false) to reload page when user gives consent
  • Option cookiePolicyInOtherWindow (default false) to open the cookie policy link in another window
  • Loads jQuery from cdn.iubenda.com

0.11.11 – 2015-05-30

  • Fixes for Mobile Devices

0.11.10 – 2015-05-30

  • Fix for activate \_iub_cs_activate_iframe and \_iub_cs_activate_notused snippets

0.11.9 – 2015-05-29

  • Store local consent in _iub_cs-ID cookie (instead of _iub_cs-local)
  • Option hideInIframe (default false) to hide banner if page is loaded in iframe

0.11.8 – 2015-05-27

  • Handle storing and reading cookies on local domain in case url is straight IP

0.11.7 – 2015-05-27

  • Safe-guard on \_iub.cs in case of page using massive js injections that lead to multiple code executions

0.11.6 – 2015-05-27

  • Fix timeout on remote callback fired
  • Banner I18n

0.11.5 – 2015-05-27

  • Patch for the 0.11.4

0.11.4 – 2015-05-27

  • Fix on remote callback timeout occurred in case of multiple timeout firing

0.11.3 – 2015-05-26

  • Handling of consent given via click on document improved

0.11.2 – 2015-05-25

  • Statistics tweaks and improvements

0.11.1 – 2015-05-24

  • (P) private changes

0.11.0 – 2015-05-24

  • Events statistics to hits.iubenda.com

0.10.10 – 2015-05-22

  • Banner [#iubenda-cs-banner] as first element of body
  • Cookie Policy iframe [#iubenda-iframe] placed out of the banner
  • Fix for custom font-size and color on banner’s content

0.10.9 – 2015-05-22

  • Option callback.onBannerShown activated
  • Fix on getting user consent when banner animation is turned off via initial configuration

0.10.8 – 2015-05-22

  • Fix !important on some banner’s styles to override host page styles

0.10.7 – 2015-05-21

  • Fix on user provided font-size and color in banner

0.10.6 – 2015-05-21

  • Activate imag and iframe tags via replacement of suppressedsrc attribute
  • suppressedsrc attribute replacement available also for script tags

0.10.5 – 2015-05-20

  • Better error handling on IE<9

0.10.4 – 2015-05-20

  • Fix banner’s animation when applyStyle is false

0.10.3 – 2015-05-20

  • Option :banner.slideDown (default true) available to avoid the slideDown banner animation
  • Option :enableRemoteConsent (default true) available to avoid getting/setting remote consent
  • Option :consentOnScroll (default true) available to skip giving consent on scroll action

0.10.2 – 2015-05-20

  • Placeholder for incoming siteId configuration option

0.10.1 – 2015-05-19

  • Do not react to scroll event starting from when the user clicks on the cookie policy link
  • When positioning the cookie policy iframe, does not take into account the pageYOffset/scrollTop

0.10.0 – 2015-05-19

  • Activate script tags (default mode) via ‘_iub_cs_activate’ class

0.9.2 – 2015-05-18

  • Avoid overriding Array object with clean/iubClean function

0.9.1 – 2015-05-18

  • Cross-site prefs via iframe (cdn.iubenda.com/cookie_solution/iframe_bridge.html)

0.9.0 – 2015-05-17

  • Patch for Joomla installations (ver <= 2.5)
  • Fix banner’s X (close) button to avoid appending ‘/#’ on url at button click
  • Fix on banner animation
  • Customizable close button in banner
  • Customizable banner

0.8.10 – 2015-05-13

  • Fix network error handling on getting preference from remote cookie

0.8.9 – 2015-05-13

  • Store local preference cookie on wildcard second level domain

0.8.8 – 2015-05-13

  • Bug fixes

0.8.7 – 2015-05-12

  • While listening for click on document, take into account also clicked elements that are inside an a or a button tag
  • Default banner content updated

0.8.6 – 2015-05-11

  • Remove debugging alert

0.8.5 – 2015-05-11

  • Fix for WordPress installations
  • Position ‘fixed’ for the banner (#iubenda-cs-banner)
  • Consent is NOT given until the banner is shown
  • Default log level set to ‘info’

0.8.4 – 2015-05-10

  • Default banner content updated

0.8.3 – 2015-05-08

  • Private fixes

0.8.2 – 2015-05-08

  • Private fixes

0.8.1 – 2015-05-07

  • Private fixes

0.8.0 – 2015-05-07

  • Prefs cookie is stored first in locale domain, then in remote domain (for now .iubenda.com)
  • Prefs cookie is read first locally. If (and only if) it’s not found, cookie it’s read remotely

0.7.2 – 2015-05-07

  • options.autoStart default value changed to: true
  • options.activate.classes default value changed to [‘_iub_cs_activate’]

0.7.1 – 2015-05-06

  • Banner Style Fix

0.7.0 – 2015-05-06

  • Preference cookie content updated

0.6.1 – 2015-05-06

  • Zepto Fixed

0.6.0 – 2015-05-06

  • Auto-detect synchronous/asynchronous embedding modality
  • Fix ‘window.onload not implemented’ error that sometimes rises up in IE8

0.5.1 – 2015-05-05

  • Style on p tag in banner

0.5.0 – 2015-05-05

  • Preference cookie now identified by cookiePolicyId and set in .iubenda.com domain
  • Fix clashes between iubendaIFrame for PP and for Cookie Policy

0.4.1 – 2015-05-04

  • Info saved in preference cookie reworked

0.4.0 – 2015-05-04

  • Presets commented out
  • Reading/applying _iub.csConfiguration fixed

0.3.4 – 2015-05-04

  • Objects as cookie values now available as cross-site cookies

0.3.3 – 2015-04-30

  • Fix for cookie policy’s z-index

0.3.2 – 2015-04-30

  • Cookie policy’s z-index greater than the banner’s z-index (by one)

0.3.1 – 2015-04-30

  • Default JS library moved back to jQuery

0.3.0 – 2015-04-30

  • Preference cookie now include timestamp on update
  • Preference cookie expiring date always updated to 12 months if found

0.2.1 – 2015-04-30

  • Zepto lib url over https
    https://cdn-dev.iubenda.com/cookie_solution/zepto.min.js

0.2.0 – 2015-04-30

  • Callback
    Now Customer can activate a Snippet via custom callback

0.14.13 – 2018-08-7

  • Loading new version of cmp source.

0.14.12 – 2018-08-7

  • Loading of the version of the cmp returning dynamic values for gdprApplies and gdprAppliesGlobally.
  • Bugfix for exception being thrown when parsing vendors json.

0.14.11 – 2018-08-6

  • Updated French, German, Russian and Spanish banner translations.
  • Added two config params for controlling the cmp (gdprApplies and gdprAppliesGlobally).

0.14.10 – 2018-07-24

  • Added Privacy Policy I18n labels for cmp
  • Added more IAB i18n labels.
  • Fix: when the consentOnButton option is set to false, clicking on a tag with the valid url in the href will not provide consent.

0.14.9 – 2018-07-11

  • Fix: cmp script was not guaranteed to load before the cmp object was being used.
  • Fix: cmp cookie not saved if skipSaveConsent is `true`.

0.14.8 – 2018-07-6

  • Fix: cookie reset is done by specifying domain.

0.14.7 – 2018-07-6

  • option askConsentIfCMPNotFound has the default value set to true.

0.14.6 – 2018-06-29

  • CMP language resolution and I18n translations.
  • Added method for deleting remote cookies.

0.14.5 – 2018-06-27

  • New CS parameter to force banner displacement even if consent has already been given.

0.14.4 – 2018-06-20

  • Now the cookie for IAB gets dumped all the time.

0.14.3 – 2018-06-18

  • Lightbox Cookie Policy is now responsive.
  • Added translation for CMP tracking button.

0.14.2 – 2018-06-15

  • Framework IAB Cmp with style

0.14.1 – 2018-06-15

  • CMP framework is only loaded when enableCMP option is true.

0.14.0 – 2018-06-13

  • Enabled IAB CMP framework.
    Added enableCMP option (default false).

0.13.25 – 2018-06-7

  • The timeout for loading of the server configuration has been increased to 2000.

0.13.24 – 2018-04-30

  • If remote configuration is not correctly loaded, Cookie Solution will start with priorConsent in false mode.

0.13.23 – 2018-04-16

  • Typo in the English version of the banner text.

0.13.22 – 2018-03-26

  • Portuguese translation for banner and cookie policy footer.

0.13.21 – 2018-02-13

  • Added consentOnScrollHorizontal option (default false).
    When true, consent is given with horizontal scrolling.
  • Added consentOnScrollOnElement option (default window.document).
    Scroll observation will be handled on the specified element.
  • Added setConsentOnScrollOnElement method to Api interface.
    Method will delete the current scroll detection and sets a new one basing it on the element passed.

0.13.20 – 2018-01-4

  • Fix: consent is given with mouse right click on the Cookie Policy link (only in Firefox).
  • Fix: when options.cookiePolicyInOtherWindow is true, if Cookie Policy has been opened, consent can be given only by clicking on close button.
  • Fix for close button misalignment in Cookie Policy modal.

0.13.19 – 2018-01-3

  • Added further sources to Bot detection.

0.13.18 – 2017-12-20

  • Added Raven and Chrome Headless checks for enabling or disabling tracking.
  • Added a more accurate BOT detection.

0.13.17 – 2017-01-30

  • Added activateSnippets method to Api interface.

0.13.16 – 2017-01-11

  • Refactor of close button (ref v0.13.10).
    Introduced two new options banner.fontSizeButtonClose and banner.fontSizeBody. New options are not valid if old banner.fontSize is not null.

0.13.15 – 2016-12-15

  • Removed use of native JSON library: now the methods JSON.parse and JSON.stringify have been implemented internally.
    Previous JSON library used the define method that caused errors when Iub Cookie Solution was not loaded via RequireJS.

0.13.14 – 2016-12-02

  • Added Hotjar in BOT detection.

0.13.13 – 2016-12-01

  • Avoid using the bind function for the bannerCookiePolicyClicked method in ui.js.
    MooTools (v 1.4.5) overwrites the bind function and bannerCookiePolicyClicked method’s parameter did not find a match anymore.
    Applied instead a closure to the bannerCookiePolicyClicked method to keep the current element while parsing the page.

0.13.12 – 2016-11-22

  • Added isConsentGiven method to Api interface.
  • Fix option.consentOnScroll for mobile devices.
    Bug was: when option value is false user is still abled to give consent via scrolling.

0.13.11 – 2016-11-08

  • Fix for close button refactor (ref v0.13.10).
    A null or undefined option banner.innerHtmlCloseBtn will print out the default X close button.

0.13.10 – 2016-10-24

  • Redefining close button.
    Tap area and font-size close text are increased.

0.13.9 – 2016-10-03

  • Fix for French (fr) translation for banner.

0.13.8 – 2016-09-06

  • Added the Api class: interface.
  • Available methods are: consentGiven, printErrors, showCP. Consult this guide for further details.

0.13.7 – 2016-08-17

  • Fix remote consent (if enabled) when consent is given within click on link.
  • Fix for Portuguese (Brazilian) (pt_BR) translation for banner and cookie policy footer.

0.13.6 – 2016-08-17

  • Fix for Finnish (fi) translation for banner and cookie policy footer.

0.13.5 – 2016-08-09

  • Finnish (fi) translation for banner and cookie policy footer

0.13.4 – 2016-07-26

  • Fix binding of close banner button(s) and cookie policy links(s) in case consent is given.

0.13.3 – 2016-07-26

  • When showing the CP, just the CP url (not the CP link) is passed to IubendaFrame.
    This way decoupling the showing of the CP from the event detection.
  • Bugfix on adding the event listener for bannerCookiePolicyClicked.

0.13.2 – 2016-07-07

  • Chinese translation for banner and cookie policy footer.

0.13.1 – 2016-05-30

  • Decreasing to 200 ms the duration of banner animation.
  • Iubenda banner is removed before consent is stored (and the activation performed).

0.13.0 – 2016-05-25

  • Added Remote Configuration Loader.
    If current CS installation is not enabled, starts in LIGHT mode (priorConsent => false). If something goes wrong while fetching remote configuration (also: timeout 300ms), starts normally.
  • Added stopWatch module to get system timing.
  • consentOnScrollDelay default value decreased to 500.

0.12.11 – 2016-05-12

  • Removed inclusion of Tocca.js file.
    Double tap event is now handled by anonymous function.

0.12.10 – 2016-05-11

  • Added check for Mootools version in isPhantomJs method.
    If Mootools version < 1.6 the condition Function.prototype.bind.toString().replace(/bind/g, ‘Error’) !== Error.toString() always returns true (see v0.12.7).

0.12.9 – 2016-05-10

  • inlineDelay now available as custom option.
    _iub.csConfiguration.inlineDelay = milliseconds (default 800).

0.12.8 – 2016-04-27

  • Enable class ‘iubenda-cs-cookie-policy-lnk’ being used on any element in page.
    All elements with class ‘iubenda-cs-cookie-policy-lnk’ will be handled by bannerCookiePolicyClicked method.

0.12.7 – 2016-04-14

  • Fix for showing warning messages in case an unrecognized option appears before the logLevel option.
  • Added check for Prototype version in isPhantomJs method.
    If Prototype version <= 1.7 the condition Function.prototype.bind.toString().replace(/bind/g, ‘Error’) !== Error.toString() always returns true.

0.12.6 – 2016-03-29

  • Add tracking info about LIGHT (option priorConsent => false) modality.

0.12.5 – 2016-03-23

  • Added BOT detection at IubendaCookieSolution preload method.
    If BOT is detected, banner will not be shown and snippet activation is forced.

0.12.4 – 2016-03-23

  • Added priorConsent option (default true).
    If false snippets activation is performed no matter of prior consent.

0.12.3 – 2016-03-11

  • Scroll event handling for consent detection improved (desktop only).
    Do not take into account scroll on X axis. Do not take into account scroll w/o page movement.

0.12.2 – 2016-03-04

  • Fix for saving cookie in ‘localhost’ domain.
    If saving on ‘localhost’ domain, dot won’t be prepended to the cookie domain (Chrome issue).

0.12.1 – 2016-02-29

  • Added callback onCookiePolicyShown, invoked when cookie policy is shown.
    Callback fired both when cookie policy is shown in the same page (via lightbox) or in another page.
  • Fix for IE on window.open in case of cookie policy opening in other window.
  • Scroll event doesn’t result in consent given until a (customizable) delay has passed.
    Delay customizable via banner.consentOnScrollDelay option (default 1000ms).

0.12.0 – 2016-02-25

  • Do not track if !navigator.cookieEnabled
  • PhantomJS detection added
  • onReady callback provides consent as boolean argument
  • Added/enabled onStartupFailed, onError and onFatalError callbacks
  • onConsentFirstGiven callback added

callback invoked the first time that user gives consent; ‘documentScroll’, ‘documentMoved’, ‘bannerXClose’, ‘documentClicked’ or ‘cookiePolicyClosed’ is passed as argument.

  • onConsentRead callback added
    Invoked the first time user gives consent at at any further page load when consent is found
  • onConsentGiven callback becomes an alias for onConsentRead
    NOTE: in case callback for onConsentRead is used, onConsentGiven won’t be called

0.11.36.4 – 2016-02-05

  • Enable class ‘iubenda-cs-close-btn’ (by default on banner’s X close button) being used on any element in page
    By clicking on an element with class ‘iubenda-cs-close-btn’, banner closes and consent is given

0.11.36.3 – 2016-02-04

  • In CookieSolutionTracker, fix for accessing jQuery when $ shorthand is not the jQuery one
    Magento installations, for example, has $ shorthand taken by Prototype lib

0.11.36.2 – 2016-01-28

  • Changing .size() method in .length.
    .size() method is deprecated as of jQuery 1.8. The .length property is preferred because it does not have the overhead of a function call

0.11.36.1 – 2015-12-03

  • Fix for accessing jQuery with no $ shortcut (as in WordPress)

0.11.36.0 – 2015-12-01

  • Iframe activation via tag rebuilding (options.rebuildIframe, default false)
  • prependOnBody option now defaults to false
  • Original classes, attributes and properties for scripts/iframes preserved after their rebuilding via options.preserveOriginalClasses (default false)
  • _iub_cs_activate class for scripts/iframes preserved after their activation via options.preserveIubClasses (default false)

0.11.35.4 – 2015-11-20

  • Indonesian translation for banner and cookie policy footer

0.11.35.3 – 2015-11-09

  • ‘noLog’ log level added (as default)
  • Polish translation for banner and cookie policy footer

0.11.35.2 – 2015-11-02

  • Dutch translation for banner and cookie policy footer

0.11.35.1 – 2015-10-12

  • Fix on tracker.js to use jQuery if $ accessor is not available

0.11.35 – 2015-09-21

  • Do not track bots

0.11.34 – 2015-09-19

  • Tracks over hits-i.iubenda.com
  • Fix onReady callback invocation in case consent is not given

0.11.33 – 2015-07-31

  • Improvements on statistics component

0.11.32 – 2015-07-31

  • Two step loading for iubenda_cs.js (to save bandwidth and speed up loading)

0.11.31 – 2015-07-17

  • Statistics component updated

0.11.30 – 2015-07-13

  • Enable snippets containing FB.init(…) only once the FB object is available

0.11.29 – 2015-07-13

  • Suspend stats for incoming refactoring

0.11.28 – 2015-07-10

  • Preserve data-
  • attributes found in the snippets to be activated on consent

0.11.27 – 2015-06-30

  • Load JSON3 custom implementation either if JSON is not defined or JSON.stringify() is not defined

0.11.26 – 2015-06-25

  • Russian translation for banner and cookie policy footer
  • Cookie policy caption in banner fixed for the following languages: Spanish, French, Brazilian Portuguese and German

0.11.25 – 2015-06-23

  • Limit the number of prefs cookies on local domain

0.11.24 – 2015-06-22

  • Path for storing the prefs cookie in local domain now customizable via options.localConsentPath

0.11.23 – 2015-06-19

  • Fix on url validity check while detecting click on element for consent

0.11.22 – 2015-06-16

  • Fix for Windows Phone
  • noConflict mode for JSON3

0.11.21 – 2015-06-10

  • Cookie Policy window iframe scrolling property set to ‘yes’ if a custom privacy policy url is provided

0.11.20 – 2015-06-10

  • REQUIRE cookiePolicyId in \_iub.CsConfiguration
  • Fix [ERROR]: Unrecognized message from iFrame bridge: {“action”:”remoteCookiesCompact”}
  • Do not listen to scroll events in document coming from marquee elements

0.11.19 – 2015-06-08

  • Option localConsentDomain to specify the domain in which local consent has to be saved

0.11.18 – 2015-06-05

  • (P) private changes

0.11.17 – 2015-06-04

  • Handle saving local pref cookies for .co.uk domains

0.11.16 – 2015-06-03

  • (P) private changes

0.11.15 – 2015-06-03

  • In case of reloadOnConsent, reload page when prefs is found remotely

0.11.14 – 2015-06-02

  • Fix for IE 7 and 8

0.11.13 – 2015-06-01

  • Store local cookie in encoded format

0.11.12 – 2015-05-30

  • Option reloadOnConsent (default false) to reload page when user gives consent
  • Option cookiePolicyInOtherWindow (default false) to open the cookie policy link in another window
  • Loads jQuery from cdn.iubenda.com

0.11.11 – 2015-05-30

  • Fixes for Mobile Devices

0.11.10 – 2015-05-30

  • Fix for activate \_iub_cs_activate_iframe and \_iub_cs_activate_notused snippets

0.11.9 – 2015-05-29

  • Store local consent in _iub_cs-ID cookie (instead of _iub_cs-local)
  • Option hideInIframe (default false) to hide banner if page is loaded in iframe

0.11.8 – 2015-05-27

  • Handle storing and reading cookies on local domain in case url is straight IP

0.11.7 – 2015-05-27

  • Safe-guard on \_iub.cs in case of page using massive js injections that lead to multiple code executions

0.11.6 – 2015-05-27

  • Fix timeout on remote callback fired
  • Banner I18n

0.11.5 – 2015-05-27

  • Patch for the 0.11.4

0.11.4 – 2015-05-27

  • Fix on remote callback timeout occurred in case of multiple timeout firing

0.11.3 – 2015-05-26

  • Handling of consent given via click on document improved

0.11.2 – 2015-05-25

  • Statistics tweaks and improvements

0.11.1 – 2015-05-24

  • (P) private changes

0.11.0 – 2015-05-24

  • Events statistics to hits.iubenda.com

0.10.10 – 2015-05-22

  • Banner [#iubenda-cs-banner] as first element of body
  • Cookie Policy iframe [#iubenda-iframe] placed out of the banner
  • Fix for custom font-size and color on banner’s content

0.10.9 – 2015-05-22

  • Option callback.onBannerShown activated
  • Fix on getting user consent when banner animation is turned off via initial configuration

0.10.8 – 2015-05-22

  • Fix !important on some banner’s styles to override host page styles

0.10.7 – 2015-05-21

  • Fix on user provided font-size and color in banner

0.10.6 – 2015-05-21

  • Activate imag and iframe tags via replacement of suppressedsrc attribute
  • suppressedsrc attribute replacement available also for script tags

0.10.5 – 2015-05-20

  • Better error handling on IE<9

0.10.4 – 2015-05-20

  • Fix banner’s animation when applyStyle is false

0.10.3 – 2015-05-20

  • Option :banner.slideDown (default true) available to avoid the slideDown banner animation
  • Option :enableRemoteConsent (default true) available to avoid getting/setting remote consent
  • Option :consentOnScroll (default true) available to skip giving consent on scroll action

0.10.2 – 2015-05-20

  • Placeholder for incoming siteId configuration option

0.10.1 – 2015-05-19

  • Do not react to scroll event starting from when the user clicks on the cookie policy link
  • When positioning the cookie policy iframe, does not take into account the pageYOffset/scrollTop

0.10.0 – 2015-05-19

  • Activate script tags (default mode) via ‘_iub_cs_activate’ class

0.9.2 – 2015-05-18

  • Avoid overriding Array object with clean/iubClean function

0.9.1 – 2015-05-18

  • Cross-site prefs via iframe (cdn.iubenda.com/cookie_solution/iframe_bridge.html)

0.9.0 – 2015-05-17

  • Patch for Joomla installations (ver <= 2.5)
  • Fix banner’s X (close) button to avoid appending ‘/#’ on url at button click
  • Fix on banner animation
  • Customizable close button in banner
  • Customizable banner

0.8.10 – 2015-05-13

  • Fix network error handling on getting preference from remote cookie

0.8.9 – 2015-05-13

  • Store local preference cookie on wildcard second level domain

0.8.8 – 2015-05-13

  • Bug fixes

0.8.7 – 2015-05-12

  • While listening for click on document, take into account also clicked elements that are inside an a or a button tag
  • Default banner content updated

0.8.6 – 2015-05-11

  • Remove debugging alert

0.8.5 – 2015-05-11

  • Fix for WordPress installations
  • Position ‘fixed’ for the banner (#iubenda-cs-banner)
  • Consent is NOT given until the banner is shown
  • Default log level set to ‘info’

0.8.4 – 2015-05-10

  • Default banner content updated

0.8.3 – 2015-05-08

  • Private fixes

0.8.2 – 2015-05-08

  • Private fixes

0.8.1 – 2015-05-07

  • Private fixes

0.8.0 – 2015-05-07

  • Prefs cookie is stored first in locale domain, then in remote domain (for now .iubenda.com)
  • Prefs cookie is read first locally. If (and only if) it’s not found, cookie it’s read remotely

0.7.2 – 2015-05-07

  • options.autoStart default value changed to: true
  • options.activate.classes default value changed to [‘_iub_cs_activate’]

0.7.1 – 2015-05-06

  • Banner Style Fix

0.7.0 – 2015-05-06

  • Preference cookie content updated

0.6.1 – 2015-05-06

  • Zepto Fixed

0.6.0 – 2015-05-06

  • Auto-detect synchronous/asynchronous embedding modality
  • Fix ‘window.onload not implemented’ error that sometimes rises up in IE8

0.5.1 – 2015-05-05

  • Style on p tag in banner

0.5.0 – 2015-05-05

  • Preference cookie now identified by cookiePolicyId and set in .iubenda.com domain
  • Fix clashes between iubendaIFrame for PP and for Cookie Policy

0.4.1 – 2015-05-04

  • Info saved in preference cookie reworked

0.4.0 – 2015-05-04

  • Presets commented out
  • Reading/applying _iub.csConfiguration fixed

0.3.4 – 2015-05-04

  • Objects as cookie values now available as cross-site cookies

0.3.3 – 2015-04-30

  • Fix for cookie policy’s z-index

0.3.2 – 2015-04-30

  • Cookie policy’s z-index greater than the banner’s z-index (by one)

0.3.1 – 2015-04-30

  • Default JS library moved back to jQuery

0.3.0 – 2015-04-30

  • Preference cookie now include timestamp on update
  • Preference cookie expiring date always updated to 12 months if found

0.2.1 – 2015-04-30

  • Zepto lib url over https
    https://cdn-dev.iubenda.com/cookie_solution/zepto.min.js

0.2.0 – 2015-04-30

  • Callback
    Now Customer can activate a Snippet via custom callback

0.11.36.4 – 2016-02-05

  • Enable class ‘iubenda-cs-close-btn’ (by default on banner’s X close button) being used on any element in page
    By clicking on an element with class ‘iubenda-cs-close-btn’, banner closes and consent is given

0.11.36.3 – 2016-02-04

  • In CookieSolutionTracker, fix for accessing jQuery when $ shorthand is not the jQuery one
    Magento installations, for example, has $ shorthand taken by Prototype lib

0.11.36.2 – 2016-01-28

  • Changing .size() method in .length.
    .size() method is deprecated as of jQuery 1.8. The .length property is preferred because it does not have the overhead of a function call

0.11.36.1 – 2015-12-03

  • Fix for accessing jQuery with no $ shortcut (as in WordPress)

0.11.36.0 – 2015-12-01

  • Iframe activation via tag rebuilding (options.rebuildIframe, default false)
  • prependOnBody option now defaults to false
  • Original classes, attributes and properties for scripts/iframes preserved after their rebuilding via options.preserveOriginalClasses (default false)
  • _iub_cs_activate class for scripts/iframes preserved after their activation via options.preserveIubClasses (default false)

0.11.35.4 – 2015-11-20

  • Indonesian translation for banner and cookie policy footer

0.11.35.3 – 2015-11-09

  • ‘noLog’ log level added (as default)
  • Polish translation for banner and cookie policy footer

0.11.35.2 – 2015-11-02

  • Dutch translation for banner and cookie policy footer

0.11.35.1 – 2015-10-12

  • Fix on tracker.js to use jQuery if $ accessor is not available

0.11.35 – 2015-09-21

  • Do not track bots

0.11.34 – 2015-09-19

  • Tracks over hits-i.iubenda.com
  • Fix onReady callback invocation in case consent is not given

0.11.33 – 2015-07-31

  • Improvements on statistics component

0.11.32 – 2015-07-31

  • Two step loading for iubenda_cs.js (to save bandwidth and speed up loading)

0.11.31 – 2015-07-17

  • Statistics component updated

0.11.30 – 2015-07-13

  • Enable snippets containing FB.init(…) only once the FB object is available

0.11.29 – 2015-07-13

  • Suspend stats for incoming refactoring

0.11.28 – 2015-07-10

  • Preserve data-
  • attributes found in the snippets to be activated on consent

0.11.27 – 2015-06-30

  • Load JSON3 custom implementation either if JSON is not defined or JSON.stringify() is not defined

0.11.26 – 2015-06-25

  • Russian translation for banner and cookie policy footer
  • Cookie policy caption in banner fixed for the following languages: Spanish, French, Brazilian Portuguese and German

0.11.25 – 2015-06-23

  • Limit the number of prefs cookies on local domain

0.11.24 – 2015-06-22

  • Path for storing the prefs cookie in local domain now customizable via options.localConsentPath

0.11.23 – 2015-06-19

  • Fix on url validity check while detecting click on element for consent

0.11.22 – 2015-06-16

  • Fix for Windows Phone
  • noConflict mode for JSON3

0.11.21 – 2015-06-10

  • Cookie Policy window iframe scrolling property set to ‘yes’ if a custom privacy policy url is provided

0.11.20 – 2015-06-10

  • REQUIRE cookiePolicyId in \_iub.CsConfiguration
  • Fix [ERROR]: Unrecognized message from iFrame bridge: {“action”:”remoteCookiesCompact”}
  • Do not listen to scroll events in document coming from marquee elements

0.11.19 – 2015-06-08

  • Option localConsentDomain to specify the domain in which local consent has to be saved

0.11.18 – 2015-06-05

  • (P) private changes

0.11.17 – 2015-06-04

  • Handle saving local pref cookies for .co.uk domains

0.11.16 – 2015-06-03

  • (P) private changes

0.11.15 – 2015-06-03

  • In case of reloadOnConsent, reload page when prefs is found remotely

0.11.14 – 2015-06-02

  • Fix for IE 7 and 8

0.11.13 – 2015-06-01

  • Store local cookie in encoded format

0.11.12 – 2015-05-30

  • Option reloadOnConsent (default false) to reload page when user gives consent
  • Option cookiePolicyInOtherWindow (default false) to open the cookie policy link in another window
  • Loads jQuery from cdn.iubenda.com

0.11.11 – 2015-05-30

  • Fixes for Mobile Devices

0.11.10 – 2015-05-30

  • Fix for activate \_iub_cs_activate_iframe and \_iub_cs_activate_notused snippets

0.11.9 – 2015-05-29

  • Store local consent in _iub_cs-ID cookie (instead of _iub_cs-local)
  • Option hideInIframe (default false) to hide banner if page is loaded in iframe

0.11.8 – 2015-05-27

  • Handle storing and reading cookies on local domain in case url is straight IP

0.11.7 – 2015-05-27

  • Safe-guard on \_iub.cs in case of page using massive js injections that lead to multiple code executions

0.11.6 – 2015-05-27

  • Fix timeout on remote callback fired
  • Banner I18n

0.11.5 – 2015-05-27

  • Patch for the 0.11.4

0.11.4 – 2015-05-27

  • Fix on remote callback timeout occurred in case of multiple timeout firing

0.11.3 – 2015-05-26

  • Handling of consent given via click on document improved

0.11.2 – 2015-05-25

  • Statistics tweaks and improvements

0.11.1 – 2015-05-24

  • (P) private changes

0.11.0 – 2015-05-24

  • Events statistics to hits.iubenda.com

0.10.10 – 2015-05-22

  • Banner [#iubenda-cs-banner] as first element of body
  • Cookie Policy iframe [#iubenda-iframe] placed out of the banner
  • Fix for custom font-size and color on banner’s content

0.10.9 – 2015-05-22

  • Option callback.onBannerShown activated
  • Fix on getting user consent when banner animation is turned off via initial configuration

0.10.8 – 2015-05-22

  • Fix !important on some banner’s styles to override host page styles

0.10.7 – 2015-05-21

  • Fix on user provided font-size and color in banner

0.10.6 – 2015-05-21

  • Activate imag and iframe tags via replacement of suppressedsrc attribute
  • suppressedsrc attribute replacement available also for script tags

0.10.5 – 2015-05-20

  • Better error handling on IE<9

0.10.4 – 2015-05-20

  • Fix banner’s animation when applyStyle is false

0.10.3 – 2015-05-20

  • Option :banner.slideDown (default true) available to avoid the slideDown banner animation
  • Option :enableRemoteConsent (default true) available to avoid getting/setting remote consent
  • Option :consentOnScroll (default true) available to skip giving consent on scroll action

0.10.2 – 2015-05-20

  • Placeholder for incoming siteId configuration option

0.10.1 – 2015-05-19

  • Do not react to scroll event starting from when the user clicks on the cookie policy link
  • When positioning the cookie policy iframe, does not take into account the pageYOffset/scrollTop

0.10.0 – 2015-05-19

  • Activate script tags (default mode) via ‘_iub_cs_activate’ class

0.9.2 – 2015-05-18

  • Avoid overriding Array object with clean/iubClean function

0.9.1 – 2015-05-18

  • Cross-site prefs via iframe (cdn.iubenda.com/cookie_solution/iframe_bridge.html)

0.9.0 – 2015-05-17

  • Patch for Joomla installations (ver <= 2.5)
  • Fix banner’s X (close) button to avoid appending ‘/#’ on url at button click
  • Fix on banner animation
  • Customizable close button in banner
  • Customizable banner

0.8.10 – 2015-05-13

  • Fix network error handling on getting preference from remote cookie

0.8.9 – 2015-05-13

  • Store local preference cookie on wildcard second level domain

0.8.8 – 2015-05-13

  • Bug fixes

0.8.7 – 2015-05-12

  • While listening for click on document, take into account also clicked elements that are inside an a or a button tag
  • Default banner content updated

0.8.6 – 2015-05-11

  • Remove debugging alert

0.8.5 – 2015-05-11

  • Fix for WordPress installations
  • Position ‘fixed’ for the banner (#iubenda-cs-banner)
  • Consent is NOT given until the banner is shown
  • Default log level set to ‘info’

0.8.4 – 2015-05-10

  • Default banner content updated

0.8.3 – 2015-05-08

  • Private fixes

0.8.2 – 2015-05-08

  • Private fixes

0.8.1 – 2015-05-07

  • Private fixes

0.8.0 – 2015-05-07

  • Prefs cookie is stored first in locale domain, then in remote domain (for now .iubenda.com)
  • Prefs cookie is read first locally. If (and only if) it’s not found, cookie it’s read remotely

0.7.2 – 2015-05-07

  • options.autoStart default value changed to: true
  • options.activate.classes default value changed to [‘_iub_cs_activate’]

0.7.1 – 2015-05-06

  • Banner Style Fix

0.7.0 – 2015-05-06

  • Preference cookie content updated

0.6.1 – 2015-05-06

  • Zepto Fixed

0.6.0 – 2015-05-06

  • Auto-detect synchronous/asynchronous embedding modality
  • Fix ‘window.onload not implemented’ error that sometimes rises up in IE8

0.5.1 – 2015-05-05

  • Style on p tag in banner

0.5.0 – 2015-05-05

  • Preference cookie now identified by cookiePolicyId and set in .iubenda.com domain
  • Fix clashes between iubendaIFrame for PP and for Cookie Policy

0.4.1 – 2015-05-04

  • Info saved in preference cookie reworked

0.4.0 – 2015-05-04

  • Presets commented out
  • Reading/applying _iub.csConfiguration fixed

0.3.4 – 2015-05-04

  • Objects as cookie values now available as cross-site cookies

0.3.3 – 2015-04-30

  • Fix for cookie policy’s z-index

0.3.2 – 2015-04-30

  • Cookie policy’s z-index greater than the banner’s z-index (by one)

0.3.1 – 2015-04-30

  • Default JS library moved back to jQuery

0.3.0 – 2015-04-30

  • Preference cookie now include timestamp on update
  • Preference cookie expiring date always updated to 12 months if found

0.2.1 – 2015-04-30

  • Zepto lib url over https
    https://cdn-dev.iubenda.com/cookie_solution/zepto.min.js

0.2.0 – 2015-04-30

  • Callback
    Now Customer can activate a Snippet via custom callback

1.2.4 – 2018-06-07

  • The timeout for loading of the configuration from server has increased to 2000.

1.2.3 – 2018-06-01

  • Fix: consentOnScroll has now effect on mobile.

1.2.2 – 2018-05-03

  • If remote configuration is not correctly loaded, Cookie Solution will start with priorConsent in false mode.

1.2.1 – 2018-04-16

  • Typo in the English version of the banner text.

1.2.0 – 2018-04-06

  • Added startOnDomReady option (default false).
    When true, Cookie Solution will start as soon as document.readyState is ‘loaded’. When false, Cookie Solution will start when document.readyState is ‘complete’

1.1.19 – 2018-02-21

  • Added consentOnScrollHorizontal option (default false).
    When true, consent is given with horizontal scrolling.
  • Added consentOnScrollOnElement option (default window.document).
    Scroll observation will be handled on the specified element.
  • Added setConsentOnScrollOnElement method to Api interface.
    Method will delete the current scroll detection and sets a new one basing it on the element passed.

1.1.18 – 2018-01-24

  • Fix console error while showing the complete Privacy Policy in the Cookie Policy modal

1.1.17 – 2018-01-17

  • Fix: consent is given with mouse right click on the Cookie Policy link (only in Firefox).
  • Fix: when options.cookiePolicyInOtherWindow is true, if Cookie Policy has been opened, consent can be given only by clicking on close button.
  • Fix for close button misalignment in Cookie Policy modal.

1.1.16 – 2018-01-15

  • Updated BOT detection with a more accurate list.
  • Added Raven and Chrome Headless checks for enabling or disabling tracking.

1.1.15 – 2018-01-3

  • Added isConsentGiven method to Api interface.
  • Removed the bind JS function from the bannerCookiePolicyClicked method.
    MooTools (v 1.4.5) overwrites bind JS and bannerCookiePolicyClicked’s parameter didn’t correspond anymore. Applied a closure to bannerCookiePolicyClicked to keep the current element while parsing.
  • Added activateSnippets method to Api interface.
    This method provides the opts.runOnActivationDoneCallback (default false), instead when true the callback.onActivationDone will be executed.
  • Removed use of native JSON library: now the methods JSON.parse and JSON.stringify have been implemented internally.
    Previous JSON library used the define method that caused errors when Iub Cookie Solution was not loaded via RequireJS.
  • Added Hotjar in BOT detection.

1.1.14 – 2017-12-20

  • Fix: when ‘opt.cookiePolicyId’ is not set proper method (fatal) is now called.

1.1.13 – 2017-12-12

  • Refactor of close button.
    Introduced two new options banner.fontSizeButtonClose and banner.fontSizeBody. New options are not valid if old banner.fontSize is not null.

1.1.12 – 2016-11-15

  • Fix for keydown event in delay after banner display.
    keydown pressing wasn’t preventedDefault.

1.1.11 – 2016-10-03

  • Fix for French (fr) translation for banner.

1.1.10 – 2016-09-30

  • Added the Api class: interface.
    Available methods are: consentGiven, printErrors, showCP. Consult this guide for further details.

1.1.9 – 2016-09-27

  • Fix for cookiePolicyInOtherWindow option.

1.1.8 – 2016-09-06

  • Fix remote consent (if enabled) when consent is given within click on link.

1.1.7 – 2016-08-30

  • When showing the CP, just the CP url (not the CP link) is passed to IubendaFrame.
    Attributes with values ‘null’ or empty string were inserted in converted tags.
  • Fix binding of close banner button(s) and cookie policy links(s) in case consent is given.
  • Bugfix on adding the event listener for bannerCookiePolicyClicked.
  • Fix for Portuguese (Brazilian) (pt_BR) translation for banner and cookie policy footer.

1.1.6 – 2016-08-17

  • Fix for Finnish (fi) translation for banner and cookie policy footer.

1.1.5 – 2016-08-09

  • Finnish (fi) translation for banner and cookie policy footer.

1.1.4 – 2016-07-19

  • Fix for JSON3 when global variable exports exists.

1.1.3 – 2016-07-08

  • Chinese translation for banner and cookie policy footer.

1.1.2 – 2016-07-07

  • Decreasing to 200 ms the duration of slideDown animation.
  • Iubenda banner is removed before consent is stored (and the activation performed).

1.1.1 – 2016-06-13

  • Fix on opening cookie policy window (in some circumstances consent was given).

1.1.0 – 2016-06-09

  • Added Remote Configuration Loader to check if specific cookiePolicyId is enabled.
  • Added stopWatch module to get system timing.
  • consentOnScrollDelay default value decreased to 500.
  • Fix for sanitization when suppressedsrc attribute is existing [safe.js updated].

1.0.12 – 2016-05-18

  • Fix for IE (version 7 and 8) in _runScriptInHead method [safe.js updated].
    Browser needs to wait some milliseconds before script can be removed.
  • Fix for IE (version 7) while getting Node attributes [safe.js updated].
    Attributes with values ‘null’ or empty string were inserted in converted tags.

1.0.11 – 2016-05-18

  • defaultConfig now available in in global variable (_iub.defaultConfig) [safe.js updated].
    _iub.defaultConfig won’t altered after the merge with _iub.csConfiguration.

1.0.10 – 2016-05-13

  • inlineDelay now available as custom options [safe.js updated].
    _iub.csConfiguration.inlineDelay = milliseconds (default 500).
  • Removed inclusion of touch.js file (file remain in ui/ directory) [safe.js updated].
    Double tap event is now handled by anonymous function.

1.0.9 – 2016-05-11

  • Added check for Mootools version in isPhantomJs method.
    If Mootools version < 1.6 the condition Function.prototype.bind.toString().replace(/bind/g, ‘Error’) !== Error.toString() always returns true.

1.0.8 – 2016-05-09

  • Add tracking info on SAFEMODE usage.

1.0.7 – 2016-04-27

  • Enable class ‘iubenda-cs-cookie-policy-lnk’ being used on any element in page.
    All elements with class ‘iubenda-cs-cookie-policy-lnk’ will be handled by bannerCookiePolicyClicked method.

1.0.6 – 2016-04-14

  • Added check for Prototype version in isPhantomJs method.
    If Prototype version <= 1.7, condition for Function.prototype.bind.toString().replace(/bind/g, ‘Error’) !== Error.toString() always returns true.
  • Added warning message for unrecognized options.
  • Added testMode option (default false).

1.0.5 – 2016-03-29

  • Add tracking info about LIGHT (option priorConsent => false) modality.
  • Added test units to iubenda_cookie_solution module.
  • browserDetect moved in a separate file.
  • Event of scroll, clickOnDocument, resize, dbltap, touchstart and touchmove are now detached on consent given.

1.0.4 – 2016-03-23

  • Added BOT detection at IubendaCookieSolution preload method.
    If BOT is detected, banner will not be shown and snippet activation is forced.
  • Added priorConsent option (default true).
    If false snippets activation is performed no matter of prior consent.

1.0.3 – 2016-03-14

  • In case of activation already started by safe activator, do not start activation again on consent read.
  • Safe activator version available via _iub.csSafeActivatorVersion. [safe.js updated]
    When updated, safe activator (safe.js) gets the same version number of iubenda_cs.js (available via _iub.cs.version())

1.0.2 – 2016-03-11

  • Fix for RebuildIframe option accessible in safe activator.

1.0.1 – 2016-03-11

  • Scroll event handling for consent detection improved (desktop only)
    Do not take into account scroll on X axis. Do not take into account scroll w/o page movement
  • Test suite for cookie module added
  • Bug fix for IE on dom detachEvent
  • Added callback onCookiePolicyShown, invoked when cookie policy is shown.
    Callback fired both when cookie policy is shown in the same page (via lightbox) or in another page.
  • Fix for IE on window.open in case of cookie policy opening in other window.
  • Fix for saving cookie in ‘localhost’ domain
    If saving on ‘localhost’ domain, dot won’t be prepended to the cookie domain (Chrome issue)
  • Scroll event doesn’t result in consent given until a (customizable) delay has passed
    Delay customizable via banner.consentOnScrollDelay option (default 1000ms)
  • Do not track if !navigator.cookieEnabled. [v0.11.36-beta3]
  • PhantomJS detection added. [v0.11.36-beta3]
  • onReady callback provides consent as boolean argument. [v0.11.36-beta3]
  • Added/enabled onStartupFailed, onError and onFatalError callbacks. [v0.11.36-beta2]
  • onConsentFirstGiven callback added. [v0.11.36-beta]
    callback invoked the first time that user gives consent; ‘documentScroll’, ‘documentMoved’, ‘bannerXClose’, ‘documentClicked’ or ‘cookiePolicyClosed’ is passed as argument.
  • onConsentRead callback added
    Invoked the first time user gives consent at at any further page load when consent is found
  • onConsentGiven callback becomes an alias for onConsentRead
    NOTE: in case callback for onConsentRead is used, onConsentGive won’t be called

0.11.36.4s – 2016-02-05

  • Enable class ‘iubenda-cs-close-btn’ (by default on banner’s X close button) being used on any element in page
    By clicking on an element with class ‘iubenda-cs-close-btn’, banner closes and consent is given

0.11.36.3s – 2016-02-04

  • Bumped version

0.11.36.2s – 2016-01-28

  • Bumped version

0.11.36.1s – 2015-12-03

  • bumped version

0.11.36.0s – 2015-11-27

  • Iframe activation via tag rebuilding. [safe.js updated]
    Added option: rebuildIframe (default true). Iframe activation via altering the original tag led to adding an empty item in browser history
  • prependOnBody option now defaults to false

0.11.35.4s – 2015-11-20

  • Indonesian translation for banner

0.11.35.3s – 2015-11-11

  • Fix ensured activation on snippets activated [safe.js updated]

0.11.35.2s – 2015-11-10

  • Fixed snippet activation by safeguard [safe.js updated]
    Snippets activated by safeguard only in case main component fails to start (always if \_iub.csConfiguration.forceSafeActivation==true, depending on consent otherwise)

0.11.35.1s – 2015-11-06

  • Dutch and Polish translations for banner
  • Log level ‘noLog’ added (default)
    ‘noLog’ means that NO messages at all will be logged to the browser console

0.11.30s – 2015-10-05

  • Fix asynch call to hits-i.iubenda.com

0.11.29s – 2015-10-02

  • Fix for uri with anchor

0.11.28s – 2015-09-30

  • Tracks over hits-i.iubenda.com (from 0.11.34)
    Tracks to hits.iubenda.com (Matomo/Piwik) disabled
  • Tracking ratio 100% (from 0.11.34)
  • Avoid rewrite local consent cookie when not necessary (from v0.11.36-beta1)
    Local consent cookie is rewritten in case of consent given via clickOnDocument
  • SKIPPED: Option enableRemoteConsent default reverted to true (from v0.11.36-beta2)
  • Added/enabled onStartupFailed, onError and onFatalError callbacks (from v0.11.36-beta2)
  • onReady callback provides consent as boolean argument (from v0.11.36-beta3)
  • onUserGivesConsent callback added (from v0.11.36-beta)
    Callback invoked once when user gives consent; ‘documentScroll’, ‘documentMoved’, ‘bannerXClose’, ‘documentClicked’ or ‘cookiePolicyClosed’ are passed as argument. NOTE: If event is ‘documentClicked’, callback is fired the next time user visit the site, since ‘documentCLicked’ is first stored in cookie and then read at next visit
  • ‘documentClicked’ consent event tracked via additional field stored in local consent cookie (from v0.11.31)
    On subsequent visit, documentClicked field is removed and event is tracked
  • Do not track is !navigator.cookieEnabled (from v0.11.36-beta3)
  • Do not track if Bot. (from v0.11.35)
  • Additional methods for PhantomJS detection added (from 0.11.36-beta3)
  • Fix onReady callback invocation in case consent is not given (from v0.11.34)

0.11.27 – 2015-06-30

  • Load JSON3 custom implementation either if JSON is not defined or JSON.stringify() is not defined

0.11.26 – 2015-06-25

  • Russian translation for banner and cookie policy footer
  • Cookie policy caption in banner fixed for the following languages: Spanish, French, Brazilian Portuguese and German

0.11.25 – 2015-06-23

  • Limit the number of prefs cookies on local domain

0.11.24 – 2015-06-22

  • Path for storing the prefs cookie in local domain now customizable via options.localConsentPath

0.11.23 – 2015-06-19

  • Fix on url validity check while detecting click on element for consent

0.11.22 – 2015-06-16

  • Fix for Windows Phone
  • noConflict mode for JSON3

0.11.21 – 2015-06-10

  • Cookie Policy window iframe scrolling property set to ‘yes’ if a custom privacy policy url is provided

0.11.20 – 2015-06-10

  • REQUIRE cookiePolicyId in \_iub.CsConfiguration
  • Fix [ERROR]: Unrecognized message from iFrame bridge: {“action”:”remoteCookiesCompact”}
  • Do not listen to scroll events in document coming from marquee elements

0.11.19 – 2015-06-08

  • Option localConsentDomain to specify the domain in which local consent has to be saved

0.11.18 – 2015-06-05

  • (P) private changes

0.11.17 – 2015-06-04

  • Handle saving local pref cookies for .co.uk domains

0.11.16 – 2015-06-03

  • (P) private changes

0.11.15 – 2015-06-03

  • In case of reloadOnConsent, reload page when prefs is found remotely

0.11.14 – 2015-06-02

  • Fix for IE 7 and 8

0.11.13 – 2015-06-01

  • Store local cookie in encoded format

0.11.12 – 2015-05-30

  • Option reloadOnConsent (default false) to reload page when user gives consent
  • Option cookiePolicyInOtherWindow (default false) to open the cookie policy link in another window
  • Loads jQuery from cdn.iubenda.com

0.11.11 – 2015-05-30

  • Fixes for Mobile Devices

0.11.10 – 2015-05-30

  • Fix for activate \_iub_cs_activate_iframe and \_iub_cs_activate_notused snippets

0.11.9 – 2015-05-29

  • Store local consent in _iub_cs-ID cookie (instead of _iub_cs-local)
  • Option hideInIframe (default false) to hide banner if page is loaded in iframe

0.11.8 – 2015-05-27

  • Handle storing and reading cookies on local domain in case url is straight IP

0.11.7 – 2015-05-27

  • Safe-guard on \_iub.cs in case of page using massive js injections that lead to multiple code executions

0.11.6 – 2015-05-27

  • Fix timeout on remote callback fired
  • Banner I18n

0.11.5 – 2015-05-27

  • Patch for the 0.11.4

0.11.4 – 2015-05-27

  • Fix on remote callback timeout occurred in case of multiple timeout firing

0.11.3 – 2015-05-26

  • Handling of consent given via click on document improved

0.11.2 – 2015-05-25

  • Statistics tweaks and improvements

0.11.1 – 2015-05-24

  • (P) private changes

0.11.0 – 2015-05-24

  • Events statistics to hits.iubenda.com

0.10.10 – 2015-05-22

  • Banner [#iubenda-cs-banner] as first element of body
  • Cookie Policy iframe [#iubenda-iframe] placed out of the banner
  • Fix for custom font-size and color on banner’s content

0.10.9 – 2015-05-22

  • Option callback.onBannerShown activated
  • Fix on getting user consent when banner animation is turned off via initial configuration

0.10.8 – 2015-05-22

  • Fix !important on some banner’s styles to override host page styles

0.10.7 – 2015-05-21

  • Fix on user provided font-size and color in banner

0.10.6 – 2015-05-21

  • Activate imag and iframe tags via replacement of suppressedsrc attribute
  • suppressedsrc attribute replacement available also for script tags

0.10.5 – 2015-05-20

  • Better error handling on IE<9

0.10.4 – 2015-05-20

  • Fix banner’s animation when applyStyle is false

0.10.3 – 2015-05-20

  • Option :banner.slideDown (default true) available to avoid the slideDown banner animation
  • Option :enableRemoteConsent (default true) available to avoid getting/setting remote consent
  • Option :consentOnScroll (default true) available to skip giving consent on scroll action

0.10.2 – 2015-05-20

  • Placeholder for incoming siteId configuration option

0.10.1 – 2015-05-19

  • Do not react to scroll event starting from when the user clicks on the cookie policy link
  • When positioning the cookie policy iframe, does not take into account the pageYOffset/scrollTop

0.10.0 – 2015-05-19

  • Activate script tags (default mode) via ‘_iub_cs_activate’ class

0.9.2 – 2015-05-18

  • Avoid overriding Array object with clean/iubClean function

0.9.1 – 2015-05-18

  • Cross-site prefs via iframe (cdn.iubenda.com/cookie_solution/iframe_bridge.html)

0.9.0 – 2015-05-17

  • Patch for Joomla installations (ver <= 2.5)
  • Fix banner’s X (close) button to avoid appending ‘/#’ on url at button click
  • Fix on banner animation
  • Customizable close button in banner
  • Customizable banner

0.8.10 – 2015-05-13

  • Fix network error handling on getting preference from remote cookie

0.8.9 – 2015-05-13

  • Store local preference cookie on wildcard second level domain

0.8.8 – 2015-05-13

  • Bug fixes

0.8.7 – 2015-05-12

  • While listening for click on document, take into account also clicked elements that are inside an a or a button tag
  • Default banner content updated

0.8.6 – 2015-05-11

  • Remove debugging alert

0.8.5 – 2015-05-11

  • Fix for WordPress installations
  • Position ‘fixed’ for the banner (#iubenda-cs-banner)
  • Consent is NOT given until the banner is shown
  • Default log level set to ‘info’

0.8.4 – 2015-05-10

  • Default banner content updated

0.8.3 – 2015-05-08

  • Private fixes

0.8.2 – 2015-05-08

  • Private fixes

0.8.1 – 2015-05-07

  • Private fixes

0.8.0 – 2015-05-07

  • Prefs cookie is stored first in locale domain, then in remote domain (for now .iubenda.com)
  • Prefs cookie is read first locally. If (and only if) it’s not found, cookie it’s read remotely

0.7.2 – 2015-05-07

  • options.autoStart default value changed to: true
  • options.activate.classes default value changed to [‘_iub_cs_activate’]

0.7.1 – 2015-05-06

  • Banner Style Fix

0.7.0 – 2015-05-06

  • Preference cookie content updated

0.6.1 – 2015-05-06

  • Zepto Fixed

0.6.0 – 2015-05-06

  • Auto-detect synchronous/asynchronous embedding modality
  • Fix ‘window.onload not implemented’ error that sometimes rises up in IE8

0.5.1 – 2015-05-05

  • Style on p tag in banner

0.5.0 – 2015-05-05

  • Preference cookie now identified by cookiePolicyId and set in .iubenda.com domain
  • Fix clashes between iubendaIFrame for PP and for Cookie Policy

0.4.1 – 2015-05-04

  • Info saved in preference cookie reworked

0.4.0 – 2015-05-04

  • Presets commented out
  • Reading/applying _iub.csConfiguration fixed

0.3.4 – 2015-05-04

  • Objects as cookie values now available as cross-site cookies

0.3.3 – 2015-04-30

  • Fix for cookie policy’s z-index

0.3.2 – 2015-04-30

  • Cookie policy’s z-index greater than the banner’s z-index (by one)

0.3.1 – 2015-04-30

  • Default JS library moved back to jQuery

0.3.0 – 2015-04-30

  • Preference cookie now include timestamp on update
  • Preference cookie expiring date always updated to 12 months if found

0.2.1 – 2015-04-30

  • Zepto lib url over https
    https://cdn-dev.iubenda.com/cookie_solution/zepto.min.js

0.2.0 – 2015-04-30

  • Callback
    Now Customer can activate a Snippet via custom callback

Still have questions?

Visit our support forum Email us