Documentation index

Integration & embedding options ›

How to use iubenda on a WordPress website


This is a guide for integrating iubenda with WordPress.

Caveat: WordPress.com does not allow for the inclusion of Javascript. Therefore if you use WordPress.com, please use the direct link option.

What you need

In order to follow this guide, you need:

  • A WordPress blog or a website powered by WordPress, with access to the Admin panel (usually something like www.yourwebsite.com/wp-admin or www.yourwebsite.com/blog/wp-admin )
  • The embedding code of the privacy policy you want to integrate, that you can find while generating or editing your privacy policy. The embedding code looks like this:
    <a class="iubenda-white iubenda-embed" title="Privacy Policy" href="https://www.iubenda.com/privacy-policy/775731">Privacy Policy</a><br /> [removed]// &lt;![CDATA[ (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[removed].insertBefore(s,tag);}; w.addEventListener ? w.addEventListener("load", loader, false) : w.attachEvent("onload", loader);})(window, document); // ]]>

How to integrate the privacy policy

To begin, access the admin panel of your WordPress website or blog by typing an address similar to the following: www.yourwebsite.com/wp-admin or www.yourwebsite.com/blog/wp-admin .

On your admin panel, access the Widgets section, available from here:

The widget section will look like this:

Depending on your chosen theme, you will encounter different sections on the right of the screen, referring to the Sidebar or to the Footer. Each of the boxes on the right allows you to insert content in the respective sections of your WordPress website. You must therefore choose which of these sections you want to place the privacy policy link into. The most common choice is the Footer, although placing it in the Sidebar is also a possibility. In any case, you can modify this preference at any time.

After selecting the section, you must drag the Text box from the left to the section on the right, as shown in the screenshot below:

The widget will then open this way:

The iubenda embedding code must be pasted here as follows:

Hit save.

On your website you should now see something like this:

If you see the privacy policy link, everything is functioning properly.

Video summary of the integration process

 


Still have questions?

Visit our support forum Email us