Iubenda Cookie banner

milodia2
5 Posts
milodia2 posted this 18 April 2025
Ask a Question

I need to add this script in home page source after tag :

but it don't works. Do I need to place it somewhere else? Can you help me?
Thanks

Vote to pay developers attention to this features or issue.
8 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 18 April 2025

Hello Corrado,

Thank you for reaching out.

Could you please clarify which script you are referring to? Please paste the entire script into a .txt file and attach it to this ticket so we can review it in detail. Additionally, please let us know what the expected outcome of the script is, and if there is any official documentation that supports it.

You mentioned needing to insert the script after the body tag on the homepage. If it's not functioning as expected, we’ll be happy to advise on the correct placement once we review the code.

Looking forward to your response.
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Gabriele Viola - Web designer, consulente e formatore
249 Posts
Gabriele Viola - Web designer, consulente e formatore posted this 18 April 2025

I need to add this script in home page source after tag :

but it don't works. Do I need to place it somewhere else? Can you help me?
Thanks

Hi, I use iubenda too, just add an html element and paste the code where needed. If you use WordPress use their plugin for the cookie banner :)

milodia2
5 Posts
milodia2 posted this 19 April 2025

Hi Ahmad,

I attach a txt file with code. I tried with HTML link but without success.
Thanks

Gabriele Viola - Web designer, consulente e formatore
249 Posts
Gabriele Viola - Web designer, consulente e formatore posted this 19 April 2025

Hi Ahmad,

I attach a txt file with code. I tried with HTML link but without success.
Thanks

try to add with just an html element and see if works... If you use wordpress could be many things (plugin etc, iubenda plugin has many button to activatet or not) I see you are ignoring me lol but trust me you should ask to iubenda assistance in situations like this :)

Support Team
Support Team posted this 21 April 2025

Hello Corrado,

Thanks for providing the code in txt file.

Open the Site Settings >> HTML >> Additional Head HTML and paste the following code in the text box >> Done >> Publish

<script type="text/javascript">
var _iub = _iub || [];
_iub.csConfiguration = {"siteId":3955315,"cookiePolicyId":52523669,"lang":"it","storage":{"useSiteId":true}};
</script>
<script type="text/javascript" src="https://cs.iubenda.com/autoblocking/3955315.js"></script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/iubenda_cs.js" charset="UTF-8" async></script>

...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

milodia2
5 Posts
milodia2 posted this 22 April 2025

Done and now it works.
Thank you very much Ahmad and Gabriele too

Support Team
Support Team posted this 22 April 2025

Dear Corrado,

Thanks for the information

We are glad that it works.

Please let us know if any assistance required.
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Gabriele Viola - Web designer, consulente e formatore
249 Posts
Gabriele Viola - Web designer, consulente e formatore posted this 23 April 2025

Done and now it works.
Thank you very much Ahmad and Gabriele too

You're welcome :)

You must log in or register to leave comments