WebSite X5Help Center

 
Steve B.
Steve B.
User

Insert html to head  en

Author: Steve B.
Visited 438, Followers 1, Shared 0  

Hi need to insert some code to head, so that a message appears when website opens. How do I do this. (I have the HTML code just need to know how to paste to head)

Thanks in advance.

Posted on the
7 ANSWERS - 1 USEFUL
Paul M.
Paul M.
Moderator

Hello Steve,

Highlight the page in the sitemap in Step 3 by clicking on it once only to give it focus...  then click the Properties button on the toolbar above.

In the new screen which opens go to the Expert tab.

Your code can be added either just after the opening HEAD tag or just before the closing one, by selecting the appropriate option from the Custom Code dropdown menu.

If the code has to appear on all pages as opposed to just one or two, then you can add it globally in a similar way by going to Step 1 Settings > Advanced > Statistics, SEO and Code > Code tab > Custom Code dropdown menu

Kind regards,

Paul

Search the WebSite X5 Help Center

Read more
Posted on the from Paul M.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(It > En) ... also depends on the structure and type of code: style, html, script, etc.
... possibly put here the code, or the link of the source of the code ...

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Author

Hi Not working. I am trying to insert gdprpop as html code (gdprpop.com) It works fine on preview but not when site is upoaded.

Read more
Posted on the from Steve B.
Axel  
Axel  
User

into native google browser, gdprpop.com does not work sinto https... It could be a reason

By example google blocks any request (in clear or hidden) if not https... since more 1 yr !!!!

Regards

https://wsx5.afsoftware.fr

Read more
Posted on the from Axel  
Paul M.
Paul M.
Moderator

Hello again Steve,

You would need to approach GDPRpop and ask them why their code might not be working.

As the code is third party code and not native to WebSite X5 unfortunately Incomedia will not be able to offer assistance in that regard.

Read more
Posted on the from Paul M.
Steve B.
Steve B.
User
Author

Thanks for replies and I have emailed the company and awaiting reply. It seems strange that it works fine in preview but not visible on the live site. 

Read more
Posted on the from Steve B.