Documentation index

Cookie solution ›

Prior consent for cookies – Joomla! extension


The Joomla! plugin by iubenda – at the moment in public beta – allows you to automate the implementation of the cookie law rules, drastically reducing the necessity for direct interventions in the site's code.

Notes

We’re happy to receive feedback, the best option at the moment is this forum by Uservoice.

  • The iubenda cookie solution requires at least jQuery 1.4.4 at the moment
  • The plugin requires Joomla! 2.5 or above
  • The plugin works better with versions of PHP 5.3 or later
cookie_law_banner_extension_.joomla

Functionality

  • The plugin automatically adds the iubenda code to all the pages of a site (to the HEAD section)
  • Automatically blocks:
    • YouTube
    • Facebook
    • Twitter
    • G+
    • Google AdSense
    • Google Maps
    • AddThis
    • ShareThis
  • Allows for the manual blocking of all the other resources, without direct intervention on the actual scripts
  • Manages the visualisation of the banner and of the cookie policy, as well as the saving of user's consent preferences as per cookie installation
  • Simplifies the management of the iubenda cookie solution for multilingual sites

Instructions

Install Plugin

  • After you have installed Joomla!, open the admin section (e.g. http://example.com/administrator/) and login
  • Click on the item “Install Extensions” located in the menu on the left
  • Now to install the plugin upload the “iubenda-joomla-plugin.zip” file (click here to download)

Activate Plugin

  • Click on the item “Install Extensions” on the left
  • Click on the item “Manage”
  • Search “iubenda” and activate the plugin

How to add my Javascript banner and modify settings

  • Click on the item “Extensions” located in the top menu and select “Plugin Manager”
  • Search “iubenda” and click on the plugin name (this is what the extension interface looks like): Bootcooker - Amministrazione - Gestione Plugin: iubenda.png
  • Add the code from your iubenda account to the extension (this is what the embedding code looks like in your iubenda dashboard): Edit Privacy Policy - Privacy Policy Generator | iubenda Read the introduction to the iubenda cookie solution for further information about how it works and how to generate the code above
  • Paste that code into the plugin form

At this point the plugin will start to show the banner which links your cookie policy to your users on their first visit. In addition, the plugin automatically recognizes and blocks cookies from all installed YouTube video players, social widgets – such as the Facebook Like Box, Twitter and G+ buttons etc., Google AdSense, Google Maps, AddThis and ShareThis on your site.

The other scripts for which there aren’t automatic blocks yet – and which install cookies that require prior user consent – should be “wrapped” in the templates or pages using these comments:

<!--IUB_COOKIE_POLICY_START-->
<!--IUB_COOKIE_POLICY_END-->

For example a conversion pixel for AdWords would be handled this way:

<!--IUB_COOKIE_POLICY_START-->
<script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id =CONVERSION_ID;
    var google_conversion_label = "CONVERSION-LABEL";
    var google_custom_params = window.google_tag_params;
    var google_remarketing_only = true;
    /* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
    <div style="display:inline;">
        <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1030205862/?value=0&amp;guid=ON&amp;script=0"/>
    </div>
</noscript>
<!--IUB_COOKIE_POLICY_END-->

If however there are parts of HTML / IMG / IFRAME, you’ll need to take these steps:

<!--IUB_COOKIE_POLICY_START-->
<iframe src="...
<img src=" width="300" height="150">
<!--IUB_COOKIE_POLICY_END-->

In the event of continued browsing by the user, cookie use preferences will be set to “yes”, the banner removed and the cookies released.  Moreover, banners and blocking codes will not be delivered on subsequent visits by users who have already given their consent (and such preferences will be updated at each subsequent visit).

Further information

For API calls and xmlrpc we suggest the parameter ?iub_no_parse=1:

Passing this parameter on a website will disactivate the iubenda script and therefore avoid all parsing/replacing operations. There’s a “jump the parsing” option on the extension settings page.

Changelog and current version

Changelog

###Changelog

= 1.2.0 =
* revamped admin interface
* improved iubenda script handling
* introduced experimental script blocking method

= 1.1.3 =
* Fixed various bugs related to the new parsing engine introduced in 1.1.0

= 1.1.0 =
* Intro of a new experimental parsing engine
* now detects Google maps automatically

= 1.0 =
* First plugin version.

We’re actively working on publishing the plugin in the Joomla! official repository. All updates on this matter and the plugin in general will be sent via newsletter.

Download the plugin and use it!

Notes We’re happy to receive feedback, the best option at the moment is this forum by Uservoice.
  • The iubenda cookie solution requires at least jQuery 1.4.4 at the moment
  • The plugin requires Joomla! 2.5 or above
  • The plugin works better with versions of PHP 5.3 or later

Still have questions?

Visit our support forum Email us