IUBENDA NOT WORKING
Hi,
we added two new website with essential plan on our dashboard.
the new EMBED code for privacy / cookie controls don't work - all i get in console is this error: Uncaught TypeError: Cannot convert undefined or null to object
<script type="text/javascript" src="https://embeds.iubenda.com/widgets/xxx.js"></script>
I've tested everything - also a plain index.html file with just the script in the head but nothing.
I have to website that needs urgently their cookie policy - and i cannot find a way around this.
Hi,
I actually faced a very similar issue recently when adding a new site with the Essential plan, and the embed script was throwing the same error in the console.
In my case, the problem wasn’t the code itself but the configuration on the Iubenda side. The script was loading, but it returned that error because the service wasn’t fully initialized for the new domain yet.
What worked for me was:
Opening the Iubenda dashboard and re-saving the privacy/cookie configurationRegenerating the embed code again (even if it looks the same)Waiting a bit, because sometimes their scripts don’t propagate instantly
Also, if you’re testing on a plain HTML file, make sure the domain is already verified and linked correctly in Iubenda, otherwise the script may fail silently or return that kind of error.
In my situation, it started working after a short delay without changing anything in the code.
Hope this helps — I know how frustrating it is when it’s urgent.