support home

Back to website
Welcome
Login  Sign up
Solved

Cookie banner not displaying in Wordpress (using iubenda's plugin for it)

 Hello,

We've used iubenda to configure our privacy policy and that is working fine (it is embedded on our site), but I cannot get the cookie banner to work at all. I've already:

  1. configured everything for the cookie banner on the iubenda side,
  2. installed the iubenda wordpress plugin
  3. copied the cookie banner code from our iubenda account and pasted it into the wordpress plugin box for it
We're running Wordpress 5.51, PHP 7.4.10, and all plugins are up-to-date.
I have tried resetting things, repasting the code — absolutely nothing works.
This is not a cache issue — I have deleted cookies and cache multiple times.

I would greatly, greatly appreciate it if someone could help with this!
Thanks!

1 person has this problem
  •  I am having the exact same issue. I am using the plugin on a fresh install of 5.51 and newly updated PHP 7.4.10. To allow the plugin to save the code snippet, I had to disable mod_security in my hosting admin panel. I saved the code in the plugin and the pop-up seemed to work. I enabled mod_security again as well as changing some aesthetics of the pop-up on the iubenda dashboard and now it does not work. I'm thinking there is conflict with the mod_security module, but I don't think disabling it is the right answer. Thanks in advance for a solution.

  • Hello,


    Thank you for contacting us.


    We checked the code inside your website and we noticed you activated the automatic country detection feature of the Cookie Solution; that feature prevents the banner from being displayed outside the European Union. As such, if you then visit your site from a place outside the EU, you won’t see the banner. In order to change this behaviour, you should edit the parameter “countryDetection”:true inside your cookie solution script and put it to false. In that way the banner will be always displayed.


    Hope this helps,


    Kind Regards

    Jacopo 

    iubenda

Login or Signup to post a comment