Insert html to head
Author: Steve B.
Visited 1701,
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
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
(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
.
Hello,
and
Enjoy !
https://wsx5.afsoftware.fr
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.
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
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.
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.