Documentation index

How to configure iubenda on a Prestashop website


How do I integrate my iubenda Privacy/Cookie policy and Cookie Solution on my Prestashop website?

One must first distinguish between the integration of the Privacy Policy (which also contains the Cookie Policy), and the integration of the Cookie Solution which includes the management of the banner, the acquiring of consent, the preemptive blocking of cookies etc.

Privacy and cookie policy integration

There are many integrations methods such as the following one suggested by Joseph Smith on our blog. For now, we’ll take a look at the steps needed to complete our suggested configuration of iubenda on Prestashop

First you need to access your online store’s admin panel by clicking on ‘Addons’ (Modules) and subsequently on ‘Addons and services’ from the menu on the left:

Configurare iubenda su Prestashop

From the ‘Addons and services’ page, scroll until you encounter the ‘Block CMS’ add-on and select ‘Configure’

Configurare iubenda su Prestashop

At this point, you will only need to paste the privacy/cookie policy integration code in the ‘Footer content’ section:

Configurare iubenda su Prestashop

You’ll now see that the iubenda Privacy button is present in the footer of all the pages on your Prestashop online store!

Configurare iubenda su Prestashop

iubenda cookie solution integration (banner, granting of consent and blocking of script)

Once you have inserted the link to you Privacy Policy by following the above instructions (which also includes your cookie policy if you have activated it), you must also configure the integration of the iubenda Cookie Solution (which manages the banner visuals, the granting of consent and the preemptive blocking of cookies).

Cookie Law requires the fulfillment of many obligations (these do however not apply to categories of exempt cookies). These obligations are as follows: the setting up of a cookie policy including the possibility for the user to access it, a brief information summary (banner) the first time a user accesses a site, and the blocking of scripts which may install cookies before the user’s consent can be registered. We suggest you read this article for additional information on compliance applied to the different cookie typologies.

Configuration of the iubenda Cookie Solution requires the modification of the HEAD on your own Prestashop site. To this end, you must first – as shown in the image below – access the ‘Themes’ panel by clicking on ‘Preferences’ on the menu to the left:

Configurare iubenda su Prestashop

You then need to click on ‘Export theme’ at the top right:

Configurare iubenda su Prestashop

Now select which theme you wish to modify by clicking on the ‘Save’ button at the bottom right.

Configurare iubenda su Prestashop

On the following page, you must insert certain information such name and email and select which parts of the theme you want to export (it is also possible to export it in its entirety) and then click on the ‘Save button’ at the bottom right to start the download of the ZIP file containing the theme:

Configurare iubenda su Prestashop

Once the theme file downloaded it will need to be unzipped. Look for the header.tpl file and open it with a text editor:

Configurare iubenda su Prestashop

Once opened, you must paste the iubenda provided Cookie Solution Script right after the opening of HEAD tag. The script must be wrapped within the following tags:


{literal}
{/literal}

Take a look at the example below to dispel any doubts:

Configurare iubenda su Prestashop

The file must then be saved and used to subsitute the original file using a client such as FileZilla to do so. The correct position of the header.tpl file is “mywebsite > themes > name of selected theme”.

Configurare iubenda su Prestashop

After completing this task and substituting the header.tpl file you must go back to the admin panel and click on “Advanced parameters” and then on “Service” on the menu to the left:

Configurare iubenda su Prestashop

Please select “Never recompile template files” and opt not to use the cache:

Configurare iubenda su Prestashop

By saving these changes, you’ll note that the Cookie Solution is correctly configured on your site: the cookie banner will now appear at every user’s first visit. All of the options to customise the tile and behaviour of the banner can be found in this guide.

Also remember to set up the preemptive blocking of cookies that require prior consent by chosen of the methods outlined in in this article.

Related articles:


Still have questions?

Visit our support forum Email us