I needed to insert code within the <head> tag, the same code on every page. So I went to website properties, clicked on website tab, clicked on "HTML code (head) and pasted in the code. I published and when I checked the code in the web browser, it shows up within the <body> tag. Same thing happens if I paste it into head tag on the page tab. Am I missing something? I'm using Web Designer Premium 11. Thanks for any help.
15 July 2020, 02:40 AM
Egg Bramhill
Re: Inserting code into Head tag
No you're not missing anything you're doing it correctly. Just to make sure you've not inadvertantly also pasted it into a place holder on the page do a quick search. If you can't sort it paste your web xar file here. Also check the page source and see if if it is in the head section.
15 July 2020, 11:36 AM
gwpriester
Re: Inserting code into Head tag
Long time no visit Vicki :)
15 July 2020, 05:56 PM
horse3farm
Re: Inserting code into Head tag
Hey there Priester. Glad to see you're still here dispensing invaluable information.
15 July 2020, 06:00 PM
horse3farm
Re: Inserting code into Head tag
I checked the page source and it is not in the head section. It's within the body tags. I'll search for a placeholder when back at my own computer, and hope that is the cause. Will let you know. Thanks!
15 July 2020, 06:55 PM
gwpriester
Re: Inserting code into Head tag
Unvaluable information is more like it.
15 July 2020, 09:40 PM
horse3farm
Re: Inserting code into Head tag
No placeholder on the page. How do I paste the xar file here?
15 July 2020, 09:56 PM
horse3farm
Re: Inserting code into Head tag
Egg....I think I got it fixed. Is there anyway to designate the code to be placed "higher" within the tag? It's Google Tag Manager code. They want it at the top of the head and another code at top of body tag. They are both there, but last in the tags. Thanks.
15 July 2020, 10:03 PM
Egg Bramhill
Re: Inserting code into Head tag
In no way the clearest instruction but I hope this helps: (I must redo this!)