WebSite X5Help Center

 
Steve B.
Steve B.
User

Insert html to head  en

Autore: Steve B.
Visite 1702, Followers 1, Condiviso 0  
Parole Chiave: html,website x5 pro 2019.3

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.

Postato il
7 RISPOSTE - 1 UTILE
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

Leggi di più
Postato il da 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

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Autore

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.

Leggi di più
Postato il da 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

Leggi di più
Postato il da 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.

Leggi di più
Postato il da Paul M.
Steve B.
Steve B.
User
Autore

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. 

Leggi di più
Postato il da Steve B.