WebSite X5Help Center

 
Steve B.
Steve B.
User

Insert html to head  en

Auteur : Steve B.
Visité 1578, Followers 1, Partagé 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.

Posté le
7 RéPONSES - 1 UTILES
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

Lire plus
Posté le de 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

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Auteur

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.

Lire plus
Posté le de Steve B.
Axel  
Axel  
User
Meilleur utilisateur du mois FR

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

Lire plus
Posté le de 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.

Lire plus
Posté le de Paul M.
Steve B.
Steve B.
User
Auteur

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. 

Lire plus
Posté le de Steve B.