Iubenda logo
Start generating

Documentation

Table of Contents

Custom Projects – iubenda Integration Guide

Privacy Policy and Terms and Conditions

When you opt for our Custom Assistance Service, our legal team will work with you to draft customised legal documents for your project. Once ready, they will be emailed directly to you and available through a link.

You can choose from two integration options:

  • you can copy/paste the text contained in the link you receive directly onto your site/app;
  • you can use an integration code, which will need to be inserted in the BODY of the pages on your site that host the documents.

Using the second option has the advantage of allowing us to remotely update your documents – even once the consultancy has ended. Moreover, preserving the connection with iubenda’s online service will allow you as well to update your documents autonomously. Instructions on integrating the code are as follows.

Direct text embedding through code insertion

To integrate the documents while remaining connected to iubenda’s online service, simply paste the following codes into the BODY of the page that hosts the document. Substitute the “ID” field in the example code below, with the document’s identification number provided in the link sent to you by our legal team.

Please note that the Privacy Policy and Terms and Conditions must be linked in all your site/app’s pages with for example a link in the footer.

Privacy Policy

You must integrate the following code in the BODY in your site/app’s Privacy Policy page and personalise the “ID” field:

<a href="https://www.iubenda.com/privacy-policy/ID" class="iubenda-nostyle no-brand iub-body-embed iubenda-embed" title="Privacy Policy">Privacy Policy</a><script type="text/javascript">(function (w,d) {var loader = function () {var s = d.createElement("script"), tag = d.getElementsByTagName("script")[0]; s.src = "https://cdn.iubenda.com/iubenda.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>

For further information on how to integrate the Privacy/Cookie Policy into your site/app as well as for information on iubenda’s API, please consult the direct text embedding and API guide.

Terms and Conditions

Insert the following code in the BODY in the Terms and Conditions page of your site or app and personalise the “ID” field:

<a href="https://www.iubenda.com/terms-and-conditions/ID" class="iubenda-nostyle no-brand iub-body-embed iubenda-embed" title="Terms & Conditions">Terms & Conditions</a><script type="text/javascript">(function (w,d) {var loader = function () {var s = d.createElement("script"), tag = d.getElementsByTagName("script")[0]; s.src = "https://cdn.iubenda.com/iubenda.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>

Below are examples of the direct embedding of the document’s text with code

Example – Privacy Policy

Privacy Policy

Example – Terms and Conditions

Terms & Conditions

Direct text embedding and API

For further information on direct text embedding, please see this article. The article also explains how to integrate the document to your site/app via API.

Cookie Law compliance

Our legal team will also sent you a link to your Cookie Policy. Follow the instructions below to make you website compliant with the cookie laws and regulations.

Setting up the iubenda Cookie Solution

For an introduction to iubenda’s Cookie Solution, please see the following article: https://www.iubenda.com/en/help/posts/1177.

Getting started

Set up a page to host the Cookie Policy which does not install any cookies except for technical cookies. To simplify matters, you can use the pre-configured iubenda hosted page – available through the link our legal team sends you.

Please note: it is not strictly necessary to have the Cookie Policy linked in all your site’s pages since it is already available through your Privacy Policy configured as per the instructions above.

Banner setup

You need to insert the following code into all of your site’s pages, preferably inside the HEAD tag:

<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>

The precise code is sent to you by the legal team together with the link to your Cookie Policy.

Please note: the above code allows you to configure the Cookie Solution in its Safemode version. For further information on Safemode and other available versions, please consult our Cookie Solution release channels guide.

By adding the cookiePolicyUrl parameter, you can link the Cookie Policy inside the banner to your own Cookie Policy. See this guide for further details on how to configure the cookiePolicyUrl. If you choose not to add the cookiePolicyUrl parameter, the Cookie Policy hosted on iubenda will automatically be loaded. As such, as for the Privacy Policy and Terms and Conditions, you will benefit from iubenda’s remote updates.

For further information on how to modify the behaviour of and personalise the banner please see https://www.iubenda.com/en/help/posts/1205.

Setting up your site for cookie blocking

All the information you need on script blocking is available here: https://www.iubenda.com/en/help/posts/1229.

Additional resources on preparing you site for the blocking of script:

If you choose to anonymise Google Analytics, don’t forget to advise the iubenda team so that we may prepare your legal documents accordingly.

Additional information

If your site is multilingual, see how to manage the iubenda Cookie Solution in more than one language.

Please contact us if you require any assistance or would like additional information.