Access your Admin panel (http://example.com/admin123/) and log in
Go to your Extensions menu that is on the top of the screen in the Admin panel and click on Manage > Install
Drag and drop file zipped iubenda plugin file or click Browse for file and select the iubenda file from your computer.
Click on Extensions > Manage > Manage;
Search “iubenda” and enable the plugin.
How to add the cookie banner and modify settings
Click on the item Extensions > Plugins;
Search “iubenda” and click on the plugin name (your can see what the interface looks like below):
Copy your Cookie Solution code from the Cookie Solution embed section of your iubenda account (If you haven’t already generated your Cookie Solution code within your iubenda account, you can read more about how to do that here: introduction to the iubenda Cookie Solution)
Click on Settings, paste that code into the plugin form and save: (Being PHP native, we recommend the primary, faster option for the parsing engine. If you’re experiencing some issues, try with the alternative based on a custom HTML DOM class)
These scripts can be blocked by entering the source into the Custom Script boxes in the plugin console or by using the manual wrapping method illustrated in the example below and (in more detail) in this help post
Blocking custom scripts from within the console
The Custom Scripts field makes it easy for you to block scripts inserted into the page directly from within the plugin console. This greatly reduces the need for direct edits to the site’s code.
Here’s how to do it:
In your admin panel, go to Extensions > Plugins.
Next, search “iubenda”, click on the plugin name then the Settings tab at the top.
Scroll down to find the Custom scripts and Custom iframes fields at the bottom of the page.
Enter your script or iframe sources as needed, and click the Save & Close button at the top of the page.
Using these fields are pretty straightforward. Simply enter the script or iframe src attribute you’d like to block.
Let’s say you wanted to block scripts inserted into the page via the following iframe
What you’ll need to enter into the iframe field would be videowebsite.com/embed/ as this is the actual source of the scripts. Be careful NOT to enter the component id (videowebsite.com/embed/xxFhMChxx) to ensure that all scripts coming from the actual source are blocked.
Manual Use (wrapping method)
This method requires you to directly modify your site’s code. You’ll need to go into the relevant section of your site’s code and add the scripts to be blocked as explained below.