support home

Back to website
Welcome
Login  Sign up

Cache and Optimisation of the Iubenda Script

Hello, I'm writing in here too in order to get an answer, I've been waiting for a ticket response for more than 48 hours, putting it below:

I've been trying to add this optimization that you created (https://www.iubenda.com/en/help/3834-cache-and-optimisation-of-the-iubenda-cookie-solution) to my website but without any luck, I keep having issues.


So what I did:
- copy the PHP – TCF and inline activator
- put in in a Woody Snippet - PHP Script
- changed the cookie policy and siteID with mine
- added the safe.js inline where it says at the bottom


Idk what I'm doing wrong, but the iubenda icon displays an exclamation mark, and my website is live, I can't leave it like that, can you help pls?

  • Double-check that the safe.js script is added in the right location. If the icon shows an exclamation mark, it might indicate a misconfiguration or a problem with cookie consent settings. I recommend reviewing the documentation for any additional steps and troubleshooting or reaching out to Iubenda support for further assistance.

  • Great to hear that


  • Hello,

    Thank you for reaching out. I understand your frustration regarding the delay in ticket response, and I appreciate your patience.


    Based on the steps you provided, it looks like you've followed the instructions correctly. However, the exclamation mark on the Iubenda icon typically indicates a configuration issue. Here are a few suggestions to troubleshoot the problem:

    1. Double-check the Site ID and Cookie Policy: Ensure that the Site ID and cookie policy you’ve entered are correct and match those in your Iubenda account.

    2. Inspect the JavaScript Console: Open your browser's developer tools and check the console for any errors related to Iubenda. This might give you clues about what's going wrong.

    3. Clear Cache: If you’re using a caching plugin, clear your website cache after making changes to ensure that the latest version of your site is loaded.

    4. Test on Different Browsers: Sometimes, browser-specific issues can cause unexpected behavior. Try accessing your website from different browsers or devices to see if the problem persist.!

    Please let me know if you need any more help!

  • Thank you, but it's too late, I switched to Complianz as it's not making my website slower and I can't usually wait for 16 days to get a reply on a ticket. Get better, goodbye.

  • Thank you !!!

  • Hi, are you testing this on a staging environment or directly on the live site? It might help to debug in staging first to avoid live site disruptions.

  • Sometimes even a small typo can cause problems. Also, have you tried clearing your site cache and CDN (if you're using one) after implementing the changes? That might fix the exclamation mark issue.

  • One more thing, are you sure the Woody Snippet plugin is set up to execute PHP properly on your site? Sometimes plugin or server settings can block PHP scripts from running. Also, what theme or page builder are you using? Some themes might conflict with custom scripts like this.    

  • It sounds like you've followed the steps for integrating the iubenda solution, but the exclamation mark could indicate a configuration issue. Double-check that the cookiePolicyId and siteId are correctly set and match the ones provided in your iubenda account.

  • Guys, I stopped using iubenda already. I switched to Complianz, thanks.

Login or Signup to post a comment