The Big Spring Sale! Up to 50% off!

Script in the head

m4trix.dev
36 Posts
m4trix.dev posted this 16 January 2022
Ask a Question

How can I add a script in the In Nicepage?

How can I add a script in the In Nicepage?
Vote to pay developers attention to this features or issue.
11 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 24 May 2023

Hi,

No, we haven't added the option to add the code right after the opening head tag.

...................................................
Sincerely,
Hella
Nicepage Support Team

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

Hi, No, we haven't added the option to add the code right after the opening head tag. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
socialmedia15
6 Posts
socialmedia15 posted this 23 May 2023

Hello Support,

has there been any progress on this issue? We also need the script to be included in the first position of the head area for our cookie consent tool. Otherwise it is not data protection compliant.

Hello Support, has there been any progress on this issue? We also need the script to be included in the first position of the head area for our cookie consent tool. Otherwise it is not data protection compliant.
Support Team
Support Team posted this 22 February 2022

Hello Matteo,

For now, that's the only possible solution without any custom changes to the built exported website.
We added your proposition to our wishlist.
...................................................
Sincerely,
Negat Veri
Nicepage Support Team

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

Hello Matteo, For now, that's the only possible solution without any custom changes to the built exported website. We added your proposition to our wishlist. ................................................... Sincerely, Negat Veri Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Alan Henness
155 Posts
Alan Henness posted this 22 February 2022

Hella

I have already done that but as I said, that puts the code just before the closing head tag, not just after the opening head tag as CookieYes suggests.

Is there a way to get Nicepage to place the code at the top rather than the bottom of the head tag or can this be added as a feature?

Hella I have already done that but as I said, that puts the code just before the *closing* head tag, not just after the *opening* head tag as CookieYes suggests. Is there a way to get Nicepage to place the code at the top rather than the bottom of the head tag or can this be added as a feature?
Support Team
Support Team posted this 21 February 2022

Hi,

OK, so please use my suggestion above and add the code in the Site Settings >> HTML >> Additional Head HTML and the code will be inserted in the head section of the site.

...................................................
Sincerely,
Hella
Nicepage Support Team

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

Hi, OK, so please use my suggestion above and add the code in the Site Settings >> HTML >> Additional Head HTML and the code will be inserted in the head section of the site. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Alan Henness
155 Posts
Alan Henness posted this 18 February 2022

Ah, sorry, I didn't notice. I've replaced the angle brackets with square ones::

Copy this script and paste it between the [head] and [/head] tags of your website.

We recommend you add it right after the [head] tag before any other scripts to ensure proper blocking of cookies prior to consent.

Step 4. Paste the code between the [head] [/head] tags of your website before any other scripts and click on the Save icon in the upper left corner.

Ah, sorry, I didn't notice. I've replaced the angle brackets with square ones:: > Copy this script and paste it between the [head] and [/head] tags of your website. > > We recommend you add it right after the [head] tag before any other scripts to ensure proper blocking of cookies prior to consent. > Step 4. Paste the code between the [head] [/head] tags of your website before any other scripts and click on the Save icon in the upper left corner.

Last edited 19 February 2022 by Alan Henness

Support Team
Support Team posted this 18 February 2022

Hi,

Please write the tag hame without brackets as it is being processed as the html code and I cannot see it.
Also try my suggestion above, I hope it works fine.

...................................................
Sincerely,
Hella
Nicepage Support Team

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

Hi, Please write the tag hame without brackets as it is being processed as the html code and I cannot see it. Also try my suggestion above, I hope it works fine. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Alan Henness
155 Posts
Alan Henness posted this 18 February 2022

Hella

CookiesYes say:

Copy this script and paste it between the and tags of your website.

We recommend you add it right after the tag before any other scripts to ensure proper blocking of cookies prior to consent.

And in detailed instructions for joomla:

Step 4. Paste the code between the tags of your website before any other scripts and click on the Save icon in the upper left corner.

Hella CookiesYes say: > Copy this script and paste it between the and tags of your website. > > We recommend you add it right after the tag before any other scripts to ensure proper blocking of cookies prior to consent. And in detailed instructions for joomla: > Step 4. Paste the code between the tags of your website before any other scripts and click on the Save icon in the upper left corner.
Support Team
Support Team posted this 18 February 2022

Hi,

I assume that you need it to be added before the closing head tag, in this case simply add the code under the Theme Settings >> HTML << Additional Head HTML. In case you need something different, provide the detailed instruction from the code vendor.

...................................................
Sincerely,
Hella
Nicepage Support Team

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

Hi, I assume that you need it to be added before the closing head tag, in this case simply add the code under the Theme Settings >> HTML << Additional Head HTML. In case you need something different, provide the detailed instruction from the code vendor. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Alan Henness
155 Posts
Alan Henness posted this 17 February 2022

That puts the additional HTML just before the tag. I would like to add a script to control cookies (from ) right at the top, just after the tag: is there any way to do this?

: https://www.cookieyes.com/

That puts the additional HTML just before the tag. I would like to add a script to control cookies (from ) right at the top, just after the tag: is there any way to do this? : https://www.cookieyes.com/
Support Team
Support Team posted this 17 January 2022

Hi, Matteo,

From the title, I see that you want to add a script to the HEAD section. If yes, open Site Settings ==> HTML ==> Additional Head HTML, and wrap your script with the script HTML tag.

Please let us know if you need our further help!
...................................................
Sincerely,
Paul C.
Nicepage Support Team

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

Hi, Matteo, From the title, I see that you want to add a script to the HEAD section. If yes, open *Site Settings ==> HTML ==> Additional Head HTML*, and wrap your script with the *script* HTML tag. Please let us know if you need our further help! ................................................... Sincerely, Paul C. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp

Last edited 17 January 2022 by Support Team

You must log in or register to leave comments